Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/
H A Dgcm.c18 struct tee_gcm_state { struct
26 static struct tee_gcm_state *to_tee_gcm_state(struct crypto_authenc_ctx *aectx) in to_tee_gcm_state() argument
30 return container_of(aectx, struct tee_gcm_state, aectx); in to_tee_gcm_state()
35 struct tee_gcm_state *ctx = calloc(1, sizeof(*ctx)); in crypto_aes_gcm_alloc_ctx()
54 struct tee_gcm_state *dst_ctx = to_tee_gcm_state(dst_aectx); in crypto_aes_gcm_copy_state()
55 struct tee_gcm_state *src_ctx = to_tee_gcm_state(src_aectx); in crypto_aes_gcm_copy_state()
70 struct tee_gcm_state *gcm = to_tee_gcm_state(aectx); in crypto_aes_gcm_init()
94 struct tee_gcm_state *gcm = to_tee_gcm_state(aectx); in crypto_aes_gcm_update_aad()
113 struct tee_gcm_state *gcm = to_tee_gcm_state(aectx); in crypto_aes_gcm_update_payload()
148 struct tee_gcm_state *gcm = to_tee_gcm_state(aectx); in crypto_aes_gcm_enc_final()
[all …]