9 #ifndef _TEES_WRAPPED_WITH_REK_H 10 #define _TEES_WRAPPED_WITH_REK_H 12 #include <core/crypto_info.h> 14 #include <tee_internal_api.h> 35 #define KM_KW_MAX_SALT_LEN 60 36 #define KM_KW_MAX_IV_LEN 12 37 #define KM_KW_MAX_AAD_LEN 32 38 #define KM_KW_MAX_KEY_LEN 32 39 #define KM_KW_MAX_INPUT_LEN 4096 40 #define KM_KW_MAX_TAG_LEN 16 61 uint32_t plaintext_key_len;
63 uint32_t encrypted_key_len;
65 uint32_t auth_tag_len;
#define KM_KW_MAX_IV_LEN
Definition: tees_wrapped_with_rek.h:36
kw_mode
Wrapping mode. WRAP or UNWRAP.
Definition: tees_wrapped_with_rek.h:45
#define KM_KW_MAX_INPUT_LEN
Definition: tees_wrapped_with_rek.h:39
struct wrapped_wkth_rek_t WRAP_REK
Structure for wrapping with REK.
TEE_Result TEES_WrappedWithREK(WRAP_REK *data)
Wrapping with REK.
Structure for wrapping with REK.
Definition: tees_wrapped_with_rek.h:53
#define KM_KW_MAX_AAD_LEN
Definition: tees_wrapped_with_rek.h:37
#define KM_KW_MAX_TAG_LEN
Definition: tees_wrapped_with_rek.h:40
#define KM_KW_MAX_SALT_LEN
Definition: tees_wrapped_with_rek.h:35