/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_psk_common.c | 41 u8 *emsk) 67 &emsk[i * aes_block_size]))
|
eap_gpsk_common.c | 120 u8 *msk, u8 *emsk, 180 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: EMSK", pos, EAP_EMSK_LEN); 181 os_memcpy(emsk, pos, EAP_EMSK_LEN); 199 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, 213 * EMSK = GKDF-160 (MK, inputString)[64..127] 227 msk, emsk, sk, *sk_len, 235 u8 *msk, u8 *emsk, 249 * EMSK = GKDF-160 (MK, inputString)[64..127] 261 msk, emsk, sk, *sk_len, 280 * @emsk: Buffer for 64-byte EMS [all...] |
eap_sim_common.h | 87 u8 *emsk); 91 u8 *emsk); 100 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); 103 const u8 *nonce_s, u8 *msk, u8 *emsk); 118 u8 *msk, u8 *emsk) 126 u8 *emsk)
|
eap_fast_common.h | 109 void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
|
eap_gpsk_common.h | 60 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
eap_psk_common.h | 76 u8 *msk, u8 *emsk);
|
eap_sim_common.c | 82 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) 97 os_memcpy(emsk, pos, EAP_EMSK_LEN); 105 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); 115 u8 *emsk) 160 if (emsk) { 161 os_memcpy(emsk, buf + EAP_SIM_KEYING_DATA_LEN, EAP_EMSK_LEN); 162 wpa_hexdump(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); 283 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) [all...] |
eap_sake_common.h | 92 u8 *tek, u8 *msk, u8 *emsk);
|
eap_fast_common.c | 166 void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk) 170 * EMSK = T-PRF(S-IMCK[j], 176 emsk, EAP_EMSK_LEN); 177 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Derived key (EMSK)", 178 emsk, EAP_EMSK_LEN);
|
eap_sake_common.c | 261 * @emsk: Buffer for 64-byte EMSK 267 u8 *emsk) 301 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); 303 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls.c | 226 u8 *eapKeyData, *emsk; local 235 emsk = os_malloc(EAP_EMSK_LEN); 236 if (emsk) 237 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, 241 emsk = NULL; 243 if (emsk) { 245 wpa_hexdump(MSG_DEBUG, "EAP-TLS: Derived EMSK", 246 emsk, EAP_EMSK_LEN); 248 wpa_printf(MSG_DEBUG, "EAP-TLS: Failed to derive EMSK"); 251 return emsk; [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 35 u8 *emsk) 61 &emsk[i * aes_block_size]))
|
eap_gpsk_common.c | 111 u8 *msk, u8 *emsk, 171 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: EMSK", pos, EAP_EMSK_LEN); 172 os_memcpy(emsk, pos, EAP_EMSK_LEN); 190 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, 204 * EMSK = GKDF-160 (MK, inputString)[64..127] 218 msk, emsk, sk, *sk_len, 226 u8 *msk, u8 *emsk, 240 * EMSK = GKDF-160 (MK, inputString)[64..127] 252 msk, emsk, sk, *sk_len, 271 * @emsk: Buffer for 64-byte EMS [all...] |
eap_sim_common.h | 81 u8 *emsk); 85 u8 *emsk); 94 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); 97 const u8 *nonce_s, u8 *msk, u8 *emsk); 112 u8 *msk, u8 *emsk) 120 u8 *emsk)
|
eap_fast_common.h | 103 void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
|
eap_gpsk_common.h | 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
eap_psk_common.h | 70 u8 *msk, u8 *emsk);
|
eap_sim_common.c | 77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) 92 os_memcpy(emsk, pos, EAP_EMSK_LEN); 100 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); 110 u8 *emsk) 155 if (emsk) { 156 os_memcpy(emsk, buf + EAP_SIM_KEYING_DATA_LEN, EAP_EMSK_LEN); 157 wpa_hexdump(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); 278 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) [all...] |
eap_sake_common.h | 86 u8 *tek, u8 *msk, u8 *emsk);
|
eap_fast_common.c | 160 void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk) 164 * EMSK = T-PRF(S-IMCK[j], 170 emsk, EAP_EMSK_LEN); 171 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Derived key (EMSK)", 172 emsk, EAP_EMSK_LEN);
|
eap_sake_common.c | 255 * @emsk: Buffer for 64-byte EMSK 261 u8 *emsk) 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); 297 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tls.c | 220 u8 *eapKeyData, *emsk; local 229 emsk = os_malloc(EAP_EMSK_LEN); 230 if (emsk) 231 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, 235 emsk = NULL; 237 if (emsk) { 239 wpa_hexdump(MSG_DEBUG, "EAP-TLS: Derived EMSK", 240 emsk, EAP_EMSK_LEN); 242 wpa_printf(MSG_DEBUG, "EAP-TLS: Failed to derive EMSK"); 245 return emsk; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_psk.c | 33 u8 emsk[EAP_EMSK_LEN]; member in struct:eap_psk_data 253 data->msk, data->emsk)) { 260 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); 455 os_memcpy(key, data->emsk, EAP_EMSK_LEN);
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_psk.c | 28 u8 emsk[EAP_EMSK_LEN]; member in struct:eap_psk_data 248 data->msk, data->emsk)) { 255 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); 450 os_memcpy(key, data->emsk, EAP_EMSK_LEN);
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_common.c | 118 os_memcpy(wps->emsk, keys + WPS_AUTHKEY_LEN + WPS_KEYWRAPKEY_LEN, 125 wpa_hexdump_key(MSG_DEBUG, "WPS: EMSK", wps->emsk, WPS_EMSK_LEN);
|