mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-11 12:00:51 +02:00
Fix mixed declaration / code
This commit is contained in:
@@ -5754,8 +5754,6 @@ void bench_aesxts(void)
|
||||
int i, count, ret;
|
||||
DECLARE_MULTI_VALUE_STATS_VARS()
|
||||
|
||||
bench_stats_prepare();
|
||||
|
||||
static const unsigned char k1[] = {
|
||||
0xa1, 0xb9, 0x0c, 0xba, 0x3f, 0x06, 0xac, 0x35,
|
||||
0x3b, 0x2c, 0x34, 0x38, 0x76, 0x08, 0x17, 0x62,
|
||||
@@ -5768,6 +5766,8 @@ void bench_aesxts(void)
|
||||
0x6e, 0x4b, 0x92, 0x01, 0x3e, 0x76, 0x8a, 0xd5
|
||||
};
|
||||
|
||||
bench_stats_prepare();
|
||||
|
||||
WC_ALLOC_VAR(aes, XtsAes, 1, HEAP_HINT);
|
||||
|
||||
ret = wc_AesXtsSetKey(aes, k1, sizeof(k1), AES_ENCRYPTION,
|
||||
|
||||
Reference in New Issue
Block a user