Home
last modified time | relevance | path

Searched refs:actual_hash_length (Results 1 – 3 of 3) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_hash.function17 size_t actual_hash_length;
27 &actual_hash_length));
29 actual_hash, actual_hash_length);
64 size_t actual_hash_length;
85 &actual_hash_length));
87 actual_hash, actual_hash_length);
91 &actual_hash_length));
93 actual_hash, actual_hash_length);
/third_party/mbedtls/library/
Dpsa_crypto_hash.c277 size_t actual_hash_length = PSA_HASH_LENGTH(operation->alg); in mbedtls_psa_hash_finish() local
289 if (hash_size < actual_hash_length) { in mbedtls_psa_hash_finish()
338 *hash_length = actual_hash_length; in mbedtls_psa_hash_finish()
Dpsa_crypto.c2261 size_t actual_hash_length; in psa_hash_verify() local
2265 &actual_hash_length); in psa_hash_verify()
2271 if (actual_hash_length != hash_length) { in psa_hash_verify()
2276 if (mbedtls_psa_safer_memcmp(hash, actual_hash, actual_hash_length) != 0) { in psa_hash_verify()
2308 size_t actual_hash_length; in psa_hash_compare() local
2317 &actual_hash_length); in psa_hash_compare()
2321 if (actual_hash_length != hash_length) { in psa_hash_compare()
2325 if (mbedtls_psa_safer_memcmp(hash, actual_hash, actual_hash_length) != 0) { in psa_hash_compare()