31 #ifndef _aes128_key_wrap_unwrap_h 32 #define _aes128_key_wrap_unwrap_h 43 #if defined(__cplusplus) 55 void do_aes128_key_wrap(
const uint8_t plaintext[], uint8_t wrapped_ciphertext[], uint32_t expanded_kek[]);
66 uint8_t unwrapped_plaintext[],
67 uint32_t expanded_kek[]);
70 #if defined(__cplusplus) 76 #endif // _aes128_key_wrap_unwrap_h void do_aes128_key_wrap(const uint8_t plaintext[], uint8_t wrapped_ciphertext[], uint32_t expanded_kek[])
Encrypt and wrap plaintext key.
Definition: aes128_key_wrap_unwrap.c:60
uint32_t do_aes128_key_unwrap(const uint8_t wrapped_ciphertext[], uint8_t unwrapped_plaintext[], uint32_t expanded_kek[])
Decrypt and unwrap wrapped key.
Definition: aes128_key_wrap_unwrap.c:177