Lines Matching refs:creq
153 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_set_creq() local
157 creq->flags = rctx->flags; in nitrox_set_creq()
158 creq->gfp = (rctx->flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? GFP_KERNEL : in nitrox_set_creq()
161 creq->ctrl.value = 0; in nitrox_set_creq()
162 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC; in nitrox_set_creq()
163 creq->ctrl.s.arg = rctx->ctrl_arg; in nitrox_set_creq()
165 creq->gph.param0 = cpu_to_be16(rctx->cryptlen); in nitrox_set_creq()
166 creq->gph.param1 = cpu_to_be16(rctx->cryptlen + rctx->assoclen); in nitrox_set_creq()
167 creq->gph.param2 = cpu_to_be16(rctx->ivsize + rctx->assoclen); in nitrox_set_creq()
170 creq->gph.param3 = cpu_to_be16(param3.param); in nitrox_set_creq()
172 creq->ctx_handle = rctx->ctx_handle; in nitrox_set_creq()
173 creq->ctrl.s.ctxl = sizeof(struct flexi_crypto_context); in nitrox_set_creq()
218 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_aes_gcm_enc() local
243 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, in nitrox_aes_gcm_enc()
252 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_aes_gcm_dec() local
277 return nitrox_process_se_request(nctx->ndev, creq, nitrox_aead_callback, in nitrox_aes_gcm_dec()
446 struct se_crypto_request *creq = &aead_rctx->nkreq.creq; in nitrox_rfc4106_enc() local
468 return nitrox_process_se_request(nctx->ndev, creq, in nitrox_rfc4106_enc()
478 struct se_crypto_request *creq = &aead_rctx->nkreq.creq; in nitrox_rfc4106_dec() local
501 return nitrox_process_se_request(nctx->ndev, creq, in nitrox_rfc4106_dec()