Home
last modified time | relevance | path

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

/external/libsrtp2/test/
Dutil.c124 int hex_len; in hex_string_to_octet_string() local
126 hex_len = 0; in hex_string_to_octet_string()
127 while (hex_len < len) { in hex_string_to_octet_string()
130 return hex_len; in hex_string_to_octet_string()
133 hex_len++; in hex_string_to_octet_string()
136 return hex_len; in hex_string_to_octet_string()
139 hex_len++; in hex_string_to_octet_string()
143 return hex_len; in hex_string_to_octet_string()
Dsrtp_driver.c1563 int hex_len = pkt_octet_len - octets_in_rtp_header; in srtp_packet_to_string() local
1584 hdr->ts, hdr->ssrc, octet_string_hex_string(data, hex_len), in srtp_packet_to_string()
/external/mbedtls/tests/src/
Dhelpers.c364 size_t hex_len = strlen( input ); in mbedtls_test_read_mpi_core() local
365 size_t byte_len = ( hex_len + 1 ) / 2; in mbedtls_test_read_mpi_core()
383 if( ( hex_len & 1 ) != 0 ) in mbedtls_test_read_mpi_core()
/external/wpa_supplicant_8/src/ap/
Dwnm_ap.c413 size_t hex_len; in ieee802_11_rx_bss_trans_mgmt_query() local
446 hex_len = 2 * (end - pos) + 1; in ieee802_11_rx_bss_trans_mgmt_query()
447 if (hex_len > 1) { in ieee802_11_rx_bss_trans_mgmt_query()
448 hex = os_malloc(hex_len); in ieee802_11_rx_bss_trans_mgmt_query()
450 wpa_snprintf_hex(hex, hex_len, pos, end - pos); in ieee802_11_rx_bss_trans_mgmt_query()
610 size_t hex_len; in ieee802_11_rx_wnm_coloc_intf_report() local
635 hex_len = 2 * len + 1; in ieee802_11_rx_wnm_coloc_intf_report()
636 hex = os_malloc(hex_len); in ieee802_11_rx_wnm_coloc_intf_report()
639 wpa_snprintf_hex(hex, hex_len, buf, len); in ieee802_11_rx_wnm_coloc_intf_report()
Dwpa_auth_glue.c530 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol() local
531 char *hex = os_malloc(hex_len); in hostapd_wpa_auth_send_eapol()
535 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol()
698 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_ether() local
699 char *hex = os_malloc(hex_len); in hostapd_wpa_auth_send_ether()
703 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_ether()
Ddrv_callbacks.c1465 size_t hex_len = 2 * rx_mgmt->frame_len + 1; in hostapd_mgmt_rx() local
1466 char *hex = os_malloc(hex_len); in hostapd_mgmt_rx()
1469 wpa_snprintf_hex(hex, hex_len, rx_mgmt->frame, in hostapd_mgmt_rx()
Dieee802_1x.c83 size_t hex_len = 2 * len + 1; in ieee802_1x_send() local
84 char *hex = os_malloc(hex_len); in ieee802_1x_send()
87 wpa_snprintf_hex(hex, hex_len, buf, len); in ieee802_1x_send()
Dieee802_11.c5426 int hex_len = len * 2 + 1; in notify_mgmt_frame() local
5427 char *hex = os_malloc(hex_len); in notify_mgmt_frame()
5430 wpa_snprintf_hex(hex, hex_len, buf, len); in notify_mgmt_frame()
5957 size_t hex_len = 2 * len + 1; in ieee802_11_mgmt_cb() local
5958 char *hex = os_malloc(hex_len); in ieee802_11_mgmt_cb()
5961 wpa_snprintf_hex(hex, hex_len, buf, len); in ieee802_11_mgmt_cb()
/external/wpa_supplicant_8/src/eap_peer/
Deap_mschapv2.c438 int hex_len; in eap_mschapv2_failure_txt() local
440 hex_len = os_strchr(pos, ' ') - (char *) pos; in eap_mschapv2_failure_txt()
441 if (hex_len == PASSWD_CHANGE_CHAL_LEN * 2) { in eap_mschapv2_failure_txt()
455 "challenge len %d", hex_len); in eap_mschapv2_failure_txt()
/external/python/setuptools/setuptools/_vendor/tomli/
D_parser.py501 def parse_hex_char(src: str, pos: Pos, hex_len: int) -> tuple[Pos, str]:
502 hex_str = src[pos : pos + hex_len]
503 if len(hex_str) != hex_len or not HEXDIGIT_CHARS.issuperset(hex_str):
505 pos += hex_len
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_glue.c103 size_t hex_len = 2 * len + 1; in wpa_ether_send() local
104 char *hex = os_malloc(hex_len); in wpa_ether_send()
108 wpa_snprintf_hex(hex, hex_len, buf, len); in wpa_ether_send()
Dctrl_iface.c698 size_t hex_len = os_strlen(value); in wpa_supplicant_ctrl_iface_set() local
700 if (hex_len > in wpa_supplicant_ctrl_iface_set()
704 hex_len / 2)) in wpa_supplicant_ctrl_iface_set()
707 dpp_pkex_ephemeral_key_override_len = hex_len / 2; in wpa_supplicant_ctrl_iface_set()
709 size_t hex_len = os_strlen(value); in wpa_supplicant_ctrl_iface_set() local
711 if (hex_len > 2 * sizeof(dpp_protocol_key_override)) in wpa_supplicant_ctrl_iface_set()
714 hex_len / 2)) in wpa_supplicant_ctrl_iface_set()
717 dpp_protocol_key_override_len = hex_len / 2; in wpa_supplicant_ctrl_iface_set()
719 size_t hex_len = os_strlen(value); in wpa_supplicant_ctrl_iface_set() local
721 if (hex_len > 2 * sizeof(dpp_nonce_override)) in wpa_supplicant_ctrl_iface_set()
[all …]
Devents.c5936 size_t hex_len = 2 * rx->frame_len + 1; in wpa_supplicant_event() local
5937 char *hex = os_malloc(hex_len); in wpa_supplicant_event()
5939 wpa_snprintf_hex(hex, hex_len, in wpa_supplicant_event()