mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
320d96a32c
OSSL_CIPHER_PARAM_IV can be accessed both as an octet string and as an octet pointer (for routines like EVP_CIPHER_CTX_iv() that are in a nebulous undocumented-and-might-go-away-eventually state), the latter for when there is need to modify the actual value in the provider. Make sure that we consistently try to set it as both the string and pointer forms (not just octet string) and only fail if neither version succeeds. The generic cipher get_ctx_params routine was already doing so, but the AES-variant-, GCM-, and CCM-specific ones were not. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12039) |
||
---|---|---|
.. | ||
asymciphers | ||
ciphers | ||
digests | ||
exchange | ||
include/prov | ||
kdfs | ||
keymgmt | ||
macs | ||
serializers | ||
signature | ||
build.info |