aes_wrap() function
aes_wrap - Wrap keys with AES Key Wrap Algorithm (RFC3394) @kek: Key encryption key (KEK) @kek_len: Length of KEK in octets @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 Returns: 0 on success, -1 on failure
aes_wrap() is called by 1 function and calls 3 functions:
![]()
aes_wrap()
aes_wrap():
![]()
aes_wrap()