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:
Valerio Setti 2023-11-24 12:10:23 +01:00
parent 7448367f68
commit 0ca1868fcd

View File

@ -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);