Searched refs:psa_md_alg (Results 1 – 3 of 3) sorted by relevance
238 psa_algorithm_t psa_md_alg; in rsa_sign_wrap() local239 psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in rsa_sign_wrap()240 if (psa_md_alg == 0) { in rsa_sign_wrap()245 psa_alg = PSA_ALG_RSA_PSS(psa_md_alg); in rsa_sign_wrap()247 psa_alg = PSA_ALG_RSA_PKCS1V15_SIGN(psa_md_alg); in rsa_sign_wrap()288 psa_algorithm_t psa_md_alg, decrypt_alg; in rsa_decrypt_wrap() local309 psa_md_alg = mbedtls_md_psa_alg_from_type((mbedtls_md_type_t) mbedtls_rsa_get_md_alg(rsa)); in rsa_decrypt_wrap()310 decrypt_alg = PSA_ALG_RSA_OAEP(psa_md_alg); in rsa_decrypt_wrap()371 psa_algorithm_t psa_md_alg, psa_encrypt_alg; in rsa_encrypt_wrap() local391 psa_md_alg = mbedtls_md_psa_alg_from_type((mbedtls_md_type_t) mbedtls_rsa_get_md_alg(rsa)); in rsa_encrypt_wrap()[all …]
1160 psa_algorithm_t psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in mbedtls_pk_verify_ext() local1163 psa_algorithm_t psa_sig_alg = PSA_ALG_RSA_PSS_ANY_SALT(psa_md_alg); in mbedtls_pk_verify_ext()1324 const psa_algorithm_t psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in mbedtls_pk_sign_ext() local1325 if (psa_md_alg == 0) { in mbedtls_pk_sign_ext()1362 sign_alg = (sign_alg & ~PSA_ALG_HASH_MASK) | PSA_ALG_GET_HASH(psa_md_alg); in mbedtls_pk_sign_ext()1370 return mbedtls_pk_psa_rsa_sign_ext(PSA_ALG_RSA_PSS(psa_md_alg), in mbedtls_pk_sign_ext()
2044 psa_algorithm_t psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg);2045 size_t hash_len = PSA_HASH_LENGTH(psa_md_alg);