Home
last modified time | relevance | path

Searched refs:MBEDTLS_GET_UINT16_BE (Results 1 – 13 of 13) sorted by relevance

/mbedtls-latest/library/
Dssl_tls13_client.c151 protocol_name_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_alpn_ext()
394 selected_group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_hrr_key_share_ext()
478 group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_share_ext()
539 cookie_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_cookie_ext()
1085 selected_identity = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_tls13_parse_server_pre_shared_key_ext()
1668 cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1731 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1751 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1752 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_server_hello()
2079 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_encrypted_extensions()
[all …]
Dssl_tls13_generic.c120 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
132 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
133 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
251 algorithm = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
300 signature_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
558 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
576 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
577 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_parse_certificate()
1475 uint16_t peerkey_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_read_public_xxdhe_share()
1698 record_size_limit = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_record_size_limit_ext()
Dssl_tls13_server.c68 uint16_t id = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_select_ciphersuite()
546 identities_len = MBEDTLS_GET_UINT16_BE(identities, 0); in ssl_tls13_parse_pre_shared_key_ext()
557 binders_len = MBEDTLS_GET_UINT16_BE(binders, 0); in ssl_tls13_parse_pre_shared_key_ext()
583 identity_len = MBEDTLS_GET_UINT16_BE(p_identity_len, 0); in ssl_tls13_parse_pre_shared_key_ext()
849 named_group_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
858 named_group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
919 client_shares_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
944 group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
945 key_exchange_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_key_shares_ext()
1341 cipher_suites_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_client_hello()
[all …]
Dssl_tls12_client.c946 list_len = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_parse_alpn_ext()
1127 dtls_legacy_version = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_hello_verify_request()
1310 ext_len = MBEDTLS_GET_UINT16_BE(buf, 38 + n); in ssl_parse_server_hello()
1331 i = (int) MBEDTLS_GET_UINT16_BE(buf, n + 35); in ssl_parse_server_hello()
1452 unsigned int ext_id = MBEDTLS_GET_UINT16_BE(ext, 0); in ssl_parse_server_hello()
1453 unsigned int ext_size = MBEDTLS_GET_UINT16_BE(ext, 2); in ssl_parse_server_hello()
1744 tls_id = MBEDTLS_GET_UINT16_BE(*p, 0); in ssl_parse_server_ecdh_params()
1885 len = MBEDTLS_GET_UINT16_BE(*p, 0); in ssl_parse_server_psk_hint()
2246 uint16_t read_tls_id = MBEDTLS_GET_UINT16_BE(p, 1); in ssl_parse_server_key_exchange()
2322 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_server_key_exchange()
[all …]
Dssl_tls12_server.c195 list_size = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_parse_supported_groups_ext()
230 uint16_t curr_tls_id = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_supported_groups_ext()
962 MBEDTLS_GET_UINT16_BE(ssl->in_len, 0))); in ssl_parse_client_hello()
998 msg_len = MBEDTLS_GET_UINT16_BE(ssl->in_len, 0); in ssl_parse_client_hello()
1092 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1104 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1257 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello()
1305 ext_len = MBEDTLS_GET_UINT16_BE(buf, ext_offset); in ssl_parse_client_hello()
1329 ext_id = MBEDTLS_GET_UINT16_BE(ext, 0); in ssl_parse_client_hello()
1330 ext_size = MBEDTLS_GET_UINT16_BE(ext, 2); in ssl_parse_client_hello()
[all …]
Dssl_tls.c3938 session->record_size_limit = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
3959 alpn_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
3985 hostname_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4017 session->ticket_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4422 session->ciphersuite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_session_load()
5423 ssl->mtu = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_context_load()
6587 supported_sig_algs_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
6597 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
7066 other_secret_len = MBEDTLS_GET_UINT16_BE(handshake->premaster, 0); in ssl_compute_master()
7730 n = MBEDTLS_GET_UINT16_BE(ssl->in_msg, i + 1); in ssl_parse_certificate_chain()
[all …]
Dssl_msg.c3239 unsigned int recv_msg_seq = MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in mbedtls_ssl_prepare_handshake_record()
3515 epoch = MBEDTLS_GET_UINT16_BE(in, 3); in mbedtls_ssl_check_dtls_clihlo_cookie()
3854 rec->data_len = MBEDTLS_GET_UINT16_BE(buf, rec_hdr_len_offset); in ssl_parse_record_header()
3882 rec_epoch = MBEDTLS_GET_UINT16_BE(rec->ctr, 0); in ssl_parse_record_header()
3932 unsigned int rec_epoch = MBEDTLS_GET_UINT16_BE(ssl->in_ctr, 0); in ssl_check_client_reconnect()
4430 unsigned recv_msg_seq = MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_buffer_message()
6320 uint16_t tls_version = MBEDTLS_GET_UINT16_BE(version, 0); in mbedtls_ssl_read_version()
Dalignment.h521 #define MBEDTLS_GET_UINT16_BE(data, offset) \ macro
Dssl_ticket.c454 enc_len = MBEDTLS_GET_UINT16_BE(enc_len_p, 0); in mbedtls_ssl_ticket_parse()
Ddhm.c51 n = MBEDTLS_GET_UINT16_BE(*p, 0); in dhm_read_bignum()
Decp.c949 tls_id = MBEDTLS_GET_UINT16_BE(*buf, 0); in mbedtls_ecp_tls_read_group_id()
/mbedtls-latest/tests/suites/
Dtest_suite_alignment.function260 read = MBEDTLS_GET_UINT16_BE(x, offset);
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c2417 size_t extensions_len = MBEDTLS_GET_UINT16_BE(p_extensions_len, 0); in mbedtls_test_tweak_tls13_certificate_msg_vector_len()