Skip to content
Discussion options

You must be logged in to vote

There is actually a documentation issue here in OpenSSL.

The provider-cipher(7) man page says this:

A cipher algorithm implementation may not implement all of these functions.
In order to be a consistent set of functions there must at least be a complete
set of "encrypt" functions, or a complete set of "decrypt" functions, or a
single "cipher" function.
In all cases both the OSSL_FUNC_cipher_newctx and OSSL_FUNC_cipher_freectx functions must be
present.
All other functions are optional.

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…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Gabin-Crn
Comment options

Comment options

You must be logged in to vote
1 reply
@Gabin-Crn
Comment options

Comment options

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

@Gabin-Crn
Comment options

@paulidale
Comment options

Answer selected by Gabin-Crn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants