/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_gpsk_common.c | 120 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_helper() argument 177 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 199 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys_aes() argument 227 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_aes() 235 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_sha256() argument 261 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_sha256() 292 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys() argument 330 msk, emsk, sk, sk_len, in eap_gpsk_derive_keys() 336 msk, emsk, sk, sk_len); in eap_gpsk_derive_keys()
|
D | eap_sim_common.h | 86 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, 90 const u8 *nonce_s, const u8 *mk, u8 *msk, 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) in eap_aka_prime_derive_keys() argument 125 const u8 *nonce_s, u8 *msk, in eap_aka_prime_derive_keys_reauth() argument
|
D | eap_sim_common.c | 82 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) in eap_sim_derive_keys() argument 95 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 104 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 114 const u8 *nonce_s, const u8 *mk, u8 *msk, in eap_sim_derive_keys_reauth() argument 155 if (msk) { in eap_sim_derive_keys_reauth() 156 os_memcpy(msk, buf, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 158 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 283 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 321 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys() 322 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys() [all …]
|
D | eap_psk_common.c | 40 int eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, in eap_psk_derive_keys() argument 58 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) in eap_psk_derive_keys()
|
D | eap_fast_common.c | 151 void eap_fast_derive_eap_msk(const u8 *simck, u8 *msk) in eap_fast_derive_eap_msk() argument 160 msk, EAP_FAST_KEY_LEN); in eap_fast_derive_eap_msk() 162 msk, EAP_FAST_KEY_LEN); in eap_fast_derive_eap_msk()
|
D | eap_sake_common.c | 266 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, in eap_sake_derive_keys() argument 300 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys() 302 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
|
D | eap_gpsk_common.h | 60 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
D | eap_psk_common.h | 76 u8 *msk, u8 *emsk);
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_gpsk_common.c | 111 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_helper() argument 168 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 190 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys_aes() argument 218 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_aes() 226 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_sha256() argument 252 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_sha256() 283 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys() argument 321 msk, emsk, sk, sk_len, in eap_gpsk_derive_keys() 327 msk, emsk, sk, sk_len); in eap_gpsk_derive_keys()
|
D | eap_sim_common.h | 80 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, 84 const u8 *nonce_s, const u8 *mk, u8 *msk, 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) in eap_aka_prime_derive_keys() argument 119 const u8 *nonce_s, u8 *msk, in eap_aka_prime_derive_keys_reauth() argument
|
D | eap_sim_common.c | 77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) in eap_sim_derive_keys() argument 90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 99 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 109 const u8 *nonce_s, const u8 *mk, u8 *msk, in eap_sim_derive_keys_reauth() argument 150 if (msk) { in eap_sim_derive_keys_reauth() 151 os_memcpy(msk, buf, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 153 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 278 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 316 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys() 317 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys() [all …]
|
D | eap_psk_common.c | 34 int eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, in eap_psk_derive_keys() argument 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) in eap_psk_derive_keys()
|
D | eap_fast_common.c | 145 void eap_fast_derive_eap_msk(const u8 *simck, u8 *msk) in eap_fast_derive_eap_msk() argument 154 msk, EAP_FAST_KEY_LEN); in eap_fast_derive_eap_msk() 156 msk, EAP_FAST_KEY_LEN); in eap_fast_derive_eap_msk()
|
D | eap_sake_common.c | 260 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, in eap_sake_derive_keys() argument 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys() 296 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
|
D | eap_psk_common.h | 70 u8 *msk, u8 *emsk);
|
D | eap_gpsk_common.h | 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_sha1.c | 89 const u8 msk[] = { in test_eap_fast() local 160 (u8 *) "", 0, buf, sizeof(msk)); in test_eap_fast() 161 if (memcmp(msk, buf, sizeof(msk)) != 0) { in test_eap_fast() 168 (u8 *) "", 0, buf, sizeof(msk)); in test_eap_fast()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_psk.c | 27 u8 msk[EAP_MSK_LEN]; member 248 data->msk, data->emsk)) { in eap_psk_process_3() 254 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3() 431 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_psk.c | 32 u8 msk[EAP_MSK_LEN]; member 253 data->msk, data->emsk)) { in eap_psk_process_3() 259 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3() 436 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_psk.c | 33 u8 msk[EAP_MSK_LEN]; member 131 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, data->msk, in eap_psk_build_3() 135 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_build_3() 461 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
|
D | eap_sim.c | 29 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member 240 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_build_reauth() 244 data->msk, data->emsk); in eap_sim_build_reauth() 501 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_process_start() 743 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_getKey()
|
D | eap_aka.c | 32 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member 454 data->msk, data->emsk); in eap_aka_build_reauth() 457 data->msk, data->emsk); in eap_aka_build_reauth() 460 data->mk, data->msk, data->emsk); in eap_aka_build_reauth() 743 data->k_re, data->msk, data->emsk); in eap_aka_determine_identity() 748 data->msk, data->emsk); in eap_aka_determine_identity() 1193 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_aka_getKey()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_psk.c | 28 u8 msk[EAP_MSK_LEN]; member 128 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, data->msk, in eap_psk_build_3() 132 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_build_3() 458 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
|
D | eap_server_sim.c | 24 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member 235 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_build_reauth() 239 data->msk, data->emsk); in eap_sim_build_reauth() 496 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_process_start() 738 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_getKey()
|
D | eap_server_aka.c | 26 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member 447 data->msk, data->emsk); in eap_aka_build_reauth() 450 data->msk, data->emsk); in eap_aka_build_reauth() 453 data->mk, data->msk, data->emsk); in eap_aka_build_reauth() 736 data->k_re, data->msk, data->emsk); in eap_aka_determine_identity() 741 data->msk, data->emsk); in eap_aka_determine_identity() 1186 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_aka_getKey()
|