From: Dr. Stephen Henson Date: Wed, 23 Aug 2017 23:00:31 +0000 (+0100) Subject: Correct GCM docs. X-Git-Tag: OpenSSL_1_0_2m~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e74be3266dd18e08e7dde4795a4f1d6f10de0daa;p=openssl 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) --- 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