Home
last modified time | relevance | path

Searched refs:in_r (Results 1 – 1 of 1) sorted by relevance

/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c178 int in_r, err = 0; in sun4i_hash_update() local
248 in_r = min(end - i, 64 - op->len); in sun4i_hash_update()
249 in_r = min_t(size_t, mi.length - in_i, in_r); in sun4i_hash_update()
250 memcpy(op->buf + op->len, mi.addr + in_i, in_r); in sun4i_hash_update()
251 op->len += in_r; in sun4i_hash_update()
252 i += in_r; in sun4i_hash_update()
253 in_i += in_r; in sun4i_hash_update()
269 in_r = min_t(size_t, mi.length - in_i, areq->nbytes - i); in sun4i_hash_update()
270 in_r = min_t(size_t, ((mi.length - in_i) / 4) * 4, in_r); in sun4i_hash_update()
272 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash_update()
[all …]