![]() |
MySQL 8.0.43
Source Code Documentation
|
Functions | |
| int | get_fips_mode () |
| Get fips mode from openssl library,. More... | |
| static int | set_fips_mode_inner (int fips_mode) |
| Sets fips mode. More... | |
| bool | set_fips_mode (const int fips_mode, char err_string[OPENSSL_ERROR_LENGTH]) |
| Turns FIPs mode on or off. More... | |
| 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. More... | |
| void | fips_deinit () |
| void | fips_init () |
| void fips_deinit | ( | ) |
| void fips_init | ( | ) |
| int get_fips_mode | ( | ) |
Get fips mode from openssl library,.
| bool set_fips_mode | ( | const int | fips_mode, |
| char | err_string[OPENSSL_ERROR_LENGTH] | ||
| ) |
Turns FIPs mode on or off.
| [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. |
| true | for error |
| false | for success |
|
static |
Sets fips mode.
On error the error is in the openssl error stack
| 0 | failure |
| non-0 | success |
| 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.
| 0 | FIPS is not supported. |
| non-zero | FIPS is supported. |