/freebsd-10.1-release/contrib/wpa/src/crypto/ |
H A D | aes-unwrap.c | 18 * @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 D | aes-wrap.c | 18 * @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);
|
H A D | aes_wrap.h | 21 int __must_check aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher); 22 int __must_check aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
|
/freebsd-10.1-release/crypto/openssl/crypto/aes/ |
H A D | aes_wrap.c | 137 int AES_wrap_unwrap_test(const unsigned char *kek, int keybits, argument 149 if (AES_set_encrypt_key(kek, keybits, &wctx)) 158 if (AES_set_decrypt_key(kek, keybits, &wctx)) 180 static const unsigned char kek[] = { local 236 ret = AES_wrap_unwrap_test(kek, 128, NULL, e1, key, 16); 238 ret = AES_wrap_unwrap_test(kek, 192, NULL, e2, key, 16); 240 ret = AES_wrap_unwrap_test(kek, 256, NULL, e3, key, 16); 242 ret = AES_wrap_unwrap_test(kek, 192, NULL, e4, key, 24); 244 ret = AES_wrap_unwrap_test(kek, 256, NULL, e5, key, 24); 246 ret = AES_wrap_unwrap_test(kek, 25 [all...] |
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/ |
H A D | driver_i.h | 658 const u8 *kek, const u8 *kck, 663 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kck, replay_ctr); 657 wpa_drv_set_rekey_info(struct wpa_supplicant *wpa_s, const u8 *kek, const u8 *kck, const u8 *replay_ctr) argument
|
H A D | wpas_glue.c | 810 static void wpa_supplicant_set_rekey_offload(void *ctx, const u8 *kek, argument 816 wpa_drv_set_rekey_info(wpa_s, kek, kck, replay_ctr);
|
/freebsd-10.1-release/contrib/wpa/src/rsn_supp/ |
H A D | wpa.h | 62 void (*set_rekey_offload)(void *ctx, const u8 *kek, const u8 *kck,
|
H A D | wpa_i.h | 248 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
|
H A D | wpa_ft.c | 560 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 11, gtk)) { 632 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
|
H A D | wpa.c | 1231 os_memcpy(ek + 16, sm->ptk.kek, 16); 1259 if (aes_unwrap(sm->ptk.kek, maxkeylen / 8, 1442 os_memcpy(ek + 16, sm->ptk.kek, 16); 1464 if (aes_unwrap(sm->ptk.kek, keydatalen / 8,
|
/freebsd-10.1-release/contrib/wpa/src/common/ |
H A D | wpa_common.h | 179 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
|
/freebsd-10.1-release/contrib/wpa/src/ap/ |
H A D | wpa_auth_ft.c | 443 if (aes_wrap(sm->PTK.kek, key_len / 8, key, subelem + 13)) { 475 if (aes_wrap(sm->PTK.kek, WPA_IGTK_LEN / 8,
|
H A D | wpa_auth.c | 1317 if (aes_wrap(sm->PTK.kek, (key_data_len - 8) / 8, buf, 1330 os_memcpy(ek + 16, sm->PTK.kek, 16);
|
/freebsd-10.1-release/contrib/wpa/src/drivers/ |
H A D | driver.h | 2469 * @kek: Current KEK 2477 void (*set_rekey_info)(void *priv, const u8 *kek, const u8 *kck,
|