Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/openssl/fips_names.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved.
0003  *
0004  * Licensed under the Apache License 2.0 (the "License").  You may not use
0005  * this file except in compliance with the License.  You can obtain a copy
0006  * in the file LICENSE in the source distribution or at
0007  * https://www.openssl.org/source/license.html
0008  */
0009 
0010 #ifndef OPENSSL_FIPS_NAMES_H
0011 #define OPENSSL_FIPS_NAMES_H
0012 #pragma once
0013 
0014 #ifdef __cplusplus
0015 extern "C" {
0016 #endif
0017 
0018 /*
0019  * Parameter names that the FIPS Provider defines
0020  * All parameters are of type: OSSL_PARAM_UTF8_STRING
0021  */
0022 
0023 /* The following 4 Parameters are used for FIPS Self Testing */
0024 
0025 /* The calculated MAC of the module file */
0026 #define OSSL_PROV_FIPS_PARAM_MODULE_MAC "module-mac"
0027 /* The Version number for the fips install process */
0028 #define OSSL_PROV_FIPS_PARAM_INSTALL_VERSION "install-version"
0029 /* The calculated MAC of the install status indicator */
0030 #define OSSL_PROV_FIPS_PARAM_INSTALL_MAC "install-mac"
0031 /* The install status indicator */
0032 #define OSSL_PROV_FIPS_PARAM_INSTALL_STATUS "install-status"
0033 
0034 /*
0035  * A boolean that determines if the FIPS conditional test errors result in
0036  * the module entering an error state.
0037  * Type: OSSL_PARAM_UTF8_STRING
0038  */
0039 #define OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS "conditional-errors"
0040 
0041 /* The following are provided for backwards compatibility */
0042 #define OSSL_PROV_FIPS_PARAM_SECURITY_CHECKS OSSL_PROV_PARAM_SECURITY_CHECKS
0043 #define OSSL_PROV_FIPS_PARAM_TLS1_PRF_EMS_CHECK OSSL_PROV_PARAM_TLS1_PRF_EMS_CHECK
0044 #define OSSL_PROV_FIPS_PARAM_DRBG_TRUNC_DIGEST OSSL_PROV_PARAM_DRBG_TRUNC_DIGEST
0045 
0046 #ifdef __cplusplus
0047 }
0048 #endif
0049 
0050 #endif /* OPENSSL_FIPS_NAMES_H */