/third_party/mbedtls/library/ |
D | ssl_tls13_client.c | 68 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_VERSIONS, p, 0 ); in ssl_tls13_write_supported_versions_ext() 71 MBEDTLS_PUT_UINT16_BE( 3, p, 2 ); in ssl_tls13_write_supported_versions_ext() 165 MBEDTLS_PUT_UINT16_BE( *group_list, p, 0 ); in ssl_tls13_write_named_group_list_ecdhe() 260 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_GROUPS, buf, 0 ); in ssl_tls13_write_supported_groups_ext() 262 MBEDTLS_PUT_UINT16_BE( named_group_list_len + 2, buf, 2 ); in ssl_tls13_write_supported_groups_ext() 264 MBEDTLS_PUT_UINT16_BE( named_group_list_len, buf, 4 ); in ssl_tls13_write_supported_groups_ext() 432 MBEDTLS_PUT_UINT16_BE( group_id, group, 0 ); in ssl_tls13_write_key_share_ext() 434 MBEDTLS_PUT_UINT16_BE( key_exchange_len, group, 2 ); in ssl_tls13_write_key_share_ext() 453 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_KEY_SHARE, buf, 0 ); in ssl_tls13_write_key_share_ext() 455 MBEDTLS_PUT_UINT16_BE( client_shares_len + 2, buf, 2 ); in ssl_tls13_write_key_share_ext() [all …]
|
D | ssl_cli.c | 141 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SERVERNAME, p, 0 ); in mbedtls_ssl_write_hostname_ext() 144 MBEDTLS_PUT_UINT16_BE( hostname_len + 5, p, 0 ); in mbedtls_ssl_write_hostname_ext() 147 MBEDTLS_PUT_UINT16_BE( hostname_len + 3, p, 0 ); in mbedtls_ssl_write_hostname_ext() 152 MBEDTLS_PUT_UINT16_BE( hostname_len, p, 0 ); in mbedtls_ssl_write_hostname_ext() 187 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_RENEGOTIATION_INFO, p, 0 ); in ssl_write_renegotiation_ext() 287 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SIG_ALG, p, 0 ); in ssl_write_signature_algorithms_ext() 290 MBEDTLS_PUT_UINT16_BE( sig_alg_len + 2, p, 0 ); in ssl_write_signature_algorithms_ext() 293 MBEDTLS_PUT_UINT16_BE( sig_alg_len, p, 0 ); in ssl_write_signature_algorithms_ext() 339 MBEDTLS_PUT_UINT16_BE( *group_list, elliptic_curve_list, elliptic_curve_len ); in ssl_write_supported_elliptic_curves_ext() 354 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_ELLIPTIC_CURVES, p, 0 ); in ssl_write_supported_elliptic_curves_ext() [all …]
|
D | ssl_srv.c | 1974 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_CID, p, 0 ); in ssl_write_cid_ext() 1977 MBEDTLS_PUT_UINT16_BE( ext_len, p, 0 ); in ssl_write_cid_ext() 2019 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_ENCRYPT_THEN_MAC, p, 0 ); in ssl_write_encrypt_then_mac_ext() 2045 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_EXTENDED_MASTER_SECRET, p, 0 ); in ssl_write_extended_ms_ext() 2070 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SESSION_TICKET, p, 0 ); in ssl_write_session_ticket_ext() 2094 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_RENEGOTIATION_INFO, p, 0 ); in ssl_write_renegotiation_ext() 2135 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_MAX_FRAGMENT_LENGTH, p, 0 ); in ssl_write_max_fragment_length_ext() 2165 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_POINT_FORMATS, p, 0 ); in ssl_write_supported_point_formats_ext() 2203 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_ECJPAKE_KKPP, p, 0 ); in ssl_write_ecjpake_kkpp_ext() 2215 MBEDTLS_PUT_UINT16_BE( kkpp_len, p, 0 ); in ssl_write_ecjpake_kkpp_ext() [all …]
|
D | common.h | 221 #ifndef MBEDTLS_PUT_UINT16_BE 222 #define MBEDTLS_PUT_UINT16_BE( n, data, offset ) \ macro
|
D | ssl_tls13_generic.c | 196 MBEDTLS_PUT_UINT16_BE( *sig_alg, p, 0 ); in mbedtls_ssl_tls13_write_sig_alg_ext() 210 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SIG_ALG, buf, 0 ); in mbedtls_ssl_tls13_write_sig_alg_ext() 212 MBEDTLS_PUT_UINT16_BE( supported_sig_alg_len + 2, buf, 2 ); in mbedtls_ssl_tls13_write_sig_alg_ext() 214 MBEDTLS_PUT_UINT16_BE( supported_sig_alg_len, buf, 4 ); in mbedtls_ssl_tls13_write_sig_alg_ext()
|
D | ssl_ticket.c | 246 MBEDTLS_PUT_UINT16_BE( clear_len, state_len_bytes, 0 ); in mbedtls_ssl_ticket_write()
|
D | ssl_msg.c | 455 MBEDTLS_PUT_UINT16_BE( ad_len_field, cur, 0 ); in ssl_extract_add_data_from_record() 461 MBEDTLS_PUT_UINT16_BE( ad_len_field, cur, 0 ); in ssl_extract_add_data_from_record() 2313 MBEDTLS_PUT_UINT16_BE( ssl->handshake->out_msg_seq, ssl->out_msg, 4 ); in mbedtls_ssl_write_handshake_msg_ext() 2403 MBEDTLS_PUT_UINT16_BE( len, ssl->out_len, 0); in mbedtls_ssl_write_record() 2443 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->out_len, 0 ); in mbedtls_ssl_write_record() 3019 MBEDTLS_PUT_UINT16_BE( *olen - 13, obuf, 11 ); in ssl_check_dtls_clihlo_cookie() 4416 MBEDTLS_PUT_UINT16_BE( rec.data_len, ssl->in_len, 0 ); in ssl_get_next_record()
|
D | ssl_tls.c | 1488 MBEDTLS_PUT_UINT16_BE( psk_len, p, 0 ); in mbedtls_ssl_psk_derive_premaster() 1529 MBEDTLS_PUT_UINT16_BE( len, p, 0 ); in mbedtls_ssl_psk_derive_premaster() 1550 MBEDTLS_PUT_UINT16_BE( zlen, p, 0 ); in mbedtls_ssl_psk_derive_premaster() 1567 MBEDTLS_PUT_UINT16_BE( psk_len, p, 0 ); in mbedtls_ssl_psk_derive_premaster() 4758 MBEDTLS_PUT_UINT16_BE( session->ciphersuite, p, 0 ); in ssl_session_save_tls12() 5884 MBEDTLS_PUT_UINT16_BE( ssl->mtu, p, 0 ); in mbedtls_ssl_context_save()
|
D | ecp.c | 1015 MBEDTLS_PUT_UINT16_BE( curve_info->tls_id, buf, 0 ); in mbedtls_ecp_tls_write_group()
|
/third_party/mbedtls/docs/architecture/ |
D | tls13-support.md | 307 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_VERSIONS, p, 0 ); 338 MBEDTLS_PUT_UINT16_BE( cipher_suite, cipher_suites_iter, 0 );
|