Revert GCM_NONCE_MID_SZ changes

This commit is contained in:
kaleb-himes
2020-06-01 17:13:23 -06:00
parent 6217118ee4
commit bc02f2c74e
2 changed files with 0 additions and 17 deletions

View File

@ -141,14 +141,6 @@ extern int wc_InitRsaHw(RsaKey* key);
};
#endif
#endif
#if defined(HAVE_FIPS) && \
( defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) )
/* aes.h is locked w/ FIPS, have to add new enums in non-boundary location
* when building in FIPS mode */
enum {
GCM_NONCE_MID_SZ = 12 /* The usual default nonce size for AES-GCM. */
};
#endif
#ifdef WOLFSSL_RENESAS_TSIP_TLS
void tsip_inform_key_position(const word32 key_n_start,

View File

@ -33,15 +33,6 @@
#elif defined(WOLFCRYPT_ONLY)
#else
#if defined(HAVE_FIPS) && \
( defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2) )
/* aes.h is locked w/ FIPS, have to add new enums in non-boundary location
* when building in FIPS mode */
enum {
GCM_NONCE_MID_SZ = 12 /* The usual default nonce size for AES-GCM. */
};
#endif
#if defined(OPENSSL_EXTRA)
#include <wolfssl/openssl/ecdsa.h>