HomeSort by relevance Sort by last modified time
    Searched refs:cmk (Results 1 - 5 of 5) sorted by null

  /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]
721 os_memcpy(cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN);
722 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]",
723 cmk, EAP_FAST_CMK_LEN);
760 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local
767 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
382 wpa_printf(MSG_DEBUG, "EAP-FAST: Deriving ICMK[%d] (S-IMCK and CMK)",
390 * CMK[j] = last 20 octets of IMCK[j]
403 os_memcpy(data->cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN);
404 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]",
405 data->cmk, EAP_FAST_CMK_LEN);
662 * CMK = CMK[j]
663 * Compound-MAC = HMAC-SHA1( CMK, Crypto-Binding TLV )
666 hmac_sha1(data->cmk, EAP_FAST_CMK_LEN
    [all...]
  /external/wpa_supplicant_8/src/crypto/
crypto_module_tests.c 941 const u8 *simck, *cmk; local
975 cmk = imck + 40;
995 if (hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20) < 0 ||
    [all...]

Completed in 150 milliseconds