Fix ASAN error in test
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
9f97566c04
commit
b7778b2388
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue