Using EVP api in fips mode (openssl3.0)

Manish Patidar mann.patidar at
Tue Jan 14 04:51:26 UTC 2020


Can any guide me how to use fips api in openssl?

I try to use like below but it always returns null.

ctx = EVP_CIPHER_CTX_new() ;
ciph = EVP_CIPHER_fetch(NULL, "aes-128-cbc", "fips=yes") ;

I am doubting fips provider is not loaded.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list