/external/wpa_supplicant_8/src/crypto/ |
aes-unwrap.c | 2 * AES key unwrap (128-bit KEK, RFC3394) 23 * aes_unwrap - Unwrap key with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 24 * @kek: Key encryption key (KEK) 31 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain) 42 ctx = aes_decrypt_init(kek, 16);
|
aes-wrap.c | 2 * AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 23 * aes_wrap - Wrap keys with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 24 * @kek: 16-octet Key encryption key (KEK) 31 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) 44 ctx = aes_encrypt_init(kek, 16);
|
aes_wrap.h | 4 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 25 int __must_check aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher); 26 int __must_check aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
|
/external/wpa_supplicant/ |
aes_wrap.h | 4 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 25 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher); 26 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
|
aes_wrap.c | 4 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 36 * aes_wrap - Wrap keys with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 37 * @kek: 16-octet Key encryption key (KEK) 44 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) 57 ctx = aes_encrypt_init(kek, 16); 95 * aes_unwrap - Unwrap key with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 96 * @kek: Key encryption key (KEK) 103 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain [all...] |
wpa_i.h | 30 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
|
wpa.c | [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
aes_wrap.h | 4 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 25 int __must_check aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher); 26 int __must_check aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
|
aes_wrap.c | 4 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 31 * aes_wrap - Wrap keys with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 32 * @kek: 16-octet Key encryption key (KEK) 39 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) 52 ctx = aes_encrypt_init(kek, 16); 92 * aes_unwrap - Unwrap key with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) 93 * @kek: Key encryption key (KEK) 100 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain [all...] |
/external/openssl/crypto/aes/ |
aes_wrap.c | 143 int AES_wrap_unwrap_test(const unsigned char *kek, int keybits, 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, 256, NULL, e6, key, 32) [all...] |
/external/wpa_supplicant/tests/ |
test_aes.c | 231 u8 kek[] = { local 249 if (aes_wrap(kek, 2, plain, result)) { 257 if (aes_unwrap(kek, 2, crypt, result)) {
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_aes.c | 233 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/common/ |
wpa_common.h | 169 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
wpa_ft.c | 616 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 10, gtk)) { 707 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
|
wpa.c | 1131 os_memcpy(ek + 16, sm->ptk.kek, 16); 1153 if (aes_unwrap(sm->ptk.kek, maxkeylen / 8, [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_common.h | 177 u8 kek[16]; /* EAPOL-Key Key Encryption Key (KEK) */ member in struct:wpa_ptk
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ft.c | 749 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 11, gtk)) { 839 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
|
wpa.c | [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 459 if (aes_wrap(sm->PTK.kek, key_len / 8, key, subelem + 13)) { 491 if (aes_wrap(sm->PTK.kek, WPA_IGTK_LEN / 8, [all...] |
wpa_auth.c | [all...] |