Fix mixed declaration / code

This commit is contained in:
Andrew Hutchings
2025-10-18 06:18:29 +01:00
parent 01dc28ad31
commit d87ca70048
+2 -2
View File
@@ -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,