Failed to obtain the algorithms provided by my provider #25789
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
This looks wrong: You have two inconsistent definitions for the query function. |
Beta Was this translation helpful? Give feedback.
-
|
Try to debug your code. Is the query_operation function called with OSSL_OP_CIPHER? |
Beta Was this translation helpful? Give feedback.
-
|
There is actually a documentation issue here in OpenSSL. The provider-cipher(7) man page says this: But this is not actually true. It appears there must be a "get_params" function too for the cipher. Otherwise things fail. Internally, when we construct the EVP_CIPHER object, we attempt to query it in order to cache various constants: Lines 1693 to 1697 in 06aa41a If the call to It's not quite clear to me whether the correct solution is for that function not to fail if there is a missing get_params, or whether we should fix the documentation to specify the additional need for this function to be implemented. Either way, the solution for you is to implement it. |
Beta Was this translation helpful? Give feedback.







There is actually a documentation issue here in OpenSSL.
The provider-cipher(7) man page says this:
But this is not actually true. It appears there must be a "get_params" function too for the cipher. Otherwise things fail.
Internally, when we construct the EVP_CIPHER object, we attempt to query it in or…