Searched refs:psa_alg (Results 1 – 13 of 13) sorted by relevance
/third_party/mbedtls/library/ |
D | hash_info.c | 28 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()
|
D | hash_info.h | 90 mbedtls_md_type_t mbedtls_hash_info_md_from_psa(psa_algorithm_t psa_alg);
|
D | ssl_msg.c | 980 transform->psa_alg, in mbedtls_ssl_encrypt_buf() 1095 transform->psa_key_enc, transform->psa_alg); in mbedtls_ssl_encrypt_buf() 1408 transform->psa_alg, in mbedtls_ssl_decrypt_buf() 1635 transform->psa_key_dec, transform->psa_alg); in mbedtls_ssl_decrypt_buf() 5174 if (transform->psa_alg == PSA_ALG_GCM || in mbedtls_ssl_get_record_expansion() 5175 transform->psa_alg == PSA_ALG_CCM || in mbedtls_ssl_get_record_expansion() 5176 transform->psa_alg == PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CCM, 8) || in mbedtls_ssl_get_record_expansion() 5177 transform->psa_alg == PSA_ALG_CHACHA20_POLY1305 || in mbedtls_ssl_get_record_expansion() 5178 transform->psa_alg == MBEDTLS_SSL_NULL_CIPHER) { in mbedtls_ssl_get_record_expansion() 5180 } else if (transform->psa_alg == PSA_ALG_CBC_NO_PADDING) { in mbedtls_ssl_get_record_expansion()
|
D | ssl_tls13_server.c | 1134 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()
|
D | ssl_misc.h | 1135 psa_algorithm_t psa_alg; /*!< psa algorithm */ member
|
D | ssl_tls13_keys.c | 1051 transform->psa_alg = alg; in mbedtls_ssl_tls13_populate_transform()
|
D | ssl_tls.c | 2412 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()
|
/third_party/mbedtls/tests/src/test_helpers/ |
D | ssl_helpers.c | 1046 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()
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_server2.c | 2688 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()
|
D | ssl_client2.c | 1742 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()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_pk.function | 1385 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,
|
D | test_suite_x509write.function | 51 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,
|
D | test_suite_ssl.function | 2628 int psa_alg, int psa_alg2, int psa_usage, 2638 options.opaque_alg = psa_alg;
|