/mbedtls-3.7.0/library/ |
D | ssl_client.c | 46 MBEDTLS_SSL_CHK_BUF_PTR(p, end, hostname_len + 9); in ssl_write_hostname_ext() 133 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_write_alpn_ext() 152 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 1 + protocol_name_len); in ssl_write_alpn_ext() 237 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_write_supported_groups_ext() 278 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_write_supported_groups_ext() 343 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_write_client_hello_cipher_suites() 374 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_write_client_hello_cipher_suites() 388 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_write_client_hello_cipher_suites() 471 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_write_client_hello_body() 484 MBEDTLS_SSL_CHK_BUF_PTR(p, end, MBEDTLS_CLIENT_HELLO_RANDOM_LEN); in ssl_write_client_hello_body() [all …]
|
D | ssl_tls13_server.c | 756 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_tls13_write_server_pre_shared_key_ext() 2047 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, 6); in ssl_tls13_write_server_hello_supported_versions_ext() 2147 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 8); in ssl_tls13_write_key_share_ext() 2219 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, 6); in ssl_tls13_write_hrr_key_share_ext() 2270 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_tls13_write_server_hello_body() 2280 MBEDTLS_SSL_CHK_BUF_PTR(p, end, MBEDTLS_SERVER_HELLO_RANDOM_LEN); in ssl_tls13_write_server_hello_body() 2296 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 1 + ssl->session_negotiate->id_len); in ssl_tls13_write_server_hello_body() 2313 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_tls13_write_server_hello_body() 2326 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 1); in ssl_tls13_write_server_hello_body() 2337 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in ssl_tls13_write_server_hello_body() [all …]
|
D | ssl_tls13_generic.c | 879 MBEDTLS_SSL_CHK_BUF_PTR(p, end, certificate_request_context_len + 1); in ssl_tls13_write_certificate_body() 890 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 3); in ssl_tls13_write_certificate_body() 899 MBEDTLS_SSL_CHK_BUF_PTR(p, end, cert_data_len + 3 + 2); in ssl_tls13_write_certificate_body() 1049 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4); in ssl_tls13_write_certificate_verify_body() 1294 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, verify_data_len); in ssl_tls13_write_finished_message_body() 1369 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, 1); in ssl_tls13_write_change_cipher_spec_body() 1437 MBEDTLS_SSL_CHK_BUF_PTR(p, end, needed); in mbedtls_ssl_tls13_write_early_data_ext() 1834 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in mbedtls_ssl_tls13_write_record_size_limit_ext()
|
D | ssl_tls13_client.c | 65 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 5 + versions_len); in ssl_tls13_write_supported_versions_ext() 282 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_tls13_write_key_share_ext() 316 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4); in ssl_tls13_write_key_share_ext() 580 MBEDTLS_SSL_CHK_BUF_PTR(p, end, handshake->cookie_len + 6); in ssl_tls13_write_cookie_ext() 632 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 7); in ssl_tls13_write_psk_key_exchange_modes_ext() 809 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, 6 + identity_len); in ssl_tls13_write_identity() 845 MBEDTLS_SSL_CHK_BUF_PTR(buf, end, 1 + binder_len); in ssl_tls13_write_binder() 925 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() 979 MBEDTLS_SSL_CHK_BUF_PTR(p, end, l_binders_len); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() 1011 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext()
|
D | ssl_cookie.c | 166 MBEDTLS_SSL_CHK_BUF_PTR(*p, end, COOKIE_HMAC_LEN); in ssl_cookie_hmac() 202 MBEDTLS_SSL_CHK_BUF_PTR(*p, end, COOKIE_LEN); in mbedtls_ssl_cookie_write()
|
D | ssl_tls12_client.c | 70 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 5 + ssl->verify_data_len); in ssl_write_renegotiation_ext() 107 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_write_supported_point_formats_ext() 153 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4); in ssl_write_ecjpake_kkpp_ext() 200 MBEDTLS_SSL_CHK_BUF_PTR(p + 2, end, kkpp_len); in ssl_write_ecjpake_kkpp_ext() 239 MBEDTLS_SSL_CHK_BUF_PTR(p, end, (unsigned) (ssl->own_cid_len + 5)); in ssl_write_cid_ext() 275 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 5); in ssl_write_max_fragment_length_ext() 309 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4); in ssl_write_encrypt_then_mac_ext() 341 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4); in ssl_write_extended_ms_ext() 375 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 4 + tlen); in ssl_write_session_ticket_ext() 443 MBEDTLS_SSL_CHK_BUF_PTR(p, end, ext_len + 4); in ssl_write_use_srtp_ext()
|
D | ssl_ticket.c | 327 MBEDTLS_SSL_CHK_BUF_PTR(start, end, TICKET_MIN_LEN); in mbedtls_ssl_ticket_write()
|
D | ssl_misc.h | 543 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ macro
|
D | ssl_tls.c | 9600 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in mbedtls_ssl_write_sig_alg_ext() 9619 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 2); in mbedtls_ssl_write_sig_alg_ext() 9813 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 7 + protocol_name_len); in mbedtls_ssl_write_alpn_ext()
|
/mbedtls-3.7.0/docs/architecture/ |
D | tls13-support.md | 230 `MBEDTLS_SSL_CHK_BUF_PTR`. 238 The two last types, `MBEDTLS_SSL_CHK_BUF_PTR` and 249 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 7 ); 278 MBEDTLS_SSL_CHK_BUF_PTR( cipher_suites_iter, end, 2 );
|