/external/chromium_org/chrome/browser/local_discovery/wifi/ |
H A D | wifi_manager.cc | 29 WifiCredentials WifiCredentials::FromPSK(const std::string& psk) { argument 31 return_value.psk = psk;
|
H A D | wifi_manager.h | 28 static WifiCredentials FromPSK(const std::string& psk); 30 std::string psk; member in struct:local_discovery::wifi::WifiCredentials
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
H A D | wpa-psk-tkip.conf | 6 ssid="example wpa-psk network" 11 psk="secret passphrase"
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | ieee802_11_auth.h | 22 struct hostapd_sta_wpa_psk_short **psk, 26 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
|
H A D | ieee802_11_auth.c | 39 struct hostapd_sta_wpa_psk_short *psk; member in struct:hostapd_cached_radius_acl 60 hostapd_free_psk_list(e->psk); 77 static void copy_psk_list(struct hostapd_sta_wpa_psk_short **psk, argument 84 copy_to = psk; 103 struct hostapd_sta_wpa_psk_short **psk, 126 copy_psk_list(psk, entry->psk); 224 * @psk: Linked list buffer for returning WPA PSK 235 struct hostapd_sta_wpa_psk_short **psk, 244 if (psk) 100 hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 232 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 428 struct hostapd_sta_wpa_psk_short *psk; local 636 hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk) argument [all...] |
H A D | ap_config.c | 212 struct hostapd_wpa_psk *psk; local 246 psk = os_zalloc(sizeof(*psk)); 247 if (psk == NULL) { 253 psk->group = 1; 255 os_memcpy(psk->addr, addr, ETH_ALEN); 261 os_free(psk); 269 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0) 273 4096, psk 399 struct hostapd_wpa_psk *psk, *prev; local 653 struct hostapd_wpa_psk *psk; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | ieee802_11_auth.h | 22 struct hostapd_sta_wpa_psk_short **psk, 26 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
|
H A D | ieee802_11_auth.c | 39 struct hostapd_sta_wpa_psk_short *psk; member in struct:hostapd_cached_radius_acl 60 hostapd_free_psk_list(e->psk); 77 static void copy_psk_list(struct hostapd_sta_wpa_psk_short **psk, argument 84 copy_to = psk; 103 struct hostapd_sta_wpa_psk_short **psk, 126 copy_psk_list(psk, entry->psk); 224 * @psk: Linked list buffer for returning WPA PSK 235 struct hostapd_sta_wpa_psk_short **psk, 244 if (psk) 100 hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 232 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 428 struct hostapd_sta_wpa_psk_short *psk; local 636 hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk) argument [all...] |
H A D | ap_config.c | 212 struct hostapd_wpa_psk *psk; local 246 psk = os_zalloc(sizeof(*psk)); 247 if (psk == NULL) { 253 psk->group = 1; 255 os_memcpy(psk->addr, addr, ETH_ALEN); 261 os_free(psk); 269 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0) 273 4096, psk 399 struct hostapd_wpa_psk *psk, *prev; local 653 struct hostapd_wpa_psk *psk; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ieee802_11_auth.h | 22 struct hostapd_sta_wpa_psk_short **psk, 26 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
|
H A D | ieee802_11_auth.c | 39 struct hostapd_sta_wpa_psk_short *psk; member in struct:hostapd_cached_radius_acl 60 hostapd_free_psk_list(e->psk); 77 static void copy_psk_list(struct hostapd_sta_wpa_psk_short **psk, argument 84 copy_to = psk; 103 struct hostapd_sta_wpa_psk_short **psk, 126 copy_psk_list(psk, entry->psk); 224 * @psk: Linked list buffer for returning WPA PSK 235 struct hostapd_sta_wpa_psk_short **psk, 244 if (psk) 100 hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 232 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 428 struct hostapd_sta_wpa_psk_short *psk; local 636 hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk) argument [all...] |
H A D | ap_config.c | 212 struct hostapd_wpa_psk *psk; local 246 psk = os_zalloc(sizeof(*psk)); 247 if (psk == NULL) { 253 psk->group = 1; 255 os_memcpy(psk->addr, addr, ETH_ALEN); 261 os_free(psk); 269 if (len == 64 && hexstr2bin(pos, psk->psk, PMK_LEN) == 0) 273 4096, psk 399 struct hostapd_wpa_psk *psk, *prev; local 653 struct hostapd_wpa_psk *psk; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpa_passphrase.c | 17 unsigned char psk[32]; local 55 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); local 59 printf("\t#psk=\"%s\"\n", passphrase); 62 printf("%02x", psk[i]);
|
H A D | wpa_supplicant.conf | 605 # both), and psk must also be set. 657 # WPA-PSK = WPA pre-shared key (this requires 'psk' field) 697 # psk: WPA preshared key; 256-bit pre-shared key 1048 psk="very secret passphrase" 1057 psk="very secret passphrase" 1068 psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb 1079 psk="not so secure passphrase" 1167 psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb 1174 psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 1190 ssid="eap-psk [all...] |
H A D | ibss_rsn.h | 50 u8 psk[PMK_LEN]; member in struct:ibss_rsn 60 void ibss_rsn_set_psk(struct ibss_rsn *ibss_rsn, const u8 *psk);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_psk_common.c | 19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk) argument 22 if (aes_128_encrypt_block(psk, ak, ak)) 27 if (aes_128_encrypt_block(psk, ak, ak) || 28 aes_128_encrypt_block(psk, kdk, kdk))
|
H A D | eap_gpsk_common.c | 38 static int eap_gpsk_gkdf_cmac(const u8 *psk /* Y */, 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) 73 static int eap_gpsk_gkdf_sha256(const u8 *psk /* Y */, 95 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash); 109 const u8 *psk, size_t psk_len, 146 os_memcpy(pos, psk, psk_len); 156 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { 188 static int eap_gpsk_derive_keys_aes(const u8 *psk, size_t psk_len, argument 217 psk, psk_len, seed, seed_len, 224 static int eap_gpsk_derive_keys_sha256(const u8 *psk, size_ argument 107 eap_gpsk_derive_keys_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, size_t psk_len, const u8 *seed, size_t seed_len, u8 *msk, u8 *emsk, u8 *sk, size_t sk_len, u8 *pk, size_t pk_len) argument 278 eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, u8 *pk, size_t *pk_len) argument 342 eap_gpsk_derive_mid_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, const u8 *seed, size_t seed_len, u8 method_type) argument 416 eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 method_type, u8 *sid, size_t *sid_len) argument [all...] |
H A 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_common/ |
H A D | eap_psk_common.c | 19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk) argument 22 if (aes_128_encrypt_block(psk, ak, ak)) 27 if (aes_128_encrypt_block(psk, ak, ak) || 28 aes_128_encrypt_block(psk, kdk, kdk))
|
H A D | eap_gpsk_common.c | 38 static int eap_gpsk_gkdf_cmac(const u8 *psk /* Y */, 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) 73 static int eap_gpsk_gkdf_sha256(const u8 *psk /* Y */, 95 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash); 109 const u8 *psk, size_t psk_len, 146 os_memcpy(pos, psk, psk_len); 156 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { 188 static int eap_gpsk_derive_keys_aes(const u8 *psk, size_t psk_len, argument 217 psk, psk_len, seed, seed_len, 224 static int eap_gpsk_derive_keys_sha256(const u8 *psk, size_ argument 107 eap_gpsk_derive_keys_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, size_t psk_len, const u8 *seed, size_t seed_len, u8 *msk, u8 *emsk, u8 *sk, size_t sk_len, u8 *pk, size_t pk_len) argument 278 eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, u8 *pk, size_t *pk_len) argument 342 eap_gpsk_derive_mid_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, const u8 *seed, size_t seed_len, u8 method_type) argument 416 eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 method_type, u8 *sid, size_t *sid_len) argument [all...] |
H A 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/wpa_supplicant/src/eap_common/ |
H A D | eap_psk_common.c | 19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk) argument 22 if (aes_128_encrypt_block(psk, ak, ak)) 27 if (aes_128_encrypt_block(psk, ak, ak) || 28 aes_128_encrypt_block(psk, kdk, kdk))
|
H A D | eap_gpsk_common.c | 38 static int eap_gpsk_gkdf_cmac(const u8 *psk /* Y */, 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) 73 static int eap_gpsk_gkdf_sha256(const u8 *psk /* Y */, 95 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash); 109 const u8 *psk, size_t psk_len, 146 os_memcpy(pos, psk, psk_len); 156 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { 188 static int eap_gpsk_derive_keys_aes(const u8 *psk, size_t psk_len, argument 217 psk, psk_len, seed, seed_len, 224 static int eap_gpsk_derive_keys_sha256(const u8 *psk, size_ argument 107 eap_gpsk_derive_keys_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, size_t psk_len, const u8 *seed, size_t seed_len, u8 *msk, u8 *emsk, u8 *sk, size_t sk_len, u8 *pk, size_t pk_len) argument 278 eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, u8 *pk, size_t *pk_len) argument 342 eap_gpsk_derive_mid_helper(u32 csuite_specifier, u8 *kdf_out, size_t kdf_out_len, const u8 *psk, const u8 *seed, size_t seed_len, u8 method_type) argument 416 eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, int specifier, const u8 *rand_peer, const u8 *rand_server, const u8 *id_peer, size_t id_peer_len, const u8 *id_server, size_t id_server_len, u8 method_type, u8 *sid, size_t *sid_len) argument [all...] |
H A 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/chromium_org/chrome/browser/chromeos/login/easy_unlock/ |
H A D | easy_unlock_types.h | 29 std::string psk; member in struct:chromeos::EasyUnlockDeviceKeyData
|