API to check if fips module is successfully loaded #21836
-
EVP_default_properties_is_fips_enabled return true if fips is set as default property . I am looking for API which will returns the status of fips module loading. Please suggest. |
Beta Was this translation helpful? Give feedback.
Answered by
mattcaswell
Aug 25, 2023
Replies: 1 comment
-
You can use https://www.openssl.org/docs/man3.1/man3/OSSL_PROVIDER_available.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aniljadaun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
OSSL_PROVIDER_available
for this purpose, i.e.if (OSSL_PROVIDER_available(libctx, "fips")) ...
https://www.openssl.org/docs/man3.1/man3/OSSL_PROVIDER_available.html