|
wpa_supplicant / hostapd 2.0
|
AES Key Wrap Algorithm (128-bit KEK) (RFC3394) More...
Functions | |
| int | aes_wrap (const u8 *kek, int n, const u8 *plain, u8 *cipher) |
| Wrap keys with AES Key Wrap Algorithm (128-bit KEK) (RFC3394) | |
AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
This software may be distributed under the terms of the BSD license. See README for more details.
| int aes_wrap | ( | const u8 * | kek, |
| int | n, | ||
| const u8 * | plain, | ||
| u8 * | cipher | ||
| ) |
Wrap keys with AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
| kek | 16-octet Key encryption key (KEK) |
| n | Length of the plaintext key in 64-bit units; e.g., 2 = 128-bit = 16 bytes |
| plain | Plaintext key to be wrapped, n * 64 bits |
| cipher | Wrapped key, (n + 1) * 64 bits |
1.7.3