Searched refs:psa_alg (Results 1 – 12 of 12) sorted by relevance
/mbedtls-3.4.0/library/ |
D | hash_info.c | 29 psa_algorithm_t psa_alg; member 96 return entry->psa_alg; in mbedtls_hash_info_psa_from_md() 100 mbedtls_md_type_t mbedtls_hash_info_md_from_psa( psa_algorithm_t psa_alg ) in mbedtls_hash_info_md_from_psa() argument 104 entry->psa_alg != psa_alg ) in mbedtls_hash_info_md_from_psa()
|
D | hash_info.h | 89 mbedtls_md_type_t mbedtls_hash_info_md_from_psa( psa_algorithm_t psa_alg );
|
D | ssl_msg.c | 988 transform->psa_alg, in mbedtls_ssl_encrypt_buf() 1108 transform->psa_key_enc, transform->psa_alg ); in mbedtls_ssl_encrypt_buf() 1425 transform->psa_alg, in mbedtls_ssl_decrypt_buf() 1650 transform->psa_key_dec, transform->psa_alg ); in mbedtls_ssl_decrypt_buf() 5337 if ( transform->psa_alg == PSA_ALG_GCM || in mbedtls_ssl_get_record_expansion() 5338 transform->psa_alg == PSA_ALG_CCM || in mbedtls_ssl_get_record_expansion() 5339 transform->psa_alg == PSA_ALG_AEAD_WITH_SHORTENED_TAG( PSA_ALG_CCM, 8 ) || in mbedtls_ssl_get_record_expansion() 5340 transform->psa_alg == PSA_ALG_CHACHA20_POLY1305 || in mbedtls_ssl_get_record_expansion() 5341 transform->psa_alg == MBEDTLS_SSL_NULL_CIPHER ) in mbedtls_ssl_get_record_expansion() 5345 else if ( transform->psa_alg == PSA_ALG_CBC_NO_PADDING ) in mbedtls_ssl_get_record_expansion()
|
D | ssl_tls13_server.c | 1136 psa_algorithm_t psa_alg = PSA_ALG_NONE; in ssl_tls13_pick_key_cert() local 1163 psa_alg = ssl_tls13_iana_sig_alg_to_psa_alg( *sig_alg ); in ssl_tls13_pick_key_cert() 1169 && psa_alg != PSA_ALG_NONE && in ssl_tls13_pick_key_cert() 1170 mbedtls_pk_can_do_ext( &key_cert->cert->pk, psa_alg, in ssl_tls13_pick_key_cert()
|
D | ssl_misc.h | 1129 psa_algorithm_t psa_alg; /*!< psa algorithm */ member
|
D | ssl_tls13_keys.c | 1031 transform->psa_alg = alg; in mbedtls_ssl_tls13_populate_transform()
|
D | ssl_tls.c | 2261 transform->psa_alg in mbedtls_ssl_get_mode_from_transform() 8318 transform->psa_alg = alg; in ssl_tls12_populate_transform() 8421 if( ( transform->psa_alg == MBEDTLS_SSL_NULL_CIPHER ) || in ssl_tls12_populate_transform() 8422 ( ( transform->psa_alg == PSA_ALG_CBC_NO_PADDING ) in ssl_tls12_populate_transform()
|
/mbedtls-3.4.0/programs/ssl/ |
D | ssl_server2.c | 2792 psa_algorithm_t psa_alg, psa_alg2 = PSA_ALG_NONE; in main() local 2797 &psa_alg, &psa_alg2, in main() 2802 psa_alg, psa_usage, psa_alg2 ); in main() 2813 psa_alg = PSA_ALG_NONE; psa_alg2 = PSA_ALG_NONE; in main() 2818 &psa_alg, &psa_alg2, in main() 2823 psa_alg, psa_usage, psa_alg2 ); in main()
|
D | ssl_client2.c | 1852 psa_algorithm_t psa_alg, psa_alg2 = PSA_ALG_NONE; in main() local 1857 &psa_alg, &psa_alg2, in main() 1861 ret = mbedtls_pk_wrap_as_opaque( &pkey, &key_slot, psa_alg, in main()
|
/mbedtls-3.4.0/tests/suites/ |
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_pk.function | 1371 psa_algorithm_t psa_alg; 1397 psa_alg = PSA_ALG_RSA_PKCS1V15_SIGN( psa_md_alg ); 1399 psa_alg = PSA_ALG_RSA_PSS( psa_md_alg ); 1404 TEST_EQUAL( mbedtls_pk_wrap_as_opaque( &pk, &key_id, psa_alg,
|
D | test_suite_ssl.function | 1341 transform->psa_key_enc, transform->psa_alg ); 1667 t_in->psa_alg = alg; 1668 t_out->psa_alg = alg; 1779 psa_algorithm_t psa_alg = mbedtls_hash_info_psa_from_md( 1782 psa_status_t status = psa_hash_compute( psa_alg, tmp_crt.raw.p, 5244 int psa_alg, int psa_alg2, int psa_usage, 5254 options.opaque_alg = psa_alg;
|