summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-08-24 00:00:31 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-08-24 00:00:31 +0100
commite74be3266dd18e08e7dde4795a4f1d6f10de0daa (patch)
treed7908b9ef64176447d76f416d92746af5d428fbf /doc
parentc0f4a5560548f76cfb00a9bbd85b6649df5754d1 (diff)
Correct GCM docs.
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)
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/EVP_EncryptInit.pod3
1 files changed, 1 insertions, 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<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