Go to the source code of this file.
◆ fips_deinit()
◆ fips_init()
◆ get_fips_mode()
Get fips mode from openssl library,.
- Returns
- openssl current fips mode
◆ set_fips_mode()
bool set_fips_mode |
( |
const int |
fips_mode, |
|
|
char |
err_string[OPENSSL_ERROR_LENGTH] |
|
) |
| |
Turns FIPs mode on or off.
- Parameters
-
[in] | fips_mode | 0 for fips mode off, non-zero for fips mode ON |
[out] | err_string | If fips mode set fails, err_string will have detail failure reason. |
- Returns
- openssl set fips mode errors
- Return values
-
true | for error |
false | for success |
◆ test_ssl_fips_mode()
int test_ssl_fips_mode |
( |
char |
err_string[OPENSSL_ERROR_LENGTH] | ) |
|
Toggle FIPS mode, to see whether it is available with the current SSL library.
- Return values
-
0 | FIPS is not supported. |
non-zero | FIPS is supported. |
◆ OPENSSL_ERROR_LENGTH
constexpr int OPENSSL_ERROR_LENGTH {512} |
|
constexpr |