Difference between revisions of "FIPS module 3.0"

From OpenSSLWiki
Jump to navigationJump to search
(Initial draft)
 
(remove historical information that is out of date)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The 3.0 FIPS module will be conceptually similar to the preceeding line of ''OpenSSL FIPS Object Module'' cryptographic modules. An extensive reworking of the internals is planned, to address some issues stemming from the historical origins and subsequent ad hoc evolution of previous modules.
+
The 3.0 FIPS module will be conceptually different to the preceeding line of ''OpenSSL FIPS Object Module'' cryptographic modules.  
 +
An extensive reworking of the internals is planned, to address some issues stemming from the historical origins and subsequent ad-hoc evolution of previous modules.
  
An initial rough draft of requirements and goals:
+
Refer to the [https://www.openssl.org/blog/blog/2018/09/25/fips/ OpenSSL FIPS 140-2 blog].
  
1) Keep it minimal and avoid any OpenSSL dependencies at all: i.e. make it fully usable as a stand alone crypto module (the 2.0 module is awkwardly usable without OpenSSL but its OpenSSL heritage shows).
+
== Note ==
  
2) Support compilation in various forms including as standalone ENGINE which is simply loaded into "normal" OpenSSL which then simply does all the FIPS weirdness automatically. Ideally a "FIPS capable" OpenSSL will no longer be required at all.
+
These notes are subject to change going forward.
  
3) Overhaul the algorithm testing code to be much cleaner and modular than the hacky stuff we've lived with so far. Allow handling of huge test vector data files by "piping" data instead of having to store the full files on the target device (which can be problematic for embedded environments).
+
What we won't do:
  
4) Built in entropy sources so OpenSSL or the parent application/library aren't required to supply entropy.
+
1. Any "light" or other versions of the FIPS module (i.e fewer algorithm implementations).  
  
5) A standalone minimal FIPS module tarball that contains only the code needed to build the contents of the crypto module (only what is inside the "cryptographic module boundary", in FIPS-speak). Omit the test suite software and much of the build-time software (strong precedent says that "incore" and "fipsld" can be omitted, for instance).
+
2. Matching set of platforms. The initial validation will only include a very minimal platform set.  
  
6) Ability to build out of the source tree.
+
3. Any substantial additions or changes to the module once the initial development is substantially complete.
 
 
7) FIPS 186-4 KeyGen.
 
 
 
8) SP 800-56A compliance (Self-tests per I.G. 9.6).
 
:: Diffie-Hellman full compliance with NIST SP 800-56A including CAVP algorithm testing.
 
:: Diffie-Hellman Known Answer Tests (KATs) that include shared secret KAT and KDF KAT.
 
 
 
9) SP 800-56B vendor affirmation (I.G. D.4).
 
 
 
10) SHA-3 and SHAKE.
 
 
 
11) Automatic execution of power-on self-tests (I.G. 9.5/9.10).
 
 
 
12) Any allowed efficiencies in power-on self-tests.
 
 
 
13) Alternate FIPS Approved modes of operation (turn self-tests and algorithms “off”).
 
 
 
14) Explore possibility of validating "stitched" algorithm implementations.
 
 
 
15) Consider any newly FIPS approved algorithms (e.g. new EC curves, Chacha/Poly)
 
 
 
Stakeholder requests:
 
 
 
a. RSA key wrapping as part of NIST SP 800-56B (also called KTS validation testing), if CAVS testing is available.
 
 
 
b. AES-GMAC compliance (I.G. A.5).
 
 
 
c. AES Key Wrap Compliance to NIST SP 800-38F.
 
 
 
d. PBKDF2 Suppport.
 
 
 
e.      Format Preserving Encrypion Support (NIST SP 800-38G)
 
 
 
f. Addition of EC curve 25519
 
 
 
g.      Improved entropy to meet NIST SP 800-90B.
 
 
 
h. Symmetric key wrap conformant to SP 800-38F
 
 
 
i. SP 800-135 KDFs
 
 
 
j. SP 800-108 KDFs
 
 
 
l. Addition of AES XPN
 
 
 
m. XTS-AES compliance to I.G. A.9
 

Latest revision as of 02:12, 1 October 2018

The 3.0 FIPS module will be conceptually different to the preceeding line of OpenSSL FIPS Object Module cryptographic modules. An extensive reworking of the internals is planned, to address some issues stemming from the historical origins and subsequent ad-hoc evolution of previous modules.

Refer to the OpenSSL FIPS 140-2 blog.

Note[edit]

These notes are subject to change going forward.

What we won't do:

1. Any "light" or other versions of the FIPS module (i.e fewer algorithm implementations).

2. Matching set of platforms. The initial validation will only include a very minimal platform set.

3. Any substantial additions or changes to the module once the initial development is substantially complete.