5 fips_config - OpenSSL FIPS configuration
9 A separate configuration file, using the OpenSSL L<config(5)> syntax,
10 is used to hold information about the FIPS module. This includes a digest
11 of the shared library file, and status about the self-testing.
12 This data is used automatically by the module itself for two
17 =item - Run the startup FIPS self-test known answer tests (KATS).
19 This is done once, at installation time.
21 =item - Verify the module's checksum.
23 This is done each time the module is used.
27 This file is generated by the L<openssl-fipsinstall(1)> program, and
28 used internally by the FIPS module during its initialization.
30 The following options are supported. They should all appear in a section
31 whose name is identified by the B<fips> option in the B<providers>
32 section, as described in L<config(5)/Provider Configuration Module>.
38 If present, the module is activated. The value assigned to this name is not
41 =item B<install-version>
43 A version number for the fips install process. Should be 1.
45 =item B<conditional-errors>
47 The FIPS module normally enters an internal error mode if any self test fails.
48 Once this error mode is active, no services or cryptographic algorithms are
49 accessible from this point on.
50 Continuous tests are a subset of the self tests (e.g., a key pair test during key
51 generation, or the CRNG output test).
52 Setting this value to C<0> allows the error mode to not be triggered if any
53 continuous test fails. The default value of C<1> will trigger the error mode.
54 Regardless of the value, the operation (e.g., key generation) that called the
55 continuous test will return an error code if its continuous test fails. The
56 operation may then be retried if the error mode has not been triggered.
58 =item B<security-checks>
60 This indicates if run-time checks related to enforcement of security parameters
61 such as minimum security strength of keys and approved curve names are used.
62 A value of '1' will perform the checks, otherwise if the value is '0' the checks
63 are not performed and FIPS compliance must be done by procedures documented in
64 the relevant Security Policy.
68 The calculated MAC of the FIPS provider file.
70 =item B<install-status>
72 An indicator that the self-tests were successfully run.
73 This should only be written after the module has
74 successfully passed its self tests during installation.
75 If this field is not present, then the self tests will run when the module
80 A MAC of the value of the B<install-status> option, to prevent accidental
81 changes to that value.
82 It is written-to at the same time as B<install-status> is updated.
91 conditional-errors = 1
93 module-mac = 41:D0:FA:C2:5D:41:75:CD:7D:C3:90:55:6F:A4:DC
94 install-mac = FE:10:13:5A:D3:B4:C7:82:1B:1E:17:4C:AC:84:0C
95 install-status = INSTALL_SELF_TEST_KATS_RUN
100 L<openssl-fipsinstall(1)>
104 Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
106 Licensed under the Apache License 2.0 (the "License"). You may not use
107 this file except in compliance with the License. You can obtain a copy
108 in the file LICENSE in the source distribution or at
109 L<https://www.openssl.org/source/license.html>.