mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-24 02:57:22 +00:00
test_suite_psa_crypto_driver_wrappers: fix missing hit counter reset before test
Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -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_encrypt_hits = 0;
|
||||
status = psa_cipher_encrypt(
|
||||
key, alg, input->x, input->len,
|
||||
output, output_buffer_size, &function_output_length);
|
||||
|
||||
Reference in New Issue
Block a user