Searched refs:tls_id (Results 1 – 10 of 10) sorted by relevance
/mbedtls-3.7.0/programs/ssl/ |
D | ssl_test_lib.c | 476 uint16_t tls_id; member 583 for (int i = 0; tls_id_group_name_table[i].tls_id != 0; i++) { in mbedtls_ssl_get_curve_tls_id_from_name() 585 return tls_id_group_name_table[i].tls_id; in mbedtls_ssl_get_curve_tls_id_from_name() 594 for (int i = 0; tls_id_group_name_table[i].tls_id != 0; i++) { in mbedtls_ssl_print_supported_groups_list()
|
/mbedtls-3.7.0/library/ |
D | ssl_tls12_client.c | 1715 uint16_t tls_id; in ssl_parse_server_ecdh_params() local 1742 tls_id = MBEDTLS_GET_UINT16_BE(*p, 0); in ssl_parse_server_ecdh_params() 1746 if (mbedtls_ssl_check_curve_tls_id(ssl, tls_id) != 0) { in ssl_parse_server_ecdh_params() 1749 (unsigned) tls_id)); in ssl_parse_server_ecdh_params() 1754 if (mbedtls_ssl_get_psa_curve_info_from_tls_id(tls_id, &key_type, in ssl_parse_server_ecdh_params() 1789 uint16_t tls_id; in ssl_check_server_ecdh_params() local 1797 tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id); in ssl_check_server_ecdh_params() 1798 if (tls_id == 0) { in ssl_check_server_ecdh_params() 1804 mbedtls_ssl_get_curve_name_from_tls_id(tls_id))); in ssl_check_server_ecdh_params() 2014 uint16_t tls_id = 0; in ssl_get_ecdh_params_from_cert() local [all …]
|
D | ssl_tls.c | 1180 uint16_t tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id( in ssl_handshake_init() local 1182 if (tls_id == 0) { in ssl_handshake_init() 1186 group_list[i] = tls_id; in ssl_handshake_init() 6189 int mbedtls_ssl_check_curve_tls_id(const mbedtls_ssl_context *ssl, uint16_t tls_id) in mbedtls_ssl_check_curve_tls_id() argument 6198 if (*group_list == tls_id) { in mbedtls_ssl_check_curve_tls_id() 6212 uint16_t tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id); in mbedtls_ssl_check_curve() local 6214 if (tls_id == 0) { in mbedtls_ssl_check_curve() 6218 return mbedtls_ssl_check_curve_tls_id(ssl, tls_id); in mbedtls_ssl_check_curve() 6223 uint16_t tls_id; member 6271 int mbedtls_ssl_get_psa_curve_info_from_tls_id(uint16_t tls_id, in mbedtls_ssl_get_psa_curve_info_from_tls_id() argument [all …]
|
D | ssl_misc.h | 1578 int mbedtls_ssl_check_curve_tls_id(const mbedtls_ssl_context *ssl, uint16_t tls_id); 1600 int mbedtls_ssl_get_psa_curve_info_from_tls_id(uint16_t tls_id, 1611 mbedtls_ecp_group_id mbedtls_ssl_get_ecp_group_id_from_tls_id(uint16_t tls_id); 1630 const char *mbedtls_ssl_get_curve_name_from_tls_id(uint16_t tls_id);
|
D | ecp.c | 446 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id(uint16_t tls_id) in mbedtls_ecp_curve_info_from_tls_id() argument 453 if (curve_info->tls_id == tls_id) { in mbedtls_ecp_curve_info_from_tls_id() 930 uint16_t tls_id; in mbedtls_ecp_tls_read_group_id() local 949 tls_id = MBEDTLS_GET_UINT16_BE(*buf, 0); in mbedtls_ecp_tls_read_group_id() 952 if ((curve_info = mbedtls_ecp_curve_info_from_tls_id(tls_id)) == NULL) { in mbedtls_ecp_tls_read_group_id() 988 MBEDTLS_PUT_UINT16_BE(curve_info->tls_id, buf, 0); in mbedtls_ecp_tls_write_group()
|
D | ssl_tls12_server.c | 2599 uint16_t tls_id = 0; in ssl_get_ecdh_params_from_cert() local 2681 tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id); in ssl_get_ecdh_params_from_cert() 2682 if (tls_id == 0) { in ssl_get_ecdh_params_from_cert() 2689 mbedtls_ssl_get_psa_curve_info_from_tls_id(tls_id, &key_type, in ssl_get_ecdh_params_from_cert() 2843 uint16_t tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id( in ssl_prepare_server_key_exchange() local 2845 if (tls_id == 0) { in ssl_prepare_server_key_exchange() 2849 MBEDTLS_PUT_UINT16_BE(tls_id, out_p, 1); in ssl_prepare_server_key_exchange()
|
D | ssl_tls13_generic.c | 1595 uint16_t tls_id, size_t *bits, psa_key_type_t *key_type) in mbedtls_ssl_get_psa_ffdh_info_from_tls_id() argument 1597 switch (tls_id) { in mbedtls_ssl_get_psa_ffdh_info_from_tls_id()
|
/mbedtls-3.7.0/include/mbedtls/ |
D | ecp.h | 142 uint16_t tls_id; /*!< The TLS NamedCurve identifier. */ member 587 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id(uint16_t tls_id);
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_ecp.function | 108 void mbedtls_ecp_curve_info(int id, int tls_id, int size, char *name) 113 by_tls = mbedtls_ecp_curve_info_from_tls_id(tls_id); 827 int tls_id) 836 unsigned char buf[3], ecparameters[3] = { 3, 0, tls_id }; 888 TEST_EQUAL(crv->tls_id, tls_id); 891 crv_tls_id = mbedtls_ecp_curve_info_from_tls_id(crv->tls_id);
|
/mbedtls-3.7.0/docs/ |
D | psa-transition.md | 1242 * The `tls_id` field of `mbedtls_ecp_curve_info`, the constant `MBEDTLS_ECP_TLS_NAMED_CURVE`, and t…
|