]> granicus.if.org Git - openssl/commitdiff
Correct GCM docs.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 23 Aug 2017 23:00:31 +0000 (00:00 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 23 Aug 2017 23:00:31 +0000 (00:00 +0100)
Fix GCM documentation: the tag does not have to be supplied before
decrypting any data any more.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4231)

doc/crypto/EVP_EncryptInit.pod

index 0c0a30c1ffa048d36c11b40cdebef9e9128f3651..dc9a2d76c5f60c9cac0a3167eeb317f9c3926716 100644 (file)
@@ -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<taglen> bytes from B<tag>. This call is only legal
-when decrypting data and must be made B<before> any data is processed (e.g.
-before any EVP_DecryptUpdate() call). 
+when decrypting data.
 
 =head1 CCM Mode