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