Searched defs:kek (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-unwrap.c18 * @kek: Key encryption key (KEK)
25 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain) argument
36 ctx = aes_decrypt_init(kek, 16);
H A Daes-wrap.c18 * @kek: 16-octet Key encryption key (KEK)
25 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
38 ctx = aes_encrypt_init(kek, 16);
/external/wpa_supplicant_8/src/crypto/
H A Daes-unwrap.c18 * @kek: Key encryption key (KEK)
25 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain) argument
36 ctx = aes_decrypt_init(kek, 16);
H A Daes-wrap.c18 * @kek: 16-octet Key encryption key (KEK)
25 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
38 ctx = aes_encrypt_init(kek, 16);
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-unwrap.c18 * @kek: Key encryption key (KEK)
25 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain) argument
36 ctx = aes_decrypt_init(kek, 16);
H A Daes-wrap.c18 * @kek: 16-octet Key encryption key (KEK)
25 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
38 ctx = aes_encrypt_init(kek, 16);
/external/openssl/crypto/aes/
H A Daes_wrap.c143 int AES_wrap_unwrap_test(const unsigned char *kek, int keybits, argument
155 if (AES_set_encrypt_key(kek, keybits, &wctx))
164 if (AES_set_decrypt_key(kek, keybits, &wctx))
188 static const unsigned char kek[] = { local
244 ret = AES_wrap_unwrap_test(kek, 128, NULL, e1, key, 16);
246 ret = AES_wrap_unwrap_test(kek, 192, NULL, e2, key, 16);
248 ret = AES_wrap_unwrap_test(kek, 256, NULL, e3, key, 16);
250 ret = AES_wrap_unwrap_test(kek, 192, NULL, e4, key, 24);
252 ret = AES_wrap_unwrap_test(kek, 256, NULL, e5, key, 24);
254 ret = AES_wrap_unwrap_test(kek, 25
[all...]
/external/wpa_supplicant_6/wpa_supplicant/tests/
H A Dtest_aes.c233 u8 kek[] = { local
251 if (aes_wrap(kek, 2, plain, result)) {
259 if (aes_unwrap(kek, 2, crypt, result)) {
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Daes_wrap.c32 * @kek: 16-octet Key encryption key (KEK)
39 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
52 ctx = aes_encrypt_init(kek, 16);
93 * @kek: Key encryption key (KEK)
100 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain) argument
111 ctx = aes_decrypt_init(kek, 16);
/external/wpa_supplicant_6/wpa_supplicant/src/common/
H A Dwpa_common.h169 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h662 const u8 *kek, const u8 *kck,
667 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kck, replay_ctr);
661 wpa_drv_set_rekey_info(struct wpa_supplicant *wpa_s, const u8 *kek, const u8 *kck, const u8 *replay_ctr) argument
H A Dwpas_glue.c768 static void wpa_supplicant_set_rekey_offload(void *ctx, const u8 *kek, argument
774 wpa_drv_set_rekey_info(wpa_s, kek, kck, replay_ctr);
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.h171 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
/external/wpa_supplicant_8/src/common/
H A Dwpa_common.h171 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_common.h171 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211.c8598 static void nl80211_set_rekey_info(void *priv, const u8 *kek, const u8 *kck, argument
8618 NLA_PUT(msg, NL80211_REKEY_DATA_KEK, NL80211_KEK_LEN, kek);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211.c8598 static void nl80211_set_rekey_info(void *priv, const u8 *kek, const u8 *kck, argument
8618 NLA_PUT(msg, NL80211_REKEY_DATA_KEK, NL80211_KEK_LEN, kek);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211.c8598 static void nl80211_set_rekey_info(void *priv, const u8 *kek, const u8 *kck, argument
8618 NLA_PUT(msg, NL80211_REKEY_DATA_KEK, NL80211_KEK_LEN, kek);

Completed in 727 milliseconds