diff options
author | Richard Levitte <levitte@openssl.org> | 2019-07-09 12:03:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-07-11 07:27:02 +0200 |
commit | 06c8331c51797f43881e5262b4c114aacc6d0ca0 (patch) | |
tree | a48dd24b236d0e6d781fbd081e3ec88c1468e052 /crypto/o_str.c | |
parent | 13273237a65d46186b6bea0b51aec90670d4598a (diff) | |
download | openssl-06c8331c51797f43881e5262b4c114aacc6d0ca0.zip openssl-06c8331c51797f43881e5262b4c114aacc6d0ca0.tar.gz openssl-06c8331c51797f43881e5262b4c114aacc6d0ca0.tar.bz2 |
Adapt the provider AES for more use of OSSL_PARAM
The cipher context IV was a bit interesting. EVP_CIPHER_CTX_iv()
returns a pointer to the live IV, while EVP_CIPHER_CTX_ctrl() with the
type EVP_CTRL_GET_IV gets a copy of the live IV. To support both, we
support getting it with both the OSSL_PARAM_OCTET_STRING and
OSSL_PARAM_OCTET_PTR datatypes.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9328)
Diffstat (limited to 'crypto/o_str.c')
0 files changed, 0 insertions, 0 deletions