fips_names.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License 2.0 (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. #ifndef OPENSSL_FIPS_NAMES_H
  10. # define OPENSSL_FIPS_NAMES_H
  11. # ifdef __cplusplus
  12. extern "C" {
  13. # endif
  14. /*
  15. * Parameter names that the FIPS Provider defines
  16. */
  17. /*
  18. * The calculated MAC of the module file (Used for FIPS Self Testing)
  19. * Type: OSSL_PARAM_UTF8_STRING
  20. */
  21. # define OSSL_PROV_FIPS_PARAM_MODULE_MAC "module-mac"
  22. /*
  23. * A version number for the fips install process (Used for FIPS Self Testing)
  24. * Type: OSSL_PARAM_UTF8_STRING
  25. */
  26. # define OSSL_PROV_FIPS_PARAM_INSTALL_VERSION "install-version"
  27. /*
  28. * The calculated MAC of the install status indicator (Used for FIPS Self Testing)
  29. * Type: OSSL_PARAM_UTF8_STRING
  30. */
  31. # define OSSL_PROV_FIPS_PARAM_INSTALL_MAC "install-mac"
  32. /*
  33. * The install status indicator (Used for FIPS Self Testing)
  34. * Type: OSSL_PARAM_UTF8_STRING
  35. */
  36. # define OSSL_PROV_FIPS_PARAM_INSTALL_STATUS "install-status"
  37. /*
  38. * A boolean that determines if the FIPS conditional test errors result in
  39. * the module entering an error state.
  40. * Type: OSSL_PARAM_UTF8_STRING
  41. */
  42. # define OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS "conditional-errors"
  43. # ifdef __cplusplus
  44. }
  45. # endif
  46. #endif /* OPENSSL_FIPS_NAMES_H */