fips_config.pod 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. =pod
  2. =head1 NAME
  3. fips_config - OpenSSL FIPS configuration
  4. =head1 DESCRIPTION
  5. A separate configuration file, using the OpenSSL L<config(5)> syntax,
  6. is used to hold information about the FIPS module. This includes a digest
  7. of the shared library file, and status about the self-testing.
  8. This data is used automatically by the module itself for two
  9. purposes:
  10. =over 4
  11. =item - Run the startup FIPS self-test known answer tests (KATS).
  12. This is done once, at installation time.
  13. =item - Verify the module's checksum.
  14. This is done each time the module is used.
  15. =back
  16. This file is generated by the L<openssl-fipsinstall(1)> program, and
  17. used internally by the FIPS module during its initialization.
  18. The following options are supported. They should all appear in a section
  19. whose name is identified by the B<fips> option in the B<providers>
  20. section, as described in L<config(5)/Provider Configuration Module>.
  21. =over 4
  22. =item B<module-mac>
  23. The calculated MAC of the FIPS provider file.
  24. =item B<install-version>
  25. A version number for the fips install process. Should be 1.
  26. =item B<install-status>
  27. An indicator that the self-tests were run.
  28. This should only be written after the module has
  29. successfully passed its self tests during installation.
  30. If this field is not present, then the self tests will run when the module
  31. loads.
  32. =item B<install-mac>
  33. A MAC of the value of the B<install-status> option, to prevent accidental
  34. changes to that value.
  35. It is written-to at the same time as B<install-status> is updated.
  36. =back
  37. For example:
  38. [fips_install]
  39. install-version = 1
  40. module-mac = 41:D0:FA:C2:5D:41:75:CD:7D:C3:90:55:6F:A4:DC
  41. install-mac = FE:10:13:5A:D3:B4:C7:82:1B:1E:17:4C:AC:84:0C
  42. install-status = INSTALL_SELF_TEST_KATS_RUN
  43. =head1 SEE ALSO
  44. L<config(5)>
  45. =head1 COPYRIGHT
  46. Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
  47. Licensed under the Apache License 2.0 (the "License"). You may not use
  48. this file except in compliance with the License. You can obtain a copy
  49. in the file LICENSE in the source distribution or at
  50. L<https://www.openssl.org/source/license.html>.
  51. =cut