From e74be3266dd18e08e7dde4795a4f1d6f10de0daa Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 24 Aug 2017 00:00:31 +0100 Subject: [PATCH] Correct GCM docs. Fix GCM documentation: the tag does not have to be supplied before decrypting any data any more. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4231) --- doc/crypto/EVP_EncryptInit.pod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index 0c0a30c1ff..dc9a2d76c5 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -395,8 +395,7 @@ processed (e.g. after an EVP_EncryptFinal() call). EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG, taglen, tag); Sets the expected tag to B bytes from B. This call is only legal -when decrypting data and must be made B any data is processed (e.g. -before any EVP_DecryptUpdate() call). +when decrypting data. =head1 CCM Mode -- 2.40.0