/external/wpa_supplicant_8/src/eap_common/ |
D | eap_gpsk_common.c | 109 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 …]
|
D | eap_gpsk_common.h | 49 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/ |
D | eap_gpsk.c | 35 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/ |
D | s3_srvr.c | 1607 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()
|
D | s3_clnt.c | 1626 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/ |
D | wps_hostapd.c | 97 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()
|
D | hostapd.h | 221 size_t psk_len);
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_i.h | 216 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len);
|
D | wps.h | 261 const u8 *psk, size_t psk_len);
|
D | wps_registrar.c | 148 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/ |
D | p2p_supplicant.h | 136 const u8 *psk, size_t psk_len);
|
D | ap.c | 454 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()
|
D | wps_supplicant.c | 1328 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()
|
D | p2p_supplicant.c | 7207 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/ |
D | dbus_new_handlers_p2p.c | 2300 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()
|