ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Tue Apr  1 14:08:12 
2025 -0300| [0a34f009aaf41ff72c0489858962d9e2102d1977] | committer: James Almer

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 <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a34f009aaf41ff72c0489858962d9e2102d1977
---

 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)
 {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to