Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/auth/mbedtls/
H A Dmbedtls_psa_crypto.c193 psa_algorithm_t psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in construct_psa_alg() local
197 *psa_alg = PSA_ALG_RSA_PSS(psa_md_alg); in construct_psa_alg()
201 *psa_alg = PSA_ALG_ECDSA(psa_md_alg); in construct_psa_alg()
360 psa_algorithm_t psa_md_alg; in verify_hash() local
396 psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in verify_hash()
399 if (len != PSA_HASH_LENGTH(psa_md_alg)) { in verify_hash()
407 status = psa_hash_compare(psa_md_alg, in verify_hash()
466 psa_algorithm_t psa_md_alg; in calc_hash() local
469 psa_md_alg = mbedtls_md_psa_alg_from_type(md_type(md_algo)); in calc_hash()
476 status = psa_hash_compute(psa_md_alg, data_ptr, (size_t)data_len, in calc_hash()