/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 67 u8 cmk[20]; member in struct:eap_peap_data 269 "EAP-PEAP: CMK derivation - reauth=%d resumed=%d phase2_eap_started=%d phase2_success=%d", 273 /* Fast-connect: IPMK|CMK = TK */ 277 os_memcpy(data->cmk, tk + 40, 20); 278 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK", 279 data->cmk, 20); 290 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60) 304 os_memcpy(data->cmk, imck + 40, 20); 305 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20) [all...] |
eap_fast.c | 623 struct eap_tlv_crypto_binding_tlv *_bind, const u8 *cmk) 634 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind), 695 u8 *cmk) 699 wpa_printf(MSG_DEBUG, "EAP-FAST: Determining CMK[%d] for Compound MIC " 707 * CMK[j] = last 20 octets of IMCK[j] 720 os_memcpy(cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN); 721 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]", 722 cmk, EAP_FAST_CMK_LEN); 759 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local 766 if (eap_fast_get_cmk(sm, data, cmk) < 0 [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 52 u8 cmk[20]; member in struct:eap_peap_data 339 /* Fast-connect: IPMK|CMK = TK */ 343 os_memcpy(data->cmk, tk + 40, 20); 344 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK", 345 data->cmk, 20); 356 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60) 374 os_memcpy(data->cmk, imck + 40, 20); 375 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20); 451 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", [all...] |
eap_server_fast.c | 50 u8 cmk[EAP_FAST_CMK_LEN]; member in struct:eap_fast_data 383 wpa_printf(MSG_DEBUG, "EAP-FAST: Deriving ICMK[%d] (S-IMCK and CMK)", 391 * CMK[j] = last 20 octets of IMCK[j] 404 os_memcpy(data->cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN); 405 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]", 406 data->cmk, EAP_FAST_CMK_LEN); 663 * CMK = CMK[j] 664 * Compound-MAC = HMAC-SHA1( CMK, Crypto-Binding TLV ) 667 hmac_sha1(data->cmk, EAP_FAST_CMK_LEN [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_module_tests.c | 936 const u8 *simck, *cmk; local 970 cmk = imck + 40; 990 if (hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20) < 0 || [all...] |