Kris Kwiatkowski
|
f416ebab96
|
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>
|
2019-04-17 17:40:47 +00:00 |
|