Skip to content

Commit 3423c30

Browse files
jogmet8m
authored andcommitted
Document EVP_CIPHER failure for missing provider function
When writing a new CIPHER implementation the OSSL_FUNC_cipher_get_params must be present, otherwise the fetch fails. This behaviour is seen in function evp_cipher_cache_constants@crypto/evp/evp_lib.c. Resolves: openssl#25801 Signed-off-by: Norbert Pocs <[email protected]> Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Matt Caswell <[email protected]> (Merged from openssl#27696)
1 parent e0ae801 commit 3423c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/man7/provider-cipher.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ In order to be a consistent set of functions there must at least be a complete
134134
set of "encrypt" functions, or a complete set of "decrypt" functions, or a
135135
single "cipher" function. Similarly, there can be a complete set of pipeline
136136
"encrypt" functions, and/or a complete set of pipeline "decrypt" functions.
137-
In all cases both the OSSL_FUNC_cipher_newctx and OSSL_FUNC_cipher_freectx functions must be
138-
present.
137+
In all cases the OSSL_FUNC_cipher_get_params and both OSSL_FUNC_cipher_newctx
138+
and OSSL_FUNC_cipher_freectx functions must be present.
139139
All other functions are optional.
140140

141141
=head2 Context Management Functions

0 commit comments

Comments
 (0)