Home
last modified time | relevance | path

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

/optee_os/core/crypto/
H A Daes-gcm.c420 struct crypto_authenc_ctx aec; member
427 to_aes_gcm_ctx(struct crypto_authenc_ctx *aec) in to_aes_gcm_ctx() argument
429 assert(aec->ops == &aes_gcm_ops); in to_aes_gcm_ctx()
431 return container_of(aec, struct aes_gcm_ctx, aec); in to_aes_gcm_ctx()
440 ctx->aec.ops = &aes_gcm_ops; in crypto_aes_gcm_alloc_ctx()
442 *ctx_ret = &ctx->aec; in crypto_aes_gcm_alloc_ctx()
447 static void aes_gcm_free_ctx(struct crypto_authenc_ctx *aec) in aes_gcm_free_ctx() argument
449 free(to_aes_gcm_ctx(aec)); in aes_gcm_free_ctx()
458 static TEE_Result aes_gcm_init(struct crypto_authenc_ctx *aec, in aes_gcm_init() argument
465 return internal_aes_gcm_init(&to_aes_gcm_ctx(aec)->ctx, mode, key, in aes_gcm_init()
[all …]