Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dhash_info.c28 psa_algorithm_t psa_alg; member
92 return entry->psa_alg; in mbedtls_hash_info_psa_from_md()
96 mbedtls_md_type_t mbedtls_hash_info_md_from_psa(psa_algorithm_t psa_alg) in mbedtls_hash_info_md_from_psa() argument
100 entry->psa_alg != psa_alg) { in mbedtls_hash_info_md_from_psa()
Dhash_info.h90 mbedtls_md_type_t mbedtls_hash_info_md_from_psa(psa_algorithm_t psa_alg);
Dssl_msg.c980 transform->psa_alg, in mbedtls_ssl_encrypt_buf()
1095 transform->psa_key_enc, transform->psa_alg); in mbedtls_ssl_encrypt_buf()
1400 transform->psa_alg, in mbedtls_ssl_decrypt_buf()
1627 transform->psa_key_dec, transform->psa_alg); in mbedtls_ssl_decrypt_buf()
5163 if (transform->psa_alg == PSA_ALG_GCM || in mbedtls_ssl_get_record_expansion()
5164 transform->psa_alg == PSA_ALG_CCM || in mbedtls_ssl_get_record_expansion()
5165 transform->psa_alg == PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CCM, 8) || in mbedtls_ssl_get_record_expansion()
5166 transform->psa_alg == PSA_ALG_CHACHA20_POLY1305 || in mbedtls_ssl_get_record_expansion()
5167 transform->psa_alg == MBEDTLS_SSL_NULL_CIPHER) { in mbedtls_ssl_get_record_expansion()
5169 } else if (transform->psa_alg == PSA_ALG_CBC_NO_PADDING) { in mbedtls_ssl_get_record_expansion()
Dssl_tls13_server.c1134 psa_algorithm_t psa_alg = PSA_ALG_NONE; in ssl_tls13_pick_key_cert() local
1160 psa_alg = ssl_tls13_iana_sig_alg_to_psa_alg(*sig_alg); in ssl_tls13_pick_key_cert()
1166 && psa_alg != PSA_ALG_NONE && in ssl_tls13_pick_key_cert()
1167 mbedtls_pk_can_do_ext(&key_cert->cert->pk, psa_alg, in ssl_tls13_pick_key_cert()
Dssl_tls13_keys.c1051 transform->psa_alg = alg; in mbedtls_ssl_tls13_populate_transform()
Dssl_misc.h1135 psa_algorithm_t psa_alg; /*!< psa algorithm */ member
Dssl_tls.c2412 transform->psa_alg in mbedtls_ssl_get_mode_from_transform()
8550 transform->psa_alg = alg; in ssl_tls12_populate_transform()
8641 if ((transform->psa_alg == MBEDTLS_SSL_NULL_CIPHER) || in ssl_tls12_populate_transform()
8642 ((transform->psa_alg == PSA_ALG_CBC_NO_PADDING) in ssl_tls12_populate_transform()
/mbedtls-3.5.0/tests/src/test_helpers/
Dssl_helpers.c1046 transform->psa_alg); in mbedtls_test_psa_cipher_encrypt_helper()
1376 t_in->psa_alg = alg; in mbedtls_test_ssl_build_transforms()
1377 t_out->psa_alg = alg; in mbedtls_test_ssl_build_transforms()
1481 psa_algorithm_t psa_alg = mbedtls_hash_info_psa_from_md( in mbedtls_test_ssl_tls12_populate_session() local
1485 psa_alg, tmp_crt.raw.p, in mbedtls_test_ssl_tls12_populate_session()
/mbedtls-3.5.0/programs/ssl/
Dssl_server2.c2688 psa_algorithm_t psa_alg, psa_alg2 = PSA_ALG_NONE; in main() local
2693 &psa_alg, &psa_alg2, in main()
2697 psa_alg, psa_usage, psa_alg2); in main()
2707 psa_alg = PSA_ALG_NONE; psa_alg2 = PSA_ALG_NONE; in main()
2712 &psa_alg, &psa_alg2, in main()
2716 psa_alg, psa_usage, psa_alg2); in main()
Dssl_client2.c1742 psa_algorithm_t psa_alg, psa_alg2 = PSA_ALG_NONE; in main() local
1747 &psa_alg, &psa_alg2, in main()
1750 ret = mbedtls_pk_wrap_as_opaque(&pkey, &key_slot, psa_alg, in main()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_pk.function1385 psa_algorithm_t psa_alg;
1411 psa_alg = PSA_ALG_RSA_PKCS1V15_SIGN(psa_md_alg);
1413 psa_alg = PSA_ALG_RSA_PSS(psa_md_alg);
1419 TEST_EQUAL(mbedtls_pk_wrap_as_opaque(&pk, &key_id, psa_alg,
Dtest_suite_x509write.function51 psa_algorithm_t psa_alg = mbedtls_hash_info_psa_from_md(csr.sig_md);
53 psa_status_t status = psa_hash_compute(psa_alg, csr.cri.p, csr.cri.len,
Dtest_suite_ssl.function2628 int psa_alg, int psa_alg2, int psa_usage,
2638 options.opaque_alg = psa_alg;