Home
last modified time | relevance | path

Searched refs:kek (Results 1 – 25 of 54) sorted by relevance

123

/external/wpa_supplicant_8/src/crypto/
Daes-wrap.c26 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()
Daes-unwrap.c26 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()
Daes_wrap.h21 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,
Dcrypto_wolfssl.c412 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() argument
419 ret = wc_AesKeyWrap(kek, kek_len, plain, n * 8, cipher, (n + 1) * 8, in aes_wrap()
425 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument
433 ret = wc_AesKeyUnWrap(kek, kek_len, cipher, (n + 1) * 8, plain, n * 8, in aes_unwrap()
Dcrypto_openssl.c431 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() argument
438 if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) in aes_wrap()
446 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument
454 if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) in aes_unwrap()
Dcrypto_linux.c784 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, in aes_unwrap() argument
797 skcipher = linux_af_alg_skcipher("kw(aes)", kek, kek_len); in aes_unwrap()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c685 const u8 *kek; in wpa_ft_process_gtk_subelem() local
689 kek = sm->ptk.kek2; in wpa_ft_process_gtk_subelem()
692 kek = sm->ptk.kek; in wpa_ft_process_gtk_subelem()
711 if (aes_unwrap(kek, kek_len, gtk_len / 8, gtk_elem + 11, gtk)) { in wpa_ft_process_gtk_subelem()
768 const u8 *kek; in wpa_ft_process_igtk_subelem() local
772 kek = sm->ptk.kek2; in wpa_ft_process_igtk_subelem()
775 kek = sm->ptk.kek; in wpa_ft_process_igtk_subelem()
805 if (aes_unwrap(kek, kek_len, igtk_len / 8, igtk_elem + 9, igtk)) { in wpa_ft_process_igtk_subelem()
Dwpa.h80 void (*set_rekey_offload)(void *ctx, const u8 *kek, size_t kek_len,
455 struct wpabuf * fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek,
Dwpa.c137 wpa_hexdump_key(MSG_DEBUG, "WPA: KEK", ptk->kek, ptk->kek_len); in wpa_eapol_key_send()
142 if (aes_siv_encrypt(ptk->kek, ptk->kek_len, in wpa_eapol_key_send()
1688 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_process_1_of_2_wpa()
1713 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, maxkeylen / 8, in wpa_supplicant_process_1_of_2_wpa()
1976 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_decrypt_key_data()
2009 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, *key_data_len / 8, in wpa_supplicant_decrypt_key_data()
2126 if (aes_siv_decrypt(ptk->kek, ptk->kek_len, pos, *key_data_len, in wpa_supp_aead_decrypt()
3478 os_memcpy(sm->ptk.kek, ptk_kek, ptk_kek_len); in wpa_sm_set_ptk_kck_kek()
4049 struct wpabuf * fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, in fils_build_assoc_req() argument
4156 *kek = sm->ptk.kek; in fils_build_assoc_req()
[all …]
Dwpa_i.h303 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek, sm->ptk.kek_len, in wpa_sm_set_rekey_offload()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c138 size_t ckn_bytes, u8 *kek, size_t kek_bytes) in ieee802_1x_kek_aes_cmac() argument
148 8 * kek_bytes, kek); in ieee802_1x_kek_aes_cmac()
Dieee802_1x_kay_i.h75 u8 *kek, size_t kek_bytes);
108 struct mka_key kek; member
Dieee802_1x_key.h18 size_t ckn_bytes, u8 *kek, size_t kek_bytes);
Dieee802_1x_kay.c1601 if (aes_wrap(participant->kek.key, participant->kek.len, in ieee802_1x_mka_encode_dist_sak_body()
1742 if (aes_unwrap(participant->kek.key, participant->kek.len, in ieee802_1x_mka_decode_dist_sak_body()
3691 participant->kek.len = participant->cak.len; in ieee802_1x_kay_create_mka()
3696 participant->kek.key, in ieee802_1x_kay_create_mka()
3697 participant->kek.len)) { in ieee802_1x_kay_create_mka()
3702 participant->kek.key, participant->kek.len); in ieee802_1x_kay_create_mka()
3802 os_memset(&participant->kek, 0, sizeof(participant->kek)); in ieee802_1x_kay_delete_mka()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_set_rekey_data/
Dformat14 field:u8 kek[16]; offset:64; size:16; signed:0;
/external/scapy/scapy/modules/krack/
Dautomaton.py178 self.kek = self.ptk[16:32]
583 key_data_encrypt=self.kek,
644 key_data_encrypt=self.kek,
753 key_data_encrypt=self.kek,
/external/wpa_supplicant_8/src/common/
Dwpa_common.c461 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk()
462 wpa_hexdump_key(MSG_DEBUG, "WPA: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_to_ptk()
638 os_memcpy(ptk->kek, tmp + *ick_len, ptk->kek_len); in fils_pmk_to_ptk()
639 wpa_hexdump_key(MSG_DEBUG, "FILS: KEK", ptk->kek, ptk->kek_len); in fils_pmk_to_ptk()
1789 os_memcpy(ptk->kek, tmp + offset, ptk->kek_len); in wpa_pmk_r1_to_ptk()
1798 wpa_hexdump_key(MSG_DEBUG, "FT: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_r1_to_ptk()
Dwpa_common.h212 u8 kek[WPA_KEK_MAX_LEN]; /* EAPOL-Key Key Encryption Key (KEK) */ member
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c2165 const u8 *kek; in wpa_ft_gtk_subelem() local
2169 kek = sm->PTK.kek2; in wpa_ft_gtk_subelem()
2172 kek = sm->PTK.kek; in wpa_ft_gtk_subelem()
2213 if (aes_wrap(kek, kek_len, key_len / 8, key, subelem + 13)) { in wpa_ft_gtk_subelem()
2232 const u8 *kek; in wpa_ft_igtk_subelem() local
2237 kek = sm->PTK.kek2; in wpa_ft_igtk_subelem()
2240 kek = sm->PTK.kek; in wpa_ft_igtk_subelem()
2261 if (aes_wrap(kek, kek_len, igtk_len / 8, in wpa_ft_igtk_subelem()
Dwpa_auth.c1529 sm->PTK.kek, sm->PTK.kek_len); in __wpa_send_eapol()
1534 if (aes_siv_encrypt(sm->PTK.kek, sm->PTK.kek_len, kde, kde_len, in __wpa_send_eapol()
1564 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, in __wpa_send_eapol()
1581 os_memcpy(ek + 16, sm->PTK.kek, sm->PTK.kek_len); in __wpa_send_eapol()
2301 if (aes_siv_decrypt(ptk->kek, ptk->kek_len, pos, key_data_len, in wpa_aead_decrypt()
2492 if (aes_siv_decrypt(sm->PTK.kek, sm->PTK.kek_len, crypt, end - crypt, in fils_decrypt_assoc()
2569 if (aes_siv_encrypt(sm->PTK.kek, sm->PTK.kek_len, in fils_encrypt_assoc()
4845 os_memcpy(fils_kek, sm->PTK.kek, WPA_KEK_MAX_LEN); in wpa_auth_get_fils_aead_params()
/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h582 const u8 *kek, size_t kek_len, in wpa_drv_set_rekey_info() argument
588 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kek_len, in wpa_drv_set_rekey_info()
Dwpas_glue.c1145 const u8 *kek, size_t kek_len, in wpa_supplicant_set_rekey_offload() argument
1151 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/transformtest/
Dam-Latn-t-am-m0-bgn.txt363 ከቁጥጥሩ kek’ut’it’iru
Dky-fonipa-t-ky.txt11 Бишкек biʃkek
72 Бишкек biʃkek
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1092 os_memcpy(mlme.fils_aad.kek, params->fils_kek, in atheros_sta_auth()
1101 mlme.fils_aad.kek, mlme.fils_aad.kek_len); in atheros_sta_auth()

123