/external/wpa_supplicant_8/src/crypto/ |
D | aes-wrap.c | 26 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() argument 40 ctx = aes_encrypt_init(kek, kek_len); in aes_wrap()
|
D | aes-unwrap.c | 26 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument 39 ctx = aes_decrypt_init(kek, kek_len); in aes_unwrap()
|
D | aes_wrap.h | 21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, 23 int __must_check aes_unwrap(const u8 *kek, size_t kek_len, int n,
|
D | crypto_openssl.c | 300 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() argument 305 if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) in aes_wrap() 313 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument 319 if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) in aes_unwrap()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 169 ptk->kek_len = wpa_kek_len(akmp); in wpa_pmk_to_ptk() 171 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_to_ptk() 191 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk() 192 wpa_hexdump_key(MSG_DEBUG, "WPA: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_to_ptk() 194 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk() 962 ptk->kek_len = wpa_kek_len(akmp); in wpa_pmk_r1_to_ptk() 964 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_r1_to_ptk() 989 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_r1_to_ptk() 990 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_r1_to_ptk() 993 wpa_hexdump_key(MSG_DEBUG, "FT: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_r1_to_ptk()
|
D | wpa_common.h | 214 size_t kek_len; member
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 1346 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_process_1_of_2_wpa() 1355 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_process_1_of_2_wpa() 1379 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, maxkeylen / 8, in wpa_supplicant_process_1_of_2_wpa() 1577 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_decrypt_key_data() 1580 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_decrypt_key_data() 1606 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, *key_data_len / 8, in wpa_supplicant_decrypt_key_data() 2961 sm->ptk.kek_len = ptk_kek_len; in wpa_sm_set_ptk_kck_kek()
|
D | wpa_ft.c | 564 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, gtk_len / 8, gtk_elem + 11, in wpa_ft_process_gtk_subelem() 644 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, WPA_IGTK_LEN / 8, in wpa_ft_process_igtk_subelem()
|
D | wpa_i.h | 258 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek, sm->ptk.kek_len, in wpa_sm_set_rekey_offload()
|
D | wpa.h | 76 void (*set_rekey_offload)(void *ctx, const u8 *kek, size_t kek_len,
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay_i.h | 161 size_t kek_len; member
|
D | ieee802_1x_kay.c | 3360 participant->kek.len = mka_alg_tbl[kay->mka_algindex].kek_len; in ieee802_1x_kay_create_mka()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_glue.c | 1008 const u8 *kek, size_t kek_len, in wpa_supplicant_set_rekey_offload() argument 1014 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
|
D | driver_i.h | 567 const u8 *kek, size_t kek_len, in wpa_drv_set_rekey_info() argument 573 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kek_len, in wpa_drv_set_rekey_info()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 1531 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, in __wpa_send_eapol() 1543 } else if (sm->PTK.kek_len == 16) { in __wpa_send_eapol() 1549 os_memcpy(ek + 16, sm->PTK.kek, sm->PTK.kek_len); in __wpa_send_eapol()
|
D | wpa_auth_ft.c | 459 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, key_len / 8, key, in wpa_ft_gtk_subelem() 492 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, WPA_IGTK_LEN / 8, in wpa_ft_igtk_subelem()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 2903 void (*set_rekey_info)(void *priv, const u8 *kek, size_t kek_len,
|
D | driver_nl80211.c | 6872 static void nl80211_set_rekey_info(void *priv, const u8 *kek, size_t kek_len, in nl80211_set_rekey_info() argument 6888 nla_put(msg, NL80211_REKEY_DATA_KEK, kek_len, kek) || in nl80211_set_rekey_info()
|