Clarify and correct the EVP_CTRL_AEAD_SET_TAG docs
authorMatt Caswell <matt@openssl.org>
Tue, 23 Nov 2021 12:24:39 +0000 (12:24 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Nov 2021 17:18:47 +0000 (17:18 +0000)
commit3607b8ad8ee1980a079e985333a196e0c79f8f00
treed677ed81722664f7ac097c62104e9204645f96d7
parent9567fd3819398c6be70508dd6316046da0955b71
Clarify and correct the EVP_CTRL_AEAD_SET_TAG docs

The restriction about setting a tag length prior to setting the IV only
applies to OCB mode. We clarify when in the process EVP_CTRL_AEAD_SET_TAG
can be called.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17111)
doc/man3/EVP_EncryptInit.pod