aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicky Mouha <[email protected]>2026-06-17 22:18:49 +0200
committerNorbert Pocs <[email protected]>2026-07-23 10:33:15 +0200
commit0723430177b6dc5a5c7adc72af843a29ef05080b (patch)
tree5573ab41e4261589b26523f43775a220827978e8
parentFix capitalization of 'Swiss Army knife' in README (diff)
downloadopenssl-0723430177b6dc5a5c7adc72af843a29ef05080b.tar.gz
openssl-0723430177b6dc5a5c7adc72af843a29ef05080b.zip
doc: document that `HMAC_Update` cannot be called after `HMAC_Final`
Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Frederik Wedel-Heinen <[email protected]> MergeDate: Thu Jul 23 08:33:21 2026 (Merged from https://github.com/openssl/openssl/pull/31570)
-rw-r--r--doc/man3/HMAC.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/man3/HMAC.pod b/doc/man3/HMAC.pod
index 53a3853eb2b..d6cd404ab6b 100644
--- a/doc/man3/HMAC.pod
+++ b/doc/man3/HMAC.pod
@@ -112,6 +112,9 @@ be authenticated (I<len> bytes at I<data>).
HMAC_Final() places the message authentication code in I<md>, which
must have space for the hash function output.
+After calling HMAC_Final() no calls to HMAC_Update() or HMAC_Final() can be
+made, but HMAC_Init_ex() can be called to initialize a new HMAC
+operation.
HMAC_CTX_copy() copies all of the internal state from I<sctx> into I<dctx>.