mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
sha3.h
This commit is contained in:
@ -58,12 +58,14 @@ enum {
|
|||||||
WC_SHA3_512_DIGEST_SIZE = 64,
|
WC_SHA3_512_DIGEST_SIZE = 64,
|
||||||
WC_SHA3_512_COUNT = 9,
|
WC_SHA3_512_COUNT = 9,
|
||||||
|
|
||||||
|
#ifndef HAVE_SELFTEST
|
||||||
/* These values are used for HMAC, not SHA-3 directly.
|
/* These values are used for HMAC, not SHA-3 directly.
|
||||||
* They come from from FIPS PUB 202. */
|
* They come from from FIPS PUB 202. */
|
||||||
WC_SHA3_224_BLOCK_SIZE = 144,
|
WC_SHA3_224_BLOCK_SIZE = 144,
|
||||||
WC_SHA3_256_BLOCK_SIZE = 136,
|
WC_SHA3_256_BLOCK_SIZE = 136,
|
||||||
WC_SHA3_384_BLOCK_SIZE = 104,
|
WC_SHA3_384_BLOCK_SIZE = 104,
|
||||||
WC_SHA3_512_BLOCK_SIZE = 72,
|
WC_SHA3_512_BLOCK_SIZE = 72,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef NO_OLD_WC_NAMES
|
#ifndef NO_OLD_WC_NAMES
|
||||||
|
Reference in New Issue
Block a user