History

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

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

James Almer committed 1 year ago

Commit 0a34f001 parent ccf073e1 file · +3 −2Browse files

Unified · Split

libavutil/tests/aes_ctr.c+3−2
@@ -23,9 +23,10 @@ · 22 unmodified lines
2323 #include "libavutil/aes_ctr.h"
2424
2525 static const DECLARE_ALIGNED(8, uint8_t, plain)[] = {
26− 0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d
26+ 0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f,
27+ 0x6d, 0x6f, 0x73, 0x74, 0x20, 0x72, 0x61, 0x6e, 0x64, 0x6f
2728 };
28−static DECLARE_ALIGNED(8, uint8_t, tmp)[11];
29+static DECLARE_ALIGNED(8, uint8_t, tmp)[20];
2930
3031 int main (void)
3132 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t