Lines Matching refs:hash_alg
134 int psa_can_do_hash(psa_algorithm_t hash_alg) in psa_can_do_hash() argument
136 (void) hash_alg; in psa_can_do_hash()
3593 psa_algorithm_t hash_alg = PSA_ALG_SIGN_GET_HASH(alg); local
3594 operation->md_alg = mbedtls_hash_info_md_from_psa(hash_alg);
5025 psa_algorithm_t hash_alg, argument
5036 operation->mac_size = PSA_HASH_LENGTH(hash_alg);
5041 PSA_ALG_HMAC(hash_alg));
5159 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); local
5160 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5206 hash_alg,
5251 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(alg); local
5252 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5288 hash_alg,
5332 hash_alg,
5373 psa_algorithm_t hash_alg = PSA_ALG_TLS12_PRF_GET_HASH(alg); local
5374 uint8_t hash_length = PSA_HASH_LENGTH(hash_alg);
5943 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); local
5944 size_t hash_size = PSA_HASH_LENGTH(hash_alg);
5953 psa_status_t status = psa_hash_try_support(hash_alg);
5963 !(hash_alg == PSA_ALG_SHA_256 || hash_alg == PSA_ALG_SHA_384)) {
6051 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH(kdf_alg); local
6064 hash_alg,
6084 if (data_length != PSA_HASH_LENGTH(hash_alg)) {
6101 hash_alg,
6130 memcpy(hkdf->output_block, hkdf->prk, PSA_HASH_LENGTH(hash_alg));
6137 hkdf->offset_in_block = PSA_HASH_LENGTH(hash_alg);