Searched refs:hexstr2bin (Results 1 - 25 of 78) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/src/utils/
H A Duuid.c22 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))
H A Dwpabuf.c334 if (hexstr2bin(buf, wpabuf_put(ret, len), len)) {
/external/wpa_supplicant_8/src/utils/
H A Duuid.c22 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))
H A Dwpabuf.c334 if (hexstr2bin(buf, wpabuf_put(ret, len), len)) {
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Duuid.c22 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))
H A Dwpabuf.c334 if (hexstr2bin(buf, wpabuf_put(ret, len), len)) {
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_module_tests.c282 if (hexstr2bin(test->data, wpabuf_put(buf, len), len) < 0) {
/external/wpa_supplicant_8/src/wps/
H A Dwps_module_tests.c282 if (hexstr2bin(test->data, wpabuf_put(buf, len), len) < 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_module_tests.c282 if (hexstr2bin(test->data, wpabuf_put(buf, len), len) < 0) {
/external/wpa_supplicant_8/hostapd/
H A Dhlr_auc_gw.c174 hexstr2bin(argv[i], m->ki, sizeof(m->ki))) {
180 hexstr2bin(argv[i], m->opc, sizeof(m->opc))) {
186 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) {
192 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) {
326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) {
335 hexstr2bin(pos, g->sres, 4)) {
344 hexstr2bin(pos, g->_rand, 16)) {
439 hexstr2bin(pos, m->ki, 16)) {
448 hexstr2bin(pos, m->opc, 16)) {
456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(po
[all...]
H A Dconfig_file.c461 if (hexstr2bin(pos, user->password, 16) < 0) {
485 if (hexstr2bin(pos, user->password,
604 if (hexstr2bin(pos, wpabuf_put(attr->val, len), len) < 0) {
798 if (hexstr2bin(val, wep->key[keyidx], len) < 0)
1035 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) {
1080 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) {
1247 hexstr2bin(pos, oi, len / 2)) {
1566 if (hexstr2bin(delim, wpabuf_put(payload, len), len) < 0) {
1686 if (hexstr2bin(pos, wan_metrics, 1) < 0)
2208 } else if (hexstr2bin(po
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Dmschapv2.c118 hexstr2bin((char *) (buf + 2), recv_response,
H A Deap_aka.c192 if (hexstr2bin(pos, data->auts, EAP_AKA_AUTS_LEN) < 0)
209 if (hexstr2bin(pos, data->ik, EAP_AKA_IK_LEN) < 0)
217 if (hexstr2bin(pos, data->ck, EAP_AKA_CK_LEN) < 0)
230 if (hexstr2bin(pos, data->res, data->res_len) < 0)
279 if (hexstr2bin(pos, k, 16))
286 if (hexstr2bin(pos, opc, 16))
293 if (hexstr2bin(pos, sqn, 6))
H A Deap_wsc.c76 hexstr2bin(pos, cred->ssid, len / 2)) {
128 hexstr2bin(pos, cred->key, len / 2)) {
237 hexstr2bin(pos, pkhash, WPS_OOB_PUBKEY_HASH_LEN)) {
/external/wpa_supplicant_8/src/eap_peer/
H A Dmschapv2.c118 hexstr2bin((char *) (buf + 2), recv_response,
H A Deap_aka.c192 if (hexstr2bin(pos, data->auts, EAP_AKA_AUTS_LEN) < 0)
209 if (hexstr2bin(pos, data->ik, EAP_AKA_IK_LEN) < 0)
217 if (hexstr2bin(pos, data->ck, EAP_AKA_CK_LEN) < 0)
230 if (hexstr2bin(pos, data->res, data->res_len) < 0)
279 if (hexstr2bin(pos, k, 16))
286 if (hexstr2bin(pos, opc, 16))
293 if (hexstr2bin(pos, sqn, 6))
H A Deap_wsc.c76 hexstr2bin(pos, cred->ssid, len / 2)) {
128 hexstr2bin(pos, cred->key, len / 2)) {
237 hexstr2bin(pos, pkhash, WPS_OOB_PUBKEY_HASH_LEN)) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Dmschapv2.c118 hexstr2bin((char *) (buf + 2), recv_response,
H A Deap_aka.c192 if (hexstr2bin(pos, data->auts, EAP_AKA_AUTS_LEN) < 0)
209 if (hexstr2bin(pos, data->ik, EAP_AKA_IK_LEN) < 0)
217 if (hexstr2bin(pos, data->ck, EAP_AKA_CK_LEN) < 0)
230 if (hexstr2bin(pos, data->res, data->res_len) < 0)
279 if (hexstr2bin(pos, k, 16))
286 if (hexstr2bin(pos, opc, 16))
293 if (hexstr2bin(pos, sqn, 6))
H A Deap_wsc.c76 hexstr2bin(pos, cred->ssid, len / 2)) {
128 hexstr2bin(pos, cred->key, len / 2)) {
237 hexstr2bin(pos, pkhash, WPS_OOB_PUBKEY_HASH_LEN)) {
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_sim_db.c321 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
323 hexstr2bin(argv[i], reauth->k_encr,
326 hexstr2bin(argv[i], reauth->k_aut,
329 hexstr2bin(argv[i], reauth->k_re,
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
568 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN))
576 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN))
584 if (hexstr2bin(star
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_sim_db.c321 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
323 hexstr2bin(argv[i], reauth->k_encr,
326 hexstr2bin(argv[i], reauth->k_aut,
329 hexstr2bin(argv[i], reauth->k_re,
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
568 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN))
576 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN))
584 if (hexstr2bin(star
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_sim_db.c321 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
323 hexstr2bin(argv[i], reauth->k_encr,
326 hexstr2bin(argv[i], reauth->k_aut,
329 hexstr2bin(argv[i], reauth->k_re,
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
568 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN))
576 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN))
584 if (hexstr2bin(star
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwifi_display.c248 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) {
270 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) {
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dctrl_iface_ap.c675 if (hexstr2bin(pos, pmkid, PMKID_LEN) < 0)
683 if (hexstr2bin(pos, pmk, PMK_LEN) < 0)

Completed in 365 milliseconds

1234