Files
FFmpeg/libavutil
James Almer 19085287b4 avutil/tests/aes_ctr: also check the encrypted buffer
The test in its current form is just ensuring the plain text output is the same
as the plain text input, not bothering to check if anything was done with the
latter. av_aes_ctr_crypt() could be a simple memcpy under the hood and this
test would still succeed.

To check the integrity of the encrypted buffer, both the IV and the key need to
be fixed. As such, and in order to not remove the existing randomization of the
input IV, do two runs, one with random initialization data, and one with static
data.

Signed-off-by: James Almer <jamrial@gmail.com>
2025-04-05 20:46:40 -03:00
..
2024-12-04 16:43:06 +08:00
2021-04-27 10:43:13 -03:00
2023-07-12 15:35:37 +02:00
2024-07-21 17:02:12 +02:00
2024-03-04 17:45:00 +01:00
2024-12-04 16:43:06 +08:00
2022-11-06 08:26:50 +01:00
2023-11-18 19:55:42 +01:00
2024-03-15 12:51:15 +01:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2024-05-04 21:31:33 -03:00
2022-10-17 09:56:47 +02:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2021-07-21 16:35:27 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2024-10-16 16:46:29 +02:00
2024-03-31 00:08:43 +01:00
2025-03-17 08:49:04 +01:00
2025-03-17 08:49:04 +01:00
2021-07-22 14:34:31 +02:00
2024-01-16 01:34:57 +01:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2023-09-01 23:59:10 +02:00
2023-08-08 09:46:11 +02:00
2023-08-08 09:46:11 +02:00