You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

fips_names.h 1.7 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Copyright 2019-2021 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. #pragma once
  12. #ifdef __cplusplus
  13. extern "C"
  14. {
  15. #endif
  16. /*
  17. * Parameter names that the FIPS Provider defines
  18. */
  19. /*
  20. * The calculated MAC of the module file (Used for FIPS Self Testing)
  21. * Type: OSSL_PARAM_UTF8_STRING
  22. */
  23. #define OSSL_PROV_FIPS_PARAM_MODULE_MAC "module-mac"
  24. /*
  25. * A version number for the fips install process (Used for FIPS Self Testing)
  26. * Type: OSSL_PARAM_UTF8_STRING
  27. */
  28. #define OSSL_PROV_FIPS_PARAM_INSTALL_VERSION "install-version"
  29. /*
  30. * The calculated MAC of the install status indicator (Used for FIPS Self Testing)
  31. * Type: OSSL_PARAM_UTF8_STRING
  32. */
  33. #define OSSL_PROV_FIPS_PARAM_INSTALL_MAC "install-mac"
  34. /*
  35. * The install status indicator (Used for FIPS Self Testing)
  36. * Type: OSSL_PARAM_UTF8_STRING
  37. */
  38. #define OSSL_PROV_FIPS_PARAM_INSTALL_STATUS "install-status"
  39. /*
  40. * A boolean that determines if the FIPS conditional test errors result in
  41. * the module entering an error state.
  42. * Type: OSSL_PARAM_UTF8_STRING
  43. */
  44. #define OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS "conditional-errors"
  45. /*
  46. * A boolean that determines if the runtime FIPS security checks are performed.
  47. * Type: OSSL_PARAM_UTF8_STRING
  48. */
  49. #define OSSL_PROV_FIPS_PARAM_SECURITY_CHECKS "security-checks"
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif /* OPENSSL_FIPS_NAMES_H */