Lines Matching defs:gctx
847 struct mtk_aes_gcm_ctx *gctx = mtk_aes_gcm_ctx_cast(ctx);
857 info->cmd[cnt++] = AES_GCM_CMD3 | cpu_to_le32(gctx->textlen);
860 info->cmd[cnt++] = AES_GCM_CMD4 | cpu_to_le32(gctx->authsize);
863 info->cmd[cnt++] = AES_GCM_CMD5 | cpu_to_le32(gctx->authsize);
864 info->cmd[cnt++] = AES_GCM_CMD6 | cpu_to_le32(gctx->authsize);
924 struct mtk_aes_gcm_ctx *gctx = mtk_aes_gcm_ctx_cast(aes->ctx);
936 aes->total = len + gctx->authsize;
938 scatterwalk_map_and_copy(tag, req->dst, len, gctx->authsize, 1);
950 struct mtk_aes_gcm_ctx *gctx = mtk_aes_gcm_ctx_cast(ctx);
960 gctx->textlen = req->cryptlen - (enc ? 0 : gctx->authsize);
963 if (!gctx->textlen && !req->assoclen)
1027 struct mtk_aes_gcm_ctx *gctx = mtk_aes_gcm_ctx_cast(ctx);
1039 gctx->authsize = authsize;