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

  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_peap.c 71 u8 cmk[20]; member in struct:eap_peap_data
266 /* Fast-connect: IPMK|CMK = TK */
270 os_memcpy(data->cmk, tk + 40, 20);
271 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK",
272 data->cmk, 20);
283 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
295 os_memcpy(data->cmk, imck + 40, 20);
296 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
330 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", data->cmk, 20)
    [all...]
eap_fast.c 609 struct eap_tlv_crypto_binding_tlv *_bind, const u8 *cmk)
620 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind),
681 u8 *cmk)
685 wpa_printf(MSG_DEBUG, "EAP-FAST: Determining CMK[%d] for Compound MIC "
693 * CMK[j] = last 20 octets of IMCK[j]
706 os_memcpy(cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN);
707 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]",
708 cmk, EAP_FAST_CMK_LEN);
745 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local
752 if (eap_fast_get_cmk(sm, data, cmk) < 0
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_peap.c 58 u8 cmk[20]; member in struct:eap_peap_data
346 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
358 /* TODO: fast-connect: IPMK|CMK = TK */
361 os_memcpy(data->cmk, imck + 40, 20);
362 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
438 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK",
439 data->cmk, 20);
444 hmac_sha1_vector(data->cmk, 20, 2, addr, len, mac);
626 hmac_sha1(data->cmk, 20, buf, sizeof(buf), mac)
    [all...]
eap_fast.c 55 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);
661 * CMK = CMK[j]
662 * Compound-MAC = HMAC-SHA1( CMK, Crypto-Binding TLV )
665 hmac_sha1(data->cmk, EAP_FAST_CMK_LEN
    [all...]
  /external/wpa_supplicant/tests/
test_sha1.c 115 const u8 *simck, *cmk; local
145 cmk = imck + 40;
157 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20);
  /external/wpa_supplicant_6/wpa_supplicant/tests/
test_sha1.c 126 const u8 *simck, *cmk; local
156 cmk = imck + 40;
176 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20);
  /external/wpa_supplicant/
eap_fast.c 1236 u8 isk[32], imck[60], *cmk, cmac[20], *key; local
1261 wpa_printf(MSG_DEBUG, "EAP-FAST: Determining CMK[%d] for Compound MIC "
1269 * CMK[j] = last 20 octets of IMCK[j]
    [all...]

Completed in 330 milliseconds