Fix missing stuff in headers

This commit is contained in:
Juliusz Sosinowicz
2020-01-15 12:35:16 +01:00
parent 59b001c484
commit 480227704d
2 changed files with 1 additions and 3 deletions

View File

@ -128,7 +128,7 @@ extern int wc_InitRsaHw(RsaKey* key);
#define ERROR_OUT(err, eLabel) { ret = (err); goto eLabel; }
#ifdef HAVE_SELFTEST
#if defined(HAVE_SELFTEST) || !defined(NO_SKID)
#include <wolfssl/internal.h>
#ifndef WOLFSSL_AES_KEY_SIZE_ENUM
#define WOLFSSL_AES_KEY_SIZE_ENUM

View File

@ -58,14 +58,12 @@ enum {
WC_SHA3_512_DIGEST_SIZE = 64,
WC_SHA3_512_COUNT = 9,
#ifdef 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