Home
last modified time | relevance | path

Searched refs:TAG_SIZE (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/ta/trusted_keys/
A Dentry.c16 #define TAG_SIZE 16 macro
28 uint8_t tag[TAG_SIZE];
102 uint32_t tag_len = TAG_SIZE; in huk_ae_encrypt()
108 res = TEE_AEInit(crypto_op, hdr->iv, IV_SIZE, TAG_SIZE * 8, 0, 0); in huk_ae_encrypt()
114 if (res || tag_len != TAG_SIZE) in huk_ae_encrypt()
128 uint8_t tag[TAG_SIZE] = { 0 }; in huk_ae_decrypt()
134 res = TEE_AEInit(crypto_op, hdr->iv, IV_SIZE, TAG_SIZE * 8, 0, 0); in huk_ae_decrypt()
138 memcpy(tag, hdr->tag, TAG_SIZE); in huk_ae_decrypt()
140 out_sz, tag, TAG_SIZE); in huk_ae_decrypt()
/optee_os-3.20.0/scripts/
A Dsign_encrypt.py32 TAG_SIZE = 16 variable
399 self.ciphertext = out[:-TAG_SIZE]
401 self.tag = out[-TAG_SIZE:]
618 if tag_len != TAG_SIZE:

Completed in 5 milliseconds