This should exercise the implementation more thoroughly after an upcoming change.
Unified · Split
| @@ -23,9 +23,10 @@ · 22 unmodified lines | |||
| 23 | #include "libavutil/aes_ctr.h" | 23 | #include "libavutil/aes_ctr.h" |
| 24 | 24 | ||
| 25 | static const DECLARE_ALIGNED(8, uint8_t, plain)[] = { | 25 | 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 | ||
| 27 | }; | 28 | }; |
| 28 | static DECLARE_ALIGNED(8, uint8_t, tmp)[11]; | 29 | static DECLARE_ALIGNED(8, uint8_t, tmp)[20]; |
| 29 | 30 | ||
| 30 | int main (void) | 31 | int main (void) |
| 31 | { | 32 | { |