wolfssl/wolfcrypt/types.h: define WOLFSSL_NOSHA512_224, WOLFSSL_NOSHA512_256, and WOLFSSL_NO_SHAKE256 in SELFTEST/FIPS<=v2 version of enum wc_HashType definition, to assure synchrony.

This commit is contained in:
Daniel Pouzzner
2021-09-27 21:28:35 -05:00
parent 1c27654300
commit 9f36df44a4

View File

@ -895,6 +895,15 @@ decouple library dependencies with standard string, memory and so on.
WC_HASH_TYPE_SHA3_512 = 13,
WC_HASH_TYPE_BLAKE2B = 14,
WC_HASH_TYPE_BLAKE2S = 19,
#ifndef WOLFSSL_NOSHA512_224
#define WOLFSSL_NOSHA512_224
#endif
#ifndef WOLFSSL_NOSHA512_256
#define WOLFSSL_NOSHA512_256
#endif
#ifndef WOLFSSL_NO_SHAKE256
#define WOLFSSL_NO_SHAKE256
#endif
#else
WC_HASH_TYPE_NONE = 0,
WC_HASH_TYPE_MD2 = 1,