mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user