openssl/providers/implementations
Benjamin Kaduk 320d96a32c Set cipher IV as octet string and pointer from providers
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)
2020-06-20 09:46:30 -07:00
..
asymciphers PROV: Use rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx() in RSA-OAEP 2020-05-27 12:42:20 +02:00
ciphers Set cipher IV as octet string and pointer from providers 2020-06-20 09:46:30 -07:00
digests
exchange
include/prov
kdfs The EVP_MAC functions have been renamed for consistency. The EVP_MAC_CTX_* 2020-06-11 11:16:37 +10:00
keymgmt Add more complete support for libctx/propq in the EC code 2020-06-19 10:34:58 +01:00
macs Update copyright year 2020-05-15 14:09:49 +01:00
serializers Coverity 1463576: Error handling issues (CHECKED_RETURN) 2020-05-22 17:23:49 +10:00
signature Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
build.info