Lines Matching refs:creq
92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) {
253 struct se_crypto_request *creq;
256 creq = &nkreq->creq;
257 creq->flags = skreq->base.flags;
258 creq->gfp = (skreq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
262 creq->ctrl.value = 0;
263 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC;
264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT);
266 creq->gph.param0 = cpu_to_be16(skreq->cryptlen);
267 creq->gph.param1 = 0;
269 creq->gph.param2 = cpu_to_be16(ivsize);
270 creq->gph.param3 = 0;
272 creq->ctx_handle = nctx->u.ctx_handle;
273 creq->ctrl.s.ctxl = sizeof(struct flexi_crypto_context);
286 return nitrox_process_se_request(nctx->ndev, creq, nctx->callback,