Lines Matching refs:pass_hex
2413 char ssid_hex[2 * SSID_MAX_LEN + 1], *pass_hex = NULL; in hostapd_dpp_pb_pkex_init() local
2497 pass_hex = os_malloc(len); in hostapd_dpp_pb_pkex_init()
2498 if (!pass_hex) { in hostapd_dpp_pb_pkex_init()
2502 wpa_snprintf_hex(pass_hex, len, (const u8 *) password, in hostapd_dpp_pb_pkex_init()
2506 if (conf_id > 0 && sae && psk && pass_hex) { in hostapd_dpp_pb_pkex_init()
2509 conf_id, ssid_hex, pass_hex); in hostapd_dpp_pb_pkex_init()
2510 } else if (conf_id > 0 && sae && pass_hex) { in hostapd_dpp_pb_pkex_init()
2513 conf_id, ssid_hex, pass_hex); in hostapd_dpp_pb_pkex_init()
2518 } if (sae && psk && pass_hex) { in hostapd_dpp_pb_pkex_init()
2521 ssid_hex, pass_hex); in hostapd_dpp_pb_pkex_init()
2522 } else if (sae && pass_hex) { in hostapd_dpp_pb_pkex_init()
2525 ssid_hex, pass_hex); in hostapd_dpp_pb_pkex_init()
2526 } else if (psk && pass_hex) { in hostapd_dpp_pb_pkex_init()
2529 ssid_hex, pass_hex); in hostapd_dpp_pb_pkex_init()
2533 str_clear_free(pass_hex); in hostapd_dpp_pb_pkex_init()
2537 str_clear_free(pass_hex); in hostapd_dpp_pb_pkex_init()