31 #ifndef _aes128_key_wrap_unwrap_h 32 #define _aes128_key_wrap_unwrap_h 41 #if defined(__cplusplus) 54 unsigned char wrapped_ciphertext[],
55 unsigned int expanded_kek[]);
66 unsigned char unwrapped_plaintext[],
67 unsigned int expanded_kek[]);
70 #if defined(__cplusplus) 76 #endif // _aes128_key_wrap_unwrap_h void do_aes128_key_wrap(const unsigned char plaintext[], unsigned char wrapped_ciphertext[], unsigned int expanded_kek[])
Encrypt and wrap plaintext key.
Definition: aes128_key_wrap_unwrap.c:62
unsigned int do_aes128_key_unwrap(const unsigned char wrapped_ciphertext[], unsigned char unwrapped_plaintext[], unsigned int expanded_kek[])
Decrypt and unwrap wrapped key.
Definition: aes128_key_wrap_unwrap.c:181