mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Fix ASAN error in test
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
9f97566c04
commit
b7778b2388
|
|
@ -159,7 +159,7 @@ void aes_encrypt_ctr_multipart(int length, int step_size)
|
||||||
mbedtls_test_rnd_std_rand(NULL, key, sizeof(key));
|
mbedtls_test_rnd_std_rand(NULL, key, sizeof(key));
|
||||||
|
|
||||||
// random input
|
// random input
|
||||||
mbedtls_test_rnd_std_rand(NULL, input, sizeof(input));
|
mbedtls_test_rnd_std_rand(NULL, input, length);
|
||||||
|
|
||||||
|
|
||||||
// complete encryption in one call
|
// complete encryption in one call
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue