Home
last modified time | relevance | path

Searched refs:MBEDTLS_PUT_UINT16_BE (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/library/
Dssl_tls13_client.c68 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 …]
Dssl_cli.c141 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 …]
Dssl_srv.c1974 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 …]
Dcommon.h221 #ifndef MBEDTLS_PUT_UINT16_BE
222 #define MBEDTLS_PUT_UINT16_BE( n, data, offset ) \ macro
Dssl_tls13_generic.c196 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()
Dssl_ticket.c246 MBEDTLS_PUT_UINT16_BE( clear_len, state_len_bytes, 0 ); in mbedtls_ssl_ticket_write()
Dssl_msg.c455 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()
Dssl_tls.c1488 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()
Decp.c1015 MBEDTLS_PUT_UINT16_BE( curve_info->tls_id, buf, 0 ); in mbedtls_ecp_tls_write_group()
/third_party/mbedtls/docs/architecture/
Dtls13-support.md307 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_VERSIONS, p, 0 );
338 MBEDTLS_PUT_UINT16_BE( cipher_suite, cipher_suites_iter, 0 );