Lines Matching refs:hexstr2bin
221 if (hexstr2bin(*pos, user->password, len) < 0) { in hostapd_config_eap_user_salted()
239 if (hexstr2bin(*pos, user->salt, user->salt_len) < 0) { in hostapd_config_eap_user_salted()
494 if (hexstr2bin(pos, user->password, 16) < 0) { in hostapd_config_read_eap_user()
536 if (hexstr2bin(pos, user->password, in hostapd_config_read_eap_user()
807 if (hexstr2bin(val, wep->key[keyidx], len) < 0) in hostapd_config_read_wep()
920 if (!hexstr2bin(pos, key, key_len)) in rkh_derive_key()
924 if (hexstr2bin(pos, oldkey, sizeof(oldkey))) in rkh_derive_key()
1297 hexstr2bin(pos, oi, len / 2)) { in parse_roaming_consortium()
1654 if (hexstr2bin(delim, wpabuf_put(payload, len), len) < 0) { in parse_anqp_elem()
1774 if (hexstr2bin(pos, wan_metrics, 1) < 0) in hs20_parse_wan_metrics()
2391 hexstr2bin(val, conf->pkhash, SHA256_MAC_LEN) < 0) in hostapd_dpp_controller_parse()
2412 if (hlen & 1 || len > EXT_CAPA_MAX_LEN || hexstr2bin(val, tmp, len)) { in get_hex_config()
2689 } else if (hexstr2bin(pos, bss->pac_opaque_encr_key, 16)) { in hostapd_config_fill()
2704 hexstr2bin(pos, bss->eap_fast_a_id, idlen / 2)) { in hostapd_config_fill()
3136 if (hexstr2bin(pos, bss->ssid.wpa_psk->psk, PMK_LEN) || in hostapd_config_fill()
3217 hexstr2bin(pos, bss->mobility_domain, in hostapd_config_fill()
3226 hexstr2bin(pos, bss->r1_key_holder, FT_R1KH_ID_LEN) != 0) { in hostapd_config_fill()
3974 if (hexstr2bin(pos, bss->os_version, 4)) { in hostapd_config_fill()
4045 if (hexstr2bin(pos, bss->multi_ap_backhaul_ssid.wpa_psk->psk, in hostapd_config_fill()
4201 if (hexstr2bin(pos, &auth_type, 1)) { in hostapd_config_fill()
4222 if (hexstr2bin(pos, &bss->ipaddr_type_availability, 1)) { in hostapd_config_fill()
4347 if (hexstr2bin(pos, oper_class, oper_class_len)) { in hostapd_config_fill()
4472 if (hexstr2bin(pos, wpabuf_put(tmp, len), len)) { in hostapd_config_fill()
4708 if (hexstr2bin(pos, bss->fils_cache_id, FILS_CACHE_ID_LEN)) { in hostapd_config_fill()
4988 hexstr2bin(pos, bss->mka_cak, len / 2)) { in hostapd_config_fill()
5006 if (hexstr2bin(pos, bss->mka_ckn, bss->mka_ckn_len)) { in hostapd_config_fill()