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

  /external/wpa_supplicant_8/src/eap_common/
eap_psk_common.c 19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk)
24 os_memcpy(kdk, ak, aes_block_size);
26 kdk[aes_block_size - 1] ^= 0x02;
28 aes_128_encrypt_block(psk, kdk, kdk))
34 int eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk,
41 if (aes_128_encrypt_block(kdk, rand_p, hash))
45 if (aes_128_encrypt_block(kdk, hash, tek))
52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size]))
60 if (aes_128_encrypt_block(kdk, hash
    [all...]
eap_psk_common.h 68 int __must_check eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk);
69 int __must_check eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek,
  /external/wpa_supplicant_8/src/pae/
ieee802_1x_key.c 34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context,
64 if (omac1_aes_128(kdk, buf, buf_len, ret)) {
  /external/wpa_supplicant_8/src/eap_peer/
eap_psk.c 25 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data
49 if (eap_psk_key_setup(password, data->ak, data->kdk)) {
54 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: KDK", data->kdk, EAP_PSK_KDK_LEN);
248 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek,
  /external/wpa_supplicant_8/src/eap_server/
eap_server_psk.c 27 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data
126 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, data->msk,
284 if (eap_psk_key_setup(sm->user->password, data->ak, data->kdk)) {
289 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: KDK", data->kdk, EAP_PSK_KDK_LEN);
  /external/wpa_supplicant_8/src/wps/
wps_common.c 65 u8 dhkey[SHA256_MAC_LEN], kdk[SHA256_MAC_LEN]; local
105 /* KDK = HMAC-SHA-256_DHKey(N1 || EnrolleeMAC || N2) */
112 hmac_sha256_vector(dhkey, sizeof(dhkey), 3, addr, len, kdk);
113 wpa_hexdump_key(MSG_DEBUG, "WPS: KDK", kdk, sizeof(kdk));
115 wps_kdf(kdk, NULL, 0, "Wi-Fi Easy and Secure Key Derivation",

Completed in 590 milliseconds