1 Preliminary status and build information for FIPS module v2.0
3 To build the module do:
5 ./config fipscanisterbuild
8 Build should complete without errors.
14 again should complete without errors.
18 1. Download an appropriate set of testvectors from www.openssl.org/docs/fips
19 those for 2007 are OK.
21 2. Extract the files to a suitable directory.
23 3. Run the test vector perl script, for example:
26 perl fipsalgtest.pl --dir=/wherever/stuff/was/extracted
28 4. It should say "passed all tests" at the end. Report full details of any
35 to remove any object modules from previous compile.
37 Run symbol hiding test:
39 ./config fipscanisteronly -DOPENSSL_FIPSSYMS
42 This time only the fips utilities should be built.
44 Examine the external symbols in fips/fipscanister.o they should all begin
45 with FIPS or fips. One way to check with GNU nm is:
47 nm -g --defined-only fips/fipscanister.o | grep -v -i fips
49 Restricted tarball tests.
51 The validated module will have its own tarball containing sufficient code to
52 build fipscanister.o and the associated algorithm tests. You can create a
53 similar tarball yourself for testing purposes using the commands below.
55 Standard restricted tarball:
57 make -f Makefile.fips dist
59 Prime field field only ECC tarball:
61 make NOEC2M=1 -f Makefile.fips dist
63 Once you've created the tarball extract into a fresh directory and do:
68 You can then run the algorithm tests as above. This build automatically uses
69 fipscanisteronly and -DOPENSSL_FIPSYMS and no-ec2m as appropriate.
73 Algorithm tests are pre-2011.
74 The fipslagtest.pl script wont auto run new algorithm tests such as DSA2.
75 Usage of ECDH/DH needs review and whether any KDFs need to be implemented.
76 Selftests need updating with larger key sizes in some cases and redundant
78 SP800-90 DRBG needs more work: check for compliance, continuous PRNG test
79 when entropy gathering, periodic health tests.
80 Some algorithms need to check security strength of PRNG: keygen etc.
83 The "FIPS capable OpenSSL" is not yet complete: meaning that the rest of
84 OpenSSL doesn't always use the correct FIPS module APIs and block others