mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-26 11:37:09 +00:00
test_suite_psa_crypto_driver_wrappers: fix missing hit counter reset before test
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
7448367f68
commit
0ca1868fcd
@ -1490,6 +1490,7 @@ void cipher_entry_points(int alg_arg, int key_type_arg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_test_driver_cipher_hooks.cipher_update_hits = 0;
|
mbedtls_test_driver_cipher_hooks.cipher_update_hits = 0;
|
||||||
|
mbedtls_test_driver_cipher_hooks.cipher_encrypt_hits = 0;
|
||||||
status = psa_cipher_encrypt(
|
status = psa_cipher_encrypt(
|
||||||
key, alg, input->x, input->len,
|
key, alg, input->x, input->len,
|
||||||
output, output_buffer_size, &function_output_length);
|
output, output_buffer_size, &function_output_length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user