Lines Matching refs:sreq

87 	struct mv_cesa_skcipher_std_req *sreq = &creq->std;  in mv_cesa_skcipher_std_step()  local
89 size_t len = min_t(size_t, req->cryptlen - sreq->offset, in mv_cesa_skcipher_std_step()
92 mv_cesa_adjust_op(engine, &sreq->op); in mv_cesa_skcipher_std_step()
93 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step()
97 len, sreq->offset); in mv_cesa_skcipher_std_step()
99 sreq->size = len; in mv_cesa_skcipher_std_step()
100 mv_cesa_set_crypt_op_len(&sreq->op, len); in mv_cesa_skcipher_std_step()
103 if (!sreq->skip_ctx) { in mv_cesa_skcipher_std_step()
104 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step()
105 sreq->skip_ctx = true; in mv_cesa_skcipher_std_step()
107 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc)); in mv_cesa_skcipher_std_step()
121 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_process() local
127 sreq->size, sreq->offset); in mv_cesa_skcipher_std_process()
129 sreq->offset += len; in mv_cesa_skcipher_std_process()
130 if (sreq->offset < req->cryptlen) in mv_cesa_skcipher_std_process()
173 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_prepare() local
175 sreq->size = 0; in mv_cesa_skcipher_std_prepare()
176 sreq->offset = 0; in mv_cesa_skcipher_std_prepare()
414 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_req_init() local
417 sreq->op = *op_templ; in mv_cesa_skcipher_std_req_init()
418 sreq->skip_ctx = false; in mv_cesa_skcipher_std_req_init()