/external/wpa_supplicant_8/src/utils/ |
uuid.c | 22 if (hexstr2bin(pos, opos, 4)) 27 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 32 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 37 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 42 if (*pos++ != '-' || hexstr2bin(pos, opos, 6))
|
common.c | 122 * hexstr2bin - Convert ASCII hex string into binary data 129 int hexstr2bin(const char *hex, u8 *buf, size_t len) function 556 if (hexstr2bin(value, str, tlen)) {
|
common.h | 466 int hexstr2bin(const char *hex, u8 *buf, size_t len);
|
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 163 hexstr2bin(argv[i], m->ki, sizeof(m->ki))) { 169 hexstr2bin(argv[i], m->opc, sizeof(m->opc))) { 175 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) { 181 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) { 323 if (strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { 339 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) { 351 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) { 461 if (strlen(pos) != 32 || hexstr2bin(pos, m->ki, 16)) { 476 if (strlen(pos) != 32 || hexstr2bin(pos, m->opc, 16)) { 491 if (strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) [all...] |
config_file.c | 404 if (hexstr2bin(pos, user->password, 16) < 0) { 428 if (hexstr2bin(pos, user->password, 543 if (hexstr2bin(pos, wpabuf_put(attr->val, len), len) < 0) { 700 if (hexstr2bin(val, wep->key[keyidx], len) < 0) 915 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) { 960 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) { 1266 hexstr2bin(pos, oi, len / 2)) { [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
mschapv2.c | 118 hexstr2bin((char *) (buf + 2), recv_response,
|
eap_wsc.c | 80 hexstr2bin(pos, cred->ssid, len / 2)) { 130 hexstr2bin(pos, cred->key, len / 2)) {
|
eap_aka.c | 172 if (hexstr2bin(pos, k, 16)) 179 if (hexstr2bin(pos, opc, 16)) 186 if (hexstr2bin(pos, sqn, 6)) [all...] |
eap_sim.c | 185 if (hexstr2bin(pos, k, 16)) 192 if (hexstr2bin(pos, opc, 16))
|
eap_mschapv2.c | 433 if (hexstr2bin(pos, data->passwd_change_challenge,
|
eap_fast_pac.c | 246 if (hexstr2bin(value, buf, *len)) {
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.c | 317 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk)); 319 hexstr2bin(argv[i], reauth->k_encr, 322 hexstr2bin(argv[i], reauth->k_aut, 325 hexstr2bin(argv[i], reauth->k_re, 441 if (hexstr2bin(start, entry->u.sim.kc[num_chal], 450 if (hexstr2bin(start, entry->u.sim.sres[num_chal], 455 if (hexstr2bin(start, entry->u.sim.rand[num_chal], 513 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN)) 521 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN)) 529 if (hexstr2bin(start, entry->u.aka.ik, EAP_AKA_IK_LEN) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 201 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) { 490 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
|
wifi_display.c | 220 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) {
|
ctrl_iface.c | 232 hexstr2bin(pos, ssid[ssid_count].ssid, 873 if (hexstr2bin(pos, wpabuf_put(buf, len), len) < 0) { 1000 if (hexstr2bin(cmd, wpabuf_put(buf, len), len) < 0) { 1027 if (hexstr2bin(cmd, wpabuf_put(buf, len), len) < 0) { 1072 if (hexstr2bin(pos, wpabuf_put(req, len), len) < 0) { 1089 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) { [all...] |
config.c | 336 if (hexstr2bin(value, ssid->psk, PMK_LEN) || 1119 if (hexstr2bin(value + 5, hash, 16)) { 1408 if (hexstr2bin(pos, p->psk, PMK_LEN) || pos[PMK_LEN * 2] != '\0') { [all...] |
wps_supplicant.c | 427 if (hexstr2bin((char *) cred->key, 485 if (hexstr2bin((const char *) cred->key, ssid->psk, [all...] |
config_winreg.c | 192 if (hexstr2bin(str, config->os_version, 4))
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
driver_mac80211.c | 150 hexstr2bin(spos, data.assoc_info.req_ies, bytes); 172 hexstr2bin(spos, data.assoc_info.resp_ies, bytes); 1053 hexstr2bin(spos, tmp + res->ie_len, bytes); 1069 hexstr2bin(spos, tmp + res->ie_len, bytes); 1083 hexstr2bin(spos, bin, bytes); [all...] |
/external/wpa_supplicant_8/src/ap/ |
wps_hostapd.c | 357 hexstr2bin((const char *) cred->key, 384 hexstr2bin((const char *) cred->key, [all...] |
ap_config.c | 259 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0)
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.c | 177 if (hexstr2bin(bssid_txt, bssid, ETH_ALEN) < 0)
|
/external/wpa_supplicant_8/src/drivers/ |
driver_wext.c | 262 hexstr2bin(spos, req_ies, bytes) < 0) 282 hexstr2bin(spos, resp_ies, bytes) < 0) [all...] |
driver_test.c | 544 if (hexstr2bin(data, ie, ielen) < 0) 624 if (hexstr2bin(pos, ssid, ssid_len) < 0) { 636 if (hexstr2bin(pos, ie, ielen) < 0) [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 466 if (hexstr2bin(pos, &dev_type[2], 4))
|