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

/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/
H A Duuid.c28 if (hexstr2bin(pos, opos, 4))
33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
43 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
48 if (*pos++ != '-' || hexstr2bin(pos, opos, 6))
H A Dcommon.c104 * hexstr2bin - Convert ASCII hex string into binary data
111 int hexstr2bin(const char *hex, u8 *buf, size_t len) function
H A Dcommon.h440 int hexstr2bin(const char *hex, u8 *buf, size_t len);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/hostapd/
H A Dhlr_auc_gw.c178 if (strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) {
194 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) {
206 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) {
316 if (strlen(pos) != 32 || hexstr2bin(pos, m->ki, 16)) {
331 if (strlen(pos) != 32 || hexstr2bin(pos, m->opc, 16)) {
346 if (strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) {
357 if (strlen(pos) != 12 || hexstr2bin(pos, m->sqn, 6)) {
552 if (hexstr2bin(auts, _auts, EAP_AKA_AUTS_LEN) ||
553 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) {
H A Dconfig_file.c408 if (hexstr2bin(pos, user->password, 16) < 0) {
432 if (hexstr2bin(pos, user->password,
639 if (hexstr2bin(val, wep->key[keyidx], len) < 0)
927 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) {
972 if (hexstr2bin(pos, r1kh->key, sizeof(r1kh->key))) {
1324 } else if (hexstr2bin(pos, bss->pac_opaque_encr_key,
1340 hexstr2bin(pos, bss->eap_fast_a_id,
1545 else if (hexstr2bin(pos, bss->ssid.wpa_psk->psk,
1608 hexstr2bin(pos, bss->mobility_domain,
1617 hexstr2bin(po
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_peer/
H A Dmschapv2.c117 hexstr2bin((char *) (buf + 2), recv_response,
H A Deap_wsc.c86 hexstr2bin(pos, cred->ssid, len / 2))
126 hexstr2bin(pos, cred->key, len / 2))
H A Deap_aka.c168 if (hexstr2bin(pos, k, 16))
175 if (hexstr2bin(pos, opc, 16))
182 if (hexstr2bin(pos, sqn, 6))
H A Deap_sim.c181 if (hexstr2bin(pos, k, 16))
188 if (hexstr2bin(pos, opc, 16))
H A Deap_mschapv2.c436 if (hexstr2bin(pos, data->passwd_change_challenge,
H A Deap_fast_pac.c252 if (hexstr2bin(value, buf, *len)) {
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_server/
H A Deap_sim_db.c148 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
157 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
162 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
220 if (hexstr2bin(start, entry->u.aka.rand, EAP_AKA_RAND_LEN))
228 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN))
236 if (hexstr2bin(start, entry->u.aka.ik, EAP_AKA_IK_LEN))
244 if (hexstr2bin(start, entry->u.aka.ck, EAP_AKA_CK_LEN))
262 if (hexstr2bin(start, entry->u.aka.res, entry->u.aka.res_len))
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/
H A Dctrl_iface_udp.c203 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
475 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
H A Dwps_supplicant.c279 if (hexstr2bin((char *) cred->key,
337 if (hexstr2bin((const char *) cred->key, ssid->psk,
H A Dconfig.c85 if (hexstr2bin(value, str, tlen)) {
362 if (hexstr2bin(value, ssid->psk, PMK_LEN) ||
1199 if (hexstr2bin(value + 5, hash, 16)) {
H A Dconfig_file.c402 if (hexstr2bin(pos, config->os_version, 4)) {
H A Dconfig_winreg.c198 if (hexstr2bin(str, config->os_version, 4))
H A Deapol_test.c123 if (hexstr2bin(pos, (u8 *) buf, len) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/drivers/
H A Ddriver_wext.c262 hexstr2bin(spos, req_ies, bytes) < 0)
282 hexstr2bin(spos, resp_ies, bytes) < 0)
1146 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1161 if (hexstr2bin(spos, tmp + res->ie_len, bytes) < 0)
1175 if (hexstr2bin(spos, bin, bytes) < 0) {
H A Ddriver_test.c506 if (hexstr2bin(data, ie, ielen) < 0)
582 if (hexstr2bin(pos, ssid, ssid_len) < 0) {
594 if (hexstr2bin(pos, ie, ielen) < 0)
1743 if (hexstr2bin(pos, ie_pos, len) < 0) {
1758 if (hexstr2bin(pos, ie_pos, len) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus_old.c184 if (hexstr2bin(bssid_txt, bssid, ETH_ALEN) < 0)
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/
H A Dgetdn.c48 static int hexstr2bin( const char *str, char *c );
1451 hexstr2bin( p, &c );
1550 hexstr2bin( &startPos[ s ], &c );
1824 hexstr2bin( const char *str, char *c ) function
1954 hexstr2bin( &startPos[ s ], &c );
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/ap/
H A Dap_config.c223 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0)
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c544 if (hexstr2bin(pos, &dev_type[2], 4))
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/
H A Dtls_openssl.c301 if (buf && hexstr2bin(hash, buf, len) == 0) {
1336 if (hexstr2bin(pos, conn->srv_cert_hash, 32) < 0) {

Completed in 458 milliseconds