This commit is contained in:
Juliusz Sosinowicz
2020-01-17 15:02:16 +01:00
parent 7ce7017521
commit 1df9963b80

View File

@ -58,12 +58,14 @@ enum {
WC_SHA3_512_DIGEST_SIZE = 64,
WC_SHA3_512_COUNT = 9,
#ifndef HAVE_SELFTEST
/* These values are used for HMAC, not SHA-3 directly.
* They come from from FIPS PUB 202. */
WC_SHA3_224_BLOCK_SIZE = 144,
WC_SHA3_256_BLOCK_SIZE = 136,
WC_SHA3_384_BLOCK_SIZE = 104,
WC_SHA3_512_BLOCK_SIZE = 72,
#endif
};
#ifndef NO_OLD_WC_NAMES