Searched refs:peer_cid_len (Results 1 – 7 of 7) sorted by relevance
/mbedtls-3.5.0/library/ |
D | ssl_tls12_client.c | 690 size_t peer_cid_len; in ssl_parse_cid_ext() local 709 peer_cid_len = *buf++; in ssl_parse_cid_ext() 712 if (peer_cid_len > MBEDTLS_SSL_CID_OUT_LEN_MAX) { in ssl_parse_cid_ext() 719 if (len != peer_cid_len) { in ssl_parse_cid_ext() 727 ssl->handshake->peer_cid_len = (uint8_t) peer_cid_len; in ssl_parse_cid_ext() 728 memcpy(ssl->handshake->peer_cid, buf, peer_cid_len); in ssl_parse_cid_ext() 731 MBEDTLS_SSL_DEBUG_BUF(3, "Server CID", buf, peer_cid_len); in ssl_parse_cid_ext()
|
D | ssl_tls12_server.c | 367 size_t peer_cid_len; in ssl_parse_cid_ext() local 390 peer_cid_len = *buf++; in ssl_parse_cid_ext() 393 if (len != peer_cid_len) { in ssl_parse_cid_ext() 408 if (peer_cid_len > MBEDTLS_SSL_CID_OUT_LEN_MAX) { in ssl_parse_cid_ext() 416 ssl->handshake->peer_cid_len = (uint8_t) peer_cid_len; in ssl_parse_cid_ext() 417 memcpy(ssl->handshake->peer_cid, buf, peer_cid_len); in ssl_parse_cid_ext() 420 MBEDTLS_SSL_DEBUG_BUF(3, "Client CID", buf, peer_cid_len); in ssl_parse_cid_ext()
|
D | ssl_tls.c | 174 size_t *peer_cid_len) in mbedtls_ssl_get_peer_cid() argument 192 if (peer_cid_len != NULL) { in mbedtls_ssl_get_peer_cid() 193 *peer_cid_len = ssl->transform_in->out_cid_len; in mbedtls_ssl_get_peer_cid() 8354 transform->out_cid_len = ssl->handshake->peer_cid_len; in ssl_tls12_populate_transform() 8356 ssl->handshake->peer_cid_len); in ssl_tls12_populate_transform()
|
D | ssl_misc.h | 898 uint8_t peer_cid_len; /*!< The length of member
|
/mbedtls-3.5.0/programs/ssl/ |
D | ssl_client2.c | 616 size_t peer_cid_len; in report_cid_usage() local 653 NULL, &peer_cid_len); in report_cid_usage() 662 peer_cid, &peer_cid_len); in report_cid_usage() 670 (unsigned) peer_cid_len); in report_cid_usage() 671 while (idx < peer_cid_len) { in report_cid_usage()
|
D | ssl_server2.c | 1342 size_t peer_cid_len; in report_cid_usage() local 1351 peer_cid, &peer_cid_len); in report_cid_usage() 1369 (unsigned) peer_cid_len); in report_cid_usage() 1370 while (idx < peer_cid_len) { in report_cid_usage()
|
/mbedtls-3.5.0/include/mbedtls/ |
D | ssl.h | 2288 size_t *peer_cid_len);
|