[FFmpeg-devel] [PATCH 3/3] avutil/tests/aes_ctr: test more than a single block worth of data
James Almer
jamrial at gmail.com
Tue Apr 1 20:09:27 EEST 2025
This should exercise the implementation more thoroughly after the previous
change.
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavutil/tests/aes_ctr.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavutil/tests/aes_ctr.c b/libavutil/tests/aes_ctr.c
index 486dae3348..65b49ee7fe 100644
--- a/libavutil/tests/aes_ctr.c
+++ b/libavutil/tests/aes_ctr.c
@@ -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)
{
--
2.49.0
More information about the ffmpeg-devel
mailing list