forked from wolfSSL/wolfssl
add AesSetKey fips mode
This commit is contained in:
@@ -27,6 +27,11 @@
|
||||
|
||||
#ifndef NO_AES
|
||||
|
||||
#ifdef HAVE_FIPS
|
||||
/* set NO_WRAPPERS before headers, use direct internal f()s not wrappers */
|
||||
#define FIPS_NO_WRAPPERS
|
||||
#endif
|
||||
|
||||
#include <cyassl/ctaocrypt/aes.h>
|
||||
#include <cyassl/ctaocrypt/error.h>
|
||||
#include <cyassl/ctaocrypt/logging.h>
|
||||
@@ -46,6 +51,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifdef HAVE_CAVIUM
|
||||
static int AesCaviumSetKey(Aes* aes, const byte* key, word32 length,
|
||||
const byte* iv);
|
||||
|
||||
Reference in New Issue
Block a user