ERR: Rebuild all generated error headers and source files
[openssl.git] / include / openssl / fips_names.h
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
10 #ifndef OPENSSL_FIPS_NAMES_H
11 # define OPENSSL_FIPS_NAMES_H
12
13 # ifdef __cplusplus
14 extern "C" {
15 # endif
16
17 /*
18  * Parameter names that the FIPS Provider defines
19  */
20
21 /*
22  * The calculated MAC of the module file (Used for FIPS Self Testing)
23  * Type: OSSL_PARAM_UTF8_STRING
24  */
25 # define OSSL_PROV_FIPS_PARAM_MODULE_MAC      "module-mac"
26 /*
27  * A version number for the fips install process (Used for FIPS Self Testing)
28  * Type: OSSL_PARAM_UTF8_STRING
29  */
30 # define OSSL_PROV_FIPS_PARAM_INSTALL_VERSION "install-version"
31 /*
32  * The calculated MAC of the install status indicator (Used for FIPS Self Testing)
33  * Type: OSSL_PARAM_UTF8_STRING
34  */
35 # define OSSL_PROV_FIPS_PARAM_INSTALL_MAC     "install-mac"
36 /*
37  * The install status indicator (Used for FIPS Self Testing)
38  * Type: OSSL_PARAM_UTF8_STRING
39  */
40 # define OSSL_PROV_FIPS_PARAM_INSTALL_STATUS  "install-status"
41
42 /*
43  * A boolean that determines if the FIPS conditional test errors result in
44  * the module entering an error state.
45  * Type: OSSL_PARAM_UTF8_STRING
46  */
47 # define OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS "conditional-errors"
48
49 /*
50  * A boolean that determines if the runtime FIPS security checks are performed.
51  * Type: OSSL_PARAM_UTF8_STRING
52  */
53 # define OSSL_PROV_FIPS_PARAM_SECURITY_CHECKS "security-checks"
54
55 # ifdef __cplusplus
56 }
57 # endif
58
59 #endif /* OPENSSL_FIPS_NAMES_H */