Searched refs:aec (Results 1 – 1 of 1) sorted by relevance
420 struct crypto_authenc_ctx aec; member427 to_aes_gcm_ctx(struct crypto_authenc_ctx *aec) in to_aes_gcm_ctx() argument429 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() argument449 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() argument465 return internal_aes_gcm_init(&to_aes_gcm_ctx(aec)->ctx, mode, key, in aes_gcm_init()[all …]