Home
last modified time | relevance | path

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

/external/srtp/crypto/math/
Ddatatypes.c175 int hex_len; in hex_string_to_octet_string() local
177 hex_len = 0; in hex_string_to_octet_string()
178 while (hex_len < len) { in hex_string_to_octet_string()
181 return hex_len; in hex_string_to_octet_string()
183 hex_len++; in hex_string_to_octet_string()
186 return hex_len; in hex_string_to_octet_string()
188 hex_len++; in hex_string_to_octet_string()
192 return hex_len; in hex_string_to_octet_string()
Dmath.c437 int hex_len; in hex_string_to_octet_string() local
439 hex_len = 0; in hex_string_to_octet_string()
440 while (hex_len < len) { in hex_string_to_octet_string()
443 return hex_len; in hex_string_to_octet_string()
445 hex_len++; in hex_string_to_octet_string()
448 return hex_len; in hex_string_to_octet_string()
450 hex_len++; in hex_string_to_octet_string()
454 return hex_len; in hex_string_to_octet_string()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_glue.c333 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol() local
334 char *hex = os_malloc(hex_len); in hostapd_wpa_auth_send_eapol()
338 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol()
455 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_ether() local
456 char *hex = os_malloc(hex_len); in hostapd_wpa_auth_send_ether()
460 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_ether()
Ddrv_callbacks.c853 size_t hex_len = 2 * rx_mgmt->frame_len + 1; in hostapd_mgmt_rx() local
854 char *hex = os_malloc(hex_len); in hostapd_mgmt_rx()
857 wpa_snprintf_hex(hex, hex_len, rx_mgmt->frame, in hostapd_mgmt_rx()
Dieee802_1x.c74 size_t hex_len = 2 * len + 1; in ieee802_1x_send() local
75 char *hex = os_malloc(hex_len); in ieee802_1x_send()
78 wpa_snprintf_hex(hex, hex_len, buf, len); in ieee802_1x_send()
/external/wpa_supplicant_8/src/eap_peer/
Deap_mschapv2.c434 int hex_len; in eap_mschapv2_failure_txt() local
436 hex_len = os_strchr(pos, ' ') - (char *) pos; in eap_mschapv2_failure_txt()
437 if (hex_len == PASSWD_CHANGE_CHAL_LEN * 2) { in eap_mschapv2_failure_txt()
451 "challenge len %d", hex_len); in eap_mschapv2_failure_txt()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_glue.c101 size_t hex_len = 2 * len + 1; in wpa_ether_send() local
102 char *hex = os_malloc(hex_len); in wpa_ether_send()
106 wpa_snprintf_hex(hex, hex_len, buf, len); in wpa_ether_send()
Devents.c3689 size_t hex_len = 2 * rx->frame_len + 1; local
3690 char *hex = os_malloc(hex_len);
3692 wpa_snprintf_hex(hex, hex_len,
/external/srtp/test/
Dsrtp_driver.c1074 int hex_len = pkt_octet_len-octets_in_rtp_header; in srtp_packet_to_string() local
1103 octet_string_hex_string(data, hex_len), in srtp_packet_to_string()