Skip to content

legacy cipher algorithm EVP_rc2_cbc() not working in fips mode #21577

Answered by paulidale
aniljadaun asked this question in Q&A
Discussion options

You must be logged in to vote

The fetch should be:

EVP_CIPHER_fetch(NULL, "RC2-CBC", "provider=legacy,-fips");

or just:

EVP_CIPHER_fetch(NULL, "RC2-CBC", "-fips");

The global property query that EVP_default_properties_enable_fips(NULL,1) sets up needs to be overridden.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@aniljadaun
Comment options

@paulidale
Comment options

Answer selected by aniljadaun
@mattcaswell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants