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

  /external/wpa_supplicant_8/src/eap_peer/
eap_peap.c 67 u8 cmk[20]; member in struct:eap_peap_data
263 /* Fast-connect: IPMK|CMK = TK */
267 os_memcpy(data->cmk, tk + 40, 20);
268 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK",
269 data->cmk, 20);
280 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
294 os_memcpy(data->cmk, imck + 40, 20);
295 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
329 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", data->cmk, 20)
    [all...]
eap_fast.c 607 struct eap_tlv_crypto_binding_tlv *_bind, const u8 *cmk)
618 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind),
679 u8 *cmk)
683 wpa_printf(MSG_DEBUG, "EAP-FAST: Determining CMK[%d] for Compound MIC "
691 * CMK[j] = last 20 octets of IMCK[j]
704 os_memcpy(cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN);
705 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]",
706 cmk, EAP_FAST_CMK_LEN);
743 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local
750 if (eap_fast_get_cmk(sm, data, cmk) < 0
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_peap.c 53 u8 cmk[20]; member in struct:eap_peap_data
343 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
359 /* TODO: fast-connect: IPMK|CMK = TK */
362 os_memcpy(data->cmk, imck + 40, 20);
363 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
439 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK",
440 data->cmk, 20);
445 hmac_sha1_vector(data->cmk, 20, 2, addr, len, mac);
627 hmac_sha1(data->cmk, 20, buf, sizeof(buf), mac)
    [all...]
eap_server_fast.c 50 u8 cmk[EAP_FAST_CMK_LEN]; member in struct:eap_fast_data
378 wpa_printf(MSG_DEBUG, "EAP-FAST: Deriving ICMK[%d] (S-IMCK and CMK)",
386 * CMK[j] = last 20 octets of IMCK[j]
399 os_memcpy(data->cmk, imck + EAP_FAST_SIMCK_LEN, EAP_FAST_CMK_LEN);
400 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]",
401 data->cmk, EAP_FAST_CMK_LEN);
656 * CMK = CMK[j]
657 * Compound-MAC = HMAC-SHA1( CMK, Crypto-Binding TLV )
660 hmac_sha1(data->cmk, EAP_FAST_CMK_LEN
    [all...]

Completed in 211 milliseconds