]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add xof state handing for generic sha3 absorb.
authorHolger Dengler <dengler@linux.ibm.com>
Wed, 27 Sep 2023 19:54:34 +0000 (21:54 +0200)
committerHolger Dengler <dengler@linux.ibm.com>
Fri, 10 Nov 2023 13:25:44 +0000 (14:25 +0100)
commit1337b50936ed190a98af1ee6601d857b42a3d296
tree9024346109ec0f345fb2a19b3b2ad76a405ac818
parentbff62480333680463c82e88fdc67ed5ec14a0017
Add xof state handing for generic sha3 absorb.

The digest life-cycle diagram specifies state transitions to `updated`
(aka XOF_STATE_ABSORB) only from `initialised` and `updated`. Add this
checking to the generic sha3 absorb implementation.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22221)
providers/implementations/digests/sha3_prov.c