forked from wolfSSL/wolfssl
fix benchmark error with NO_AES, jenkins found
This commit is contained in:
@@ -296,8 +296,6 @@ static byte plain [1024*1024];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef NO_AES
|
|
||||||
|
|
||||||
static const byte key[] =
|
static const byte key[] =
|
||||||
{
|
{
|
||||||
0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef,
|
0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef,
|
||||||
@@ -313,7 +311,6 @@ static const byte iv[] =
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* use kB instead of mB for embedded benchmarking */
|
/* use kB instead of mB for embedded benchmarking */
|
||||||
#ifdef BENCH_EMBEDDED
|
#ifdef BENCH_EMBEDDED
|
||||||
static byte cipher[1024];
|
static byte cipher[1024];
|
||||||
@@ -322,6 +319,8 @@ static byte cipher[1024*1024];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef NO_AES
|
||||||
|
|
||||||
void bench_aes(int show)
|
void bench_aes(int show)
|
||||||
{
|
{
|
||||||
Aes enc;
|
Aes enc;
|
||||||
|
Reference in New Issue
Block a user