Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_tls13_client.c151 protocol_name_list_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_alpn_ext()
395 selected_group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_hrr_key_share_ext()
479 group = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_key_share_ext()
540 cookie_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_cookie_ext()
1086 selected_identity = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_tls13_parse_server_pre_shared_key_ext()
1669 cipher_suite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1732 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1752 extension_type = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_server_hello()
1753 extension_data_len = MBEDTLS_GET_UINT16_BE(p, 2); in ssl_tls13_parse_server_hello()
2080 extensions_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_parse_encrypted_extensions()
[all …]
H A 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()
H A 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 …]
H A 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 …]
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()
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()
1070 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1082 unsigned int cli_msg_seq = (unsigned int) MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_parse_client_hello()
1235 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello()
1283 ext_len = MBEDTLS_GET_UINT16_BE(buf, ext_offset); in ssl_parse_client_hello()
1307 ext_id = MBEDTLS_GET_UINT16_BE(ext, 0); in ssl_parse_client_hello()
1308 ext_size = MBEDTLS_GET_UINT16_BE(ext, 2); in ssl_parse_client_hello()
[all …]
H A Dalignment.h521 #define MBEDTLS_GET_UINT16_BE(data, offset) \ macro
H A Dssl_tls.c3999 session->record_size_limit = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4020 alpn_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4046 hostname_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4078 session->ticket_len = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_tls13_session_load()
4483 session->ciphersuite = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_session_load()
5484 ssl->mtu = MBEDTLS_GET_UINT16_BE(p, 0); in ssl_context_load()
6646 supported_sig_algs_len = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
6656 sig_alg = MBEDTLS_GET_UINT16_BE(p, 0); in mbedtls_ssl_parse_sig_alg_ext()
7125 other_secret_len = MBEDTLS_GET_UINT16_BE(handshake->premaster, 0); in ssl_compute_master()
7789 n = MBEDTLS_GET_UINT16_BE(ssl->in_msg, i + 1); in ssl_parse_certificate_chain()
[all …]
H A Dssl_ticket.c454 enc_len = MBEDTLS_GET_UINT16_BE(enc_len_p, 0); in mbedtls_ssl_ticket_parse()
H A Dssl_msg.c3255 unsigned int recv_msg_seq = MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in mbedtls_ssl_prepare_handshake_record()
3624 epoch = MBEDTLS_GET_UINT16_BE(in, 3); in mbedtls_ssl_check_dtls_clihlo_cookie()
3963 rec->data_len = MBEDTLS_GET_UINT16_BE(buf, rec_hdr_len_offset); in ssl_parse_record_header()
3992 rec_epoch = MBEDTLS_GET_UINT16_BE(rec->ctr, 0); in ssl_parse_record_header()
4042 unsigned int rec_epoch = MBEDTLS_GET_UINT16_BE(ssl->in_ctr, 0); in ssl_check_client_reconnect()
4540 unsigned recv_msg_seq = MBEDTLS_GET_UINT16_BE(ssl->in_msg, 4); in ssl_buffer_message()
6458 uint16_t tls_version = MBEDTLS_GET_UINT16_BE(version, 0); in mbedtls_ssl_read_version()
H A Ddhm.c51 n = MBEDTLS_GET_UINT16_BE(*p, 0); in dhm_read_bignum()
H A Decp.c953 tls_id = MBEDTLS_GET_UINT16_BE(*buf, 0); in mbedtls_ecp_tls_read_group_id()