Update Docs for EVP_MAC
authorNeil Horman <nhorman@openssl.org>
Mon, 8 Jan 2024 19:29:52 +0000 (14:29 -0500)
committerTomas Mraz <tomas@openssl.org>
Thu, 11 Jan 2024 10:12:42 +0000 (11:12 +0100)
commit0a12aba18f705c888d661d2e2da3848a392f70a5
treef9bed458b387aa112ff51f54e3186f8a76a7b08d
parent6969bf4d7785827fef8b6698a0349c609609b28e
Update Docs for EVP_MAC

For GMAC/CMAC, its not possible to re-init the algorithm without
explicitly passing an OSSL_MAC_PARAM_IV to each init call, as it is
not possible to extract the IV value from the prior init call (be it
explicitly passed or auto generated).  As such, document the fact that
re-initalization requires passing an IV parameter

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23235)

(cherry picked from commit 7c1d533a512181b13de3bc0b7fa2fd8c481032d3)
doc/man3/EVP_MAC.pod