HomeSort by relevance Sort by last modified time
    Searched refs:hexstr2bin (Results 1 - 25 of 30) sorted by null

1 2

  /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
558 if (hexstr2bin(value, str, tlen)) {
common.h 474 int hexstr2bin(const char *hex, u8 *buf, size_t len);
  /external/wpa_supplicant_8/src/wps/
wps_module_tests.c 281 if (hexstr2bin(test->data, wpabuf_put(buf, len), len) < 0) {
wps_common.c 471 if (hexstr2bin(pos, &dev_type[2], 4))
  /external/wpa_supplicant_8/hostapd/
hlr_auc_gw.c 171 hexstr2bin(argv[i], m->ki, sizeof(m->ki))) {
177 hexstr2bin(argv[i], m->opc, sizeof(m->opc))) {
183 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) {
189 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) {
334 if (strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) {
350 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) {
362 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) {
472 if (strlen(pos) != 32 || hexstr2bin(pos, m->ki, 16)) {
487 if (strlen(pos) != 32 || hexstr2bin(pos, m->opc, 16)) {
502 if (strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2))
    [all...]
config_file.c 455 if (hexstr2bin(pos, user->password, 16) < 0) {
479 if (hexstr2bin(pos, user->password,
591 if (hexstr2bin(pos, wpabuf_put(attr->val, len), len) < 0) {
748 if (hexstr2bin(val, wep->key[keyidx], len) < 0)
965 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) {
1010 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) {
1167 hexstr2bin(pos, oi, len / 2)) {
    [all...]
ctrl_iface.c 273 if (hexstr2bin(pos, wpabuf_put(buf, len), len) < 0) {
433 if (hexstr2bin(pos, wpabuf_put(req, len), len) < 0) {
450 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) {
1242 if (hexstr2bin(cmd, buf, len) < 0) {
1325 if (hexstr2bin(pos, data, data_len)) {
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
mschapv2.c 118 hexstr2bin((char *) (buf + 2), recv_response,
eap_aka.c 190 if (hexstr2bin(pos, data->auts, EAP_AKA_AUTS_LEN) < 0)
207 if (hexstr2bin(pos, data->ik, EAP_AKA_IK_LEN) < 0)
215 if (hexstr2bin(pos, data->ck, EAP_AKA_CK_LEN) < 0)
228 if (hexstr2bin(pos, data->res, data->res_len) < 0)
277 if (hexstr2bin(pos, k, 16))
284 if (hexstr2bin(pos, opc, 16))
291 if (hexstr2bin(pos, sqn, 6))
    [all...]
eap_wsc.c 80 hexstr2bin(pos, cred->ssid, len / 2)) {
132 hexstr2bin(pos, cred->key, len / 2)) {
241 hexstr2bin(pos, pkhash, WPS_OOB_PUBKEY_HASH_LEN)) {
eap_sim.c 204 if (hexstr2bin(pos, data->kc[i], EAP_SIM_KC_LEN) < 0)
213 if (hexstr2bin(pos, data->sres[i], EAP_SIM_SRES_LEN) < 0)
280 if (hexstr2bin(pos, k, 16))
287 if (hexstr2bin(pos, opc, 16))
    [all...]
eap_mschapv2.c 438 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 316 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
318 hexstr2bin(argv[i], reauth->k_encr,
321 hexstr2bin(argv[i], reauth->k_aut,
324 hexstr2bin(argv[i], reauth->k_re,
440 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
449 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
454 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
512 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN))
520 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN))
528 if (hexstr2bin(start, entry->u.aka.ik, EAP_AKA_IK_LEN)
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wifi_display.c 226 if (hexstr2bin(pos, wpabuf_put(e, len), len) < 0) {
ctrl_iface_udp.c 267 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
585 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
ctrl_iface.c 149 hexstr2bin(pos, ssid[ssid_count].ssid,
237 if (hexstr2bin(pos, blob->data, len / 2) < 0) {
915 if (hexstr2bin(pos, wpabuf_put(buf, len), len) < 0) {
1158 if (hexstr2bin(pos, wpabuf_put(req, len), len) < 0) {
1178 if (hexstr2bin(pos2, wpabuf_put(sel, len), len) < 0) {
    [all...]
config.c 337 if (hexstr2bin(value, ssid->psk, PMK_LEN) ||
1187 if (hexstr2bin(value + 5, hash, 16)) {
    [all...]
wps_supplicant.c 463 if (hexstr2bin((const char *) cred->key, ssid->psk,
    [all...]
  /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_test.c 500 if (hexstr2bin(data, ie, ielen) < 0)
576 if (hexstr2bin(pos, ssid, ssid_len) < 0) {
588 if (hexstr2bin(pos, ie, ielen) < 0)
    [all...]
driver_wext.c 258 hexstr2bin(spos, req_ies, bytes) < 0)
278 hexstr2bin(spos, resp_ies, bytes) < 0)
    [all...]
  /external/wpa_supplicant_8/src/ap/
wps_hostapd.c 372 hexstr2bin((const char *) cred->key,
    [all...]
ap_config.c 269 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0)

Completed in 896 milliseconds

1 2