Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/library/
H A 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()
1101 selected_identity = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_tls13_parse_server_pre_shared_key_ext()
1660 cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1723 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1743 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1744 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_server_hello()
2095 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_encrypted_extensions()
[all …]
H A Dssl_tls13_server.c389 cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_select_ciphersuite_for_psk()
423 uint16_t cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_select_ciphersuite_for_resumption()
509 identities_len = MBEDTLS_GET_UINT16_BE(identities, 0); in ssl_tls13_parse_pre_shared_key_ext()
520 binders_len = MBEDTLS_GET_UINT16_BE(binders, 0); in ssl_tls13_parse_pre_shared_key_ext()
547 identity_len = MBEDTLS_GET_UINT16_BE(p_identity_len, 0); in ssl_tls13_parse_pre_shared_key_ext()
791 named_group_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
800 named_group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
861 client_shares_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
886 group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
887 key_exchange_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_key_shares_ext()
[all …]
H A Dssl_tls13_generic.c112 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
124 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
125 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
241 algorithm = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
290 signature_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
547 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
565 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
566 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_parse_certificate()
1501 uint16_t peerkey_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_read_public_xxdhe_share()
1713 record_size_limit = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_record_size_limit_ext()
H A Dalignment.h346 #define MBEDTLS_GET_UINT16_BE(data, offset) \ macro
H A Dssl_tls12_server.c230 uint16_t curr_tls_id = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_supported_groups_ext()
1090 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1102 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1604 if (MBEDTLS_GET_UINT16_BE(p, 0) != ciphersuites[i]) { in ssl_parse_client_hello()
1623 if (MBEDTLS_GET_UINT16_BE(p, 0) != ciphersuites[i]) { in ssl_parse_client_hello()
H A Dssl_tls12_client.c1125 dtls_legacy_version = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_hello_verify_request()
2247 uint16_t read_tls_id = MBEDTLS_GET_UINT16_BE(p, 1); in ssl_parse_server_key_exchange()
2323 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_server_key_exchange()
2643 dni_len = MBEDTLS_GET_UINT16_BE(dn + i, 0); in ssl_parse_certificate_request()
H A Dssl_tls.c2577 session->ciphersuite = MBEDTLS_GET_UINT16_BE(p, 1); in ssl_tls13_session_load()
2614 hostname_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
2647 session->ticket_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
5945 supported_sig_algs_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
5955 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
6424 other_secret_len = MBEDTLS_GET_UINT16_BE(handshake->premaster, 0); in ssl_compute_master()
9369 server_name_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_server_name_ext()
9376 hostname_len = MBEDTLS_GET_UINT16_BE(p, 1); in mbedtls_ssl_parse_server_name_ext()
9442 protocol_name_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_alpn_ext()
H A Dssl_msg.c3526 epoch = MBEDTLS_GET_UINT16_BE(in, 3); in mbedtls_ssl_check_dtls_clihlo_cookie()
6098 uint16_t tls_version = MBEDTLS_GET_UINT16_BE(version, 0); in mbedtls_ssl_read_version()
H A Decp.c949 tls_id = MBEDTLS_GET_UINT16_BE(*buf, 0); in mbedtls_ecp_tls_read_group_id()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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()
1663 cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1726 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1746 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1747 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_server_hello()
2074 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_encrypted_extensions()
[all …]
H A Dssl_tls13_generic.c112 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
124 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
125 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts()
241 algorithm = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
290 signature_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_certificate_verify()
547 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
565 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_certificate()
566 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in mbedtls_ssl_tls13_parse_certificate()
1574 uint16_t peerkey_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_read_public_xxdhe_share()
1797 record_size_limit = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_tls13_parse_record_size_limit_ext()
H A Dssl_tls13_server.c68 uint16_t id = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_select_ciphersuite()
545 identities_len = MBEDTLS_GET_UINT16_BE(identities, 0); in ssl_tls13_parse_pre_shared_key_ext()
556 binders_len = MBEDTLS_GET_UINT16_BE(binders, 0); in ssl_tls13_parse_pre_shared_key_ext()
584 identity_len = MBEDTLS_GET_UINT16_BE(p_identity_len, 0); in ssl_tls13_parse_pre_shared_key_ext()
850 named_group_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
859 named_group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_supported_groups_ext()
920 client_shares_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
945 group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_shares_ext()
946 key_exchange_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_key_shares_ext()
1342 cipher_suites_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_client_hello()
[all …]
H A Dssl_tls12_client.c944 list_len = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_parse_alpn_ext()
1125 dtls_legacy_version = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_hello_verify_request()
1308 ext_len = MBEDTLS_GET_UINT16_BE(buf, 38 + n); in ssl_parse_server_hello()
1329 i = (int) MBEDTLS_GET_UINT16_BE(buf, n + 35); in ssl_parse_server_hello()
1450 unsigned int ext_id = MBEDTLS_GET_UINT16_BE(ext, 0); in ssl_parse_server_hello()
1451 unsigned int ext_size = MBEDTLS_GET_UINT16_BE(ext, 2); in ssl_parse_server_hello()
1742 tls_id = MBEDTLS_GET_UINT16_BE(*p, 0); in ssl_parse_server_ecdh_params()
1883 len = MBEDTLS_GET_UINT16_BE(*p, 0); in ssl_parse_server_psk_hint()
2244 uint16_t read_tls_id = MBEDTLS_GET_UINT16_BE(p, 1); in ssl_parse_server_key_exchange()
2320 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_parse_server_key_exchange()
[all …]
H A 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()
960 MBEDTLS_GET_UINT16_BE(ssl->in_len, 0))); in ssl_parse_client_hello()
996 msg_len = MBEDTLS_GET_UINT16_BE(ssl->in_len, 0); in ssl_parse_client_hello()
1090 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1102 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1255 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello()
1303 ext_len = MBEDTLS_GET_UINT16_BE(buf, ext_offset); in ssl_parse_client_hello()
1327 ext_id = MBEDTLS_GET_UINT16_BE(ext, 0); in ssl_parse_client_hello()
1328 ext_size = MBEDTLS_GET_UINT16_BE(ext, 2); in ssl_parse_client_hello()
[all …]
H A 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()
6622 supported_sig_algs_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
6632 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
7101 other_secret_len = MBEDTLS_GET_UINT16_BE(handshake->premaster, 0); in ssl_compute_master()
7765 n = MBEDTLS_GET_UINT16_BE(ssl->in_msg, i + 1); in ssl_parse_certificate_chain()
[all …]
H A 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()
6311 uint16_t tls_version = MBEDTLS_GET_UINT16_BE(version, 0); in mbedtls_ssl_read_version()
H A Dalignment.h521 #define MBEDTLS_GET_UINT16_BE(data, offset) \ macro
H A Dssl_ticket.c454 enc_len = MBEDTLS_GET_UINT16_BE(enc_len_p, 0); in mbedtls_ssl_ticket_parse()
H A Ddhm.c51 n = MBEDTLS_GET_UINT16_BE(*p, 0); in dhm_read_bignum()
H A Decp.c949 tls_id = MBEDTLS_GET_UINT16_BE(*buf, 0); in mbedtls_ecp_tls_read_group_id()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_alignment.function260 read = MBEDTLS_GET_UINT16_BE(x, offset);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_alignment.function260 read = MBEDTLS_GET_UINT16_BE(x, offset);
/aosp_15_r20/external/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c2223 size_t extensions_len = MBEDTLS_GET_UINT16_BE(p_extensions_len, 0); in mbedtls_test_tweak_tls13_certificate_msg_vector_len()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/test_helpers/
H A Dssl_helpers.c2398 size_t extensions_len = MBEDTLS_GET_UINT16_BE(p_extensions_len, 0); in mbedtls_test_tweak_tls13_certificate_msg_vector_len()