diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2021-01-14 15:19:46 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-01-18 14:27:44 +0100 |
commit | 0d83b7b9036feea680ba45751df028ff5e86cd63 (patch) | |
tree | 69bb5df9b0f0d294ab46f1dd324279c43672553b /providers/implementations/include/prov/ciphercommon.h | |
parent | 3aff5b4bac7186fda9208a76127eff040cafae13 (diff) |
Rename EVP_CIPHER_CTX_get_iv and EVP_CIPHER_CTX_get_iv_state for clarity
To clarify the purpose of these two calls rename them to
EVP_CIPHER_CTX_get_original_iv and EVP_CIPHER_CTX_get_updated_iv.
Also rename the OSSL_CIPHER_PARAM_IV_STATE to OSSL_CIPHER_PARAM_UPDATED_IV
to better align with the function name.
Fixes #13411
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13870)
Diffstat (limited to 'providers/implementations/include/prov/ciphercommon.h')
-rw-r--r-- | providers/implementations/include/prov/ciphercommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/include/prov/ciphercommon.h b/providers/implementations/include/prov/ciphercommon.h index a6071c28b7..cf7841818d 100644 --- a/providers/implementations/include/prov/ciphercommon.h +++ b/providers/implementations/include/prov/ciphercommon.h @@ -317,7 +317,7 @@ static const OSSL_PARAM name##_known_gettable_ctx_params[] = { \ OSSL_PARAM_uint(OSSL_CIPHER_PARAM_PADDING, NULL), \ OSSL_PARAM_uint(OSSL_CIPHER_PARAM_NUM, NULL), \ OSSL_PARAM_octet_string(OSSL_CIPHER_PARAM_IV, NULL, 0), \ - OSSL_PARAM_octet_string(OSSL_CIPHER_PARAM_IV_STATE, NULL, 0), + OSSL_PARAM_octet_string(OSSL_CIPHER_PARAM_UPDATED_IV, NULL, 0), #define CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_END(name) \ OSSL_PARAM_END \ |