Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dpk_wrap.c238 psa_algorithm_t psa_md_alg; in rsa_sign_wrap() local
239 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() local
309 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() local
391 psa_md_alg = mbedtls_md_psa_alg_from_type((mbedtls_md_type_t) mbedtls_rsa_get_md_alg(rsa)); in rsa_encrypt_wrap()
[all …]
Dpk.c1160 psa_algorithm_t psa_md_alg = mbedtls_md_psa_alg_from_type(md_alg); in mbedtls_pk_verify_ext() local
1163 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() local
1325 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()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_pk.function2044 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);