/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 | 361 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() argument 366 if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) in aes_wrap() 374 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument 380 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() 197 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk() 198 wpa_hexdump_key(MSG_DEBUG, "WPA: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_to_ptk() 200 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk() 989 ptk->kek_len = wpa_kek_len(akmp); in wpa_pmk_r1_to_ptk() 991 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_r1_to_ptk() 1016 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_r1_to_ptk() 1017 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_r1_to_ptk() 1020 wpa_hexdump_key(MSG_DEBUG, "FT: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_r1_to_ptk()
|
D | wpa_common.h | 216 size_t kek_len; member
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 1396 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_process_1_of_2_wpa() 1410 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_process_1_of_2_wpa() 1435 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, maxkeylen / 8, in wpa_supplicant_process_1_of_2_wpa() 1636 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_decrypt_key_data() 1644 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_decrypt_key_data() 1671 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, *key_data_len / 8, in wpa_supplicant_decrypt_key_data() 3043 sm->ptk.kek_len = ptk_kek_len; in wpa_sm_set_ptk_kck_kek()
|
D | wpa_ft.c | 562 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, gtk_len / 8, gtk_elem + 11, in wpa_ft_process_gtk_subelem() 642 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, WPA_IGTK_LEN / 8, in wpa_ft_process_igtk_subelem()
|
D | wpa_i.h | 264 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 | driver_i.h | 565 const u8 *kek, size_t kek_len, in wpa_drv_set_rekey_info() argument 571 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kek_len, in wpa_drv_set_rekey_info()
|
D | wpas_glue.c | 1016 const u8 *kek, size_t kek_len, in wpa_supplicant_set_rekey_offload() argument 1022 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
|
/external/wpa_supplicant_8/src/ap/ |
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()
|
D | wpa_auth.c | 1536 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, in __wpa_send_eapol() 1549 } else if (sm->PTK.kek_len == 16) { in __wpa_send_eapol() 1555 os_memcpy(ek + 16, sm->PTK.kek, sm->PTK.kek_len); in __wpa_send_eapol()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 3015 void (*set_rekey_info)(void *priv, const u8 *kek, size_t kek_len,
|
D | driver_nl80211.c | 7174 static void nl80211_set_rekey_info(void *priv, const u8 *kek, size_t kek_len, in nl80211_set_rekey_info() argument 7190 nla_put(msg, NL80211_REKEY_DATA_KEK, kek_len, kek) || in nl80211_set_rekey_info()
|