Home
last modified time | relevance | path

Searched refs:psk_len (Results 1 – 15 of 15) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c109 const u8 *psk, size_t psk_len, in eap_gpsk_derive_keys_helper() argument
136 if (psk_len < mk_len) in eap_gpsk_derive_keys_helper()
139 data_len = 2 + psk_len + 6 + seed_len; in eap_gpsk_derive_keys_helper()
144 WPA_PUT_BE16(pos, psk_len); in eap_gpsk_derive_keys_helper()
146 os_memcpy(pos, psk, psk_len); in eap_gpsk_derive_keys_helper()
147 pos += psk_len; in eap_gpsk_derive_keys_helper()
188 static int eap_gpsk_derive_keys_aes(const u8 *psk, size_t psk_len, in eap_gpsk_derive_keys_aes() argument
217 psk, psk_len, seed, seed_len, in eap_gpsk_derive_keys_aes()
224 static int eap_gpsk_derive_keys_sha256(const u8 *psk, size_t psk_len, in eap_gpsk_derive_keys_sha256() argument
251 psk, psk_len, seed, seed_len, in eap_gpsk_derive_keys_sha256()
[all …]
Deap_gpsk_common.h49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor,
56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor,
/external/wpa_supplicant_8/src/eap_peer/
Deap_gpsk.c35 size_t psk_len; member
126 data->psk_len = password_len; in eap_gpsk_init()
138 os_memset(data->psk, 0, data->psk_len); in eap_gpsk_deinit()
367 if (eap_gpsk_derive_keys(data->psk, data->psk_len, in eap_gpsk_send_gpsk_2()
381 if (eap_gpsk_derive_session_id(data->psk, data->psk_len, in eap_gpsk_send_gpsk_2()
/external/boringssl/src/ssl/
Ds3_srvr.c1607 unsigned int psk_len = 0; in ssl3_get_client_key_exchange() local
1660 psk_len = in ssl3_get_client_key_exchange()
1662 if (psk_len > PSK_MAX_PSK_LEN) { in ssl3_get_client_key_exchange()
1667 } else if (psk_len == 0) { in ssl3_get_client_key_exchange()
1945 premaster_secret_len = psk_len; in ssl3_get_client_key_exchange()
1967 if (!CBB_init(&new_premaster, 2 + psk_len + 2 + premaster_secret_len)) { in ssl3_get_client_key_exchange()
1975 !CBB_add_bytes(&child, psk, psk_len) || in ssl3_get_client_key_exchange()
Ds3_clnt.c1626 unsigned int psk_len = 0; in ssl3_send_client_key_exchange() local
1649 psk_len = in ssl3_send_client_key_exchange()
1652 if (psk_len > PSK_MAX_PSK_LEN) { in ssl3_send_client_key_exchange()
1656 } else if (psk_len == 0) { in ssl3_send_client_key_exchange()
1914 pms_len = psk_len; in ssl3_send_client_key_exchange()
1936 if (!CBB_init(&cbb, 2 + psk_len + 2 + pms_len)) { in ssl3_send_client_key_exchange()
1944 !CBB_add_bytes(&child, psk, psk_len) || in ssl3_send_client_key_exchange()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c97 size_t psk_len) in hostapd_wps_new_psk_cb() argument
113 wpa_hexdump_key(MSG_DEBUG, "Per-device PSK", psk, psk_len); in hostapd_wps_new_psk_cb()
115 if (psk_len != PMK_LEN) { in hostapd_wps_new_psk_cb()
117 (unsigned long) psk_len); in hostapd_wps_new_psk_cb()
131 psk, psk_len); in hostapd_wps_new_psk_cb()
148 wpa_snprintf_hex(hex, sizeof(hex), psk, psk_len); in hostapd_wps_new_psk_cb()
Dhostapd.h221 size_t psk_len);
/external/wpa_supplicant_8/src/wps/
Dwps_i.h216 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len);
Dwps.h261 const u8 *psk, size_t psk_len);
Dwps_registrar.c148 const u8 *psk, size_t psk_len);
1179 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len) in wps_cb_new_psk() argument
1185 psk_len); in wps_cb_new_psk()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.h136 const u8 *psk, size_t psk_len);
Dap.c454 const u8 *psk, size_t psk_len) in ap_new_psk_cb() argument
460 wpas_p2p_new_psk_cb(wpa_s, mac_addr, p2p_dev_addr, psk, psk_len); in ap_new_psk_cb()
Dwps_supplicant.c1328 size_t psk_len) in wpas_wps_new_psk_cb() argument
1340 wpa_hexdump_key(MSG_DEBUG, "Per-device PSK", psk, psk_len); in wpas_wps_new_psk_cb()
Dp2p_supplicant.c7207 const u8 *psk, size_t psk_len) in wpas_p2p_new_psk_cb() argument
7213 if (psk_len != sizeof(p->psk)) in wpas_p2p_new_psk_cb()
7243 os_memcpy(p->psk, psk, psk_len); in wpas_p2p_new_psk_cb()
7269 os_memcpy(p->psk, psk, psk_len); in wpas_p2p_new_psk_cb()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2300 u8 psk_len = 0; in wpas_dbus_getter_p2p_group_psk() local
2308 psk_len = sizeof(ssid->psk); in wpas_dbus_getter_p2p_group_psk()
2312 p_psk, psk_len, error); in wpas_dbus_getter_p2p_group_psk()