]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/fips_names.h
Add 'fips-securitychecks' option and plumb this into the actual fips checks
[thirdparty/openssl.git] / include / openssl / fips_names.h
CommitLineData
25e60144 1/*
00c405b3 2 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
25e60144
SL
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
ae4186b0
DMSP
10#ifndef OPENSSL_FIPS_NAMES_H
11# define OPENSSL_FIPS_NAMES_H
25e60144
SL
12
13# ifdef __cplusplus
14extern "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 */
fb420afc 25# define OSSL_PROV_FIPS_PARAM_MODULE_MAC "module-mac"
25e60144
SL
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 */
fb420afc 35# define OSSL_PROV_FIPS_PARAM_INSTALL_MAC "install-mac"
25e60144
SL
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
35e6ea3b
SL
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
25e60144
SL
49# ifdef __cplusplus
50}
51# endif
52
ae4186b0 53#endif /* OPENSSL_FIPS_NAMES_H */