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

  /external/wpa_supplicant_8/src/eap_peer/
eap_peap.c 66 u8 cmk[20]; member in struct:eap_peap_data
271 /* Fast-connect: IPMK|CMK = TK */
275 os_memcpy(data->cmk, tk + 40, 20);
276 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK",
277 data->cmk, 20);
288 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
302 os_memcpy(data->cmk, imck + 40, 20);
303 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
335 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", data->cmk, 20)
    [all...]
eap_fast.c 624 struct eap_tlv_crypto_binding_tlv *_bind, const u8 *cmk)
635 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind),
696 u8 *cmk)
700 wpa_printf(MSG_DEBUG, "EAP-FAST: Determining CMK[%d] for Compound MIC "
708 * 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
313 * IPMK|CMK = PRF+(TempKey, IPMK Seed, 60)
329 /* TODO: fast-connect: IPMK|CMK = TK */
332 os_memcpy(data->cmk, imck + 40, 20);
333 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20);
409 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK",
410 data->cmk, 20);
415 hmac_sha1_vector(data->cmk, 20, 2, addr, len, mac);
595 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...]
  /external/wpa_supplicant_8/src/crypto/
crypto_module_tests.c 921 const u8 *simck, *cmk; local
953 cmk = imck + 40;
973 if (hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20) < 0 ||
    [all...]

Completed in 87 milliseconds