Lines Matching refs:ctxr
125 memcpy(ctx->base.ctxr->data, &ctx->base.ipad, ctx->key_sz); in safexcel_context_control()
127 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
162 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
198 ctx->base.ctxr->data[req->state_sz >> 2] = in safexcel_context_control()
206 memcpy(ctx->base.ctxr->data + (req->state_sz >> 2), in safexcel_context_control()
542 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_handle_inv_result()
698 if (ctx->base.ctxr) { in safexcel_ahash_enqueue()
703 memcmp(ctx->base.ctxr->data, req->state, req->state_sz) || in safexcel_ahash_enqueue()
706 memcmp(ctx->base.ctxr->data + (req->state_sz>>2), in safexcel_ahash_enqueue()
722 ctx->base.ctxr = dma_pool_zalloc(priv->context_pool, in safexcel_ahash_enqueue()
725 if (!ctx->base.ctxr) in safexcel_ahash_enqueue()
968 if (!ctx->base.ctxr) in safexcel_ahash_cra_exit()
976 dma_pool_free(priv->context_pool, ctx->base.ctxr, in safexcel_ahash_cra_exit()
1179 if (priv->flags & EIP197_TRC_CACHE && base->ctxr && in safexcel_hmac_setkey()