From 0d83b7b9036feea680ba45751df028ff5e86cd63 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 14 Jan 2021 15:19:46 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/13870) --- doc/man7/provider-cipher.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/man7') diff --git a/doc/man7/provider-cipher.pod b/doc/man7/provider-cipher.pod index d6d544c0ba..d8bd906c10 100644 --- a/doc/man7/provider-cipher.pod +++ b/doc/man7/provider-cipher.pod @@ -242,9 +242,9 @@ The length of the "ivlen" parameter should not exceed that of a B. Gets the IV used to initialize the associated cipher ctx. -=item "iv-state" (B) +=item "updated-iv" (B) -Gets the current pseudo-IV state for the associated cipher ctx, e.g., +Gets the updated pseudo-IV state for the associated cipher ctx, e.g., the previous ciphertext block for CBC mode or the iteratively encrypted IV value for OFB mode. Note that octet pointer access is deprecated and is provided only for backwards compatibility with historical libcrypto APIs. -- cgit v1.2.3