avutil/tests/aes_ctr: test more than a single block worth of data

This should exercise the implementation more thoroughly after an upcoming
change.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-04-01 14:08:12 -03:00
parent ccf073e772
commit 0a34f009aa

View File

@ -23,9 +23,10 @@
#include "libavutil/aes_ctr.h"
static const DECLARE_ALIGNED(8, uint8_t, plain)[] = {
0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d
0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f,
0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f
};
static DECLARE_ALIGNED(8, uint8_t, tmp)[11];
static DECLARE_ALIGNED(8, uint8_t, tmp)[20];
int main (void)
{