sha3: add cSHAKE support
This patch implements 128- and 256-bit version of customizable variant of SHAKE function (cSHAKE). * Implementation based on NIST FIPS 202 * Test data file has been updated with cSHAKE KATs. I've copied examples from NIST document available here: https://csrc.nist.gov/csrc/media/projects/cryptographic-standards-and -guidelines/documents/examples/cshake_samples.pdf Fixes #25395 Change-Id: Icbbc4232f3d9a28b3d6ead51937c2e60c00e5d8c Reviewed-on: https://go-review.googlesource.com/c/crypto/+/111281 Reviewed-by: Filippo Valsorda <filippo@golang.org>
This commit is contained in:
committed by
Filippo Valsorda
parent
92d88b081a
commit
f416ebab96
BIN
Binary file not shown.
Reference in New Issue
Block a user