Lines Matching refs:sreq

84 	struct mv_cesa_skcipher_std_req *sreq = &creq->std;  in mv_cesa_skcipher_std_step()  local
86 size_t len = min_t(size_t, req->cryptlen - sreq->offset, in mv_cesa_skcipher_std_step()
89 mv_cesa_adjust_op(engine, &sreq->op); in mv_cesa_skcipher_std_step()
90 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step()
94 len, sreq->offset); in mv_cesa_skcipher_std_step()
96 sreq->size = len; in mv_cesa_skcipher_std_step()
97 mv_cesa_set_crypt_op_len(&sreq->op, len); in mv_cesa_skcipher_std_step()
100 if (!sreq->skip_ctx) { in mv_cesa_skcipher_std_step()
101 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step()
102 sreq->skip_ctx = true; in mv_cesa_skcipher_std_step()
104 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc)); in mv_cesa_skcipher_std_step()
118 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_process() local
124 sreq->size, sreq->offset); in mv_cesa_skcipher_std_process()
126 sreq->offset += len; in mv_cesa_skcipher_std_process()
127 if (sreq->offset < req->cryptlen) in mv_cesa_skcipher_std_process()
170 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_prepare() local
172 sreq->size = 0; in mv_cesa_skcipher_std_prepare()
173 sreq->offset = 0; in mv_cesa_skcipher_std_prepare()
399 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_req_init() local
402 sreq->op = *op_templ; in mv_cesa_skcipher_std_req_init()
403 sreq->skip_ctx = false; in mv_cesa_skcipher_std_req_init()