mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix ASAN error in test
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@ -159,7 +159,7 @@ void aes_encrypt_ctr_multipart(int length, int step_size)
|
||||
mbedtls_test_rnd_std_rand(NULL, key, sizeof(key));
|
||||
|
||||
// random input
|
||||
mbedtls_test_rnd_std_rand(NULL, input, sizeof(input));
|
||||
mbedtls_test_rnd_std_rand(NULL, input, length);
|
||||
|
||||
|
||||
// complete encryption in one call
|
||||
|
Reference in New Issue
Block a user