Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Daes-gcm.c422 struct crypto_authenc_ctx aec; member
429 to_aes_gcm_ctx(struct crypto_authenc_ctx *aec) in to_aes_gcm_ctx() argument
431 assert(aec->ops == &aes_gcm_ops); in to_aes_gcm_ctx()
433 return container_of(aec, struct aes_gcm_ctx, aec); in to_aes_gcm_ctx()
442 ctx->aec.ops = &aes_gcm_ops; in crypto_aes_gcm_alloc_ctx()
444 *ctx_ret = &ctx->aec; in crypto_aes_gcm_alloc_ctx()
449 static void aes_gcm_free_ctx(struct crypto_authenc_ctx *aec) in aes_gcm_free_ctx() argument
451 free(to_aes_gcm_ctx(aec)); in aes_gcm_free_ctx()
460 static TEE_Result aes_gcm_init(struct crypto_authenc_ctx *aec, in aes_gcm_init() argument
483 return internal_aes_gcm_update_payload(&to_aes_gcm_ctx(aec)->ctx, in aes_gcm_update_payload()
[all …]

Completed in 4 milliseconds