Searched refs:in_r (Results 1 – 1 of 1) sorted by relevance
/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-hash.c | 200 int in_r, err = 0; in sun4i_hash() local 291 in_r = min(end - i, 64 - op->len); in sun4i_hash() 292 in_r = min_t(size_t, mi.length - in_i, in_r); in sun4i_hash() 293 memcpy(op->buf + op->len, mi.addr + in_i, in_r); in sun4i_hash() 294 op->len += in_r; in sun4i_hash() 295 i += in_r; in sun4i_hash() 296 in_i += in_r; in sun4i_hash() 312 in_r = min_t(size_t, mi.length - in_i, areq->nbytes - i); in sun4i_hash() 313 in_r = min_t(size_t, ((mi.length - in_i) / 4) * 4, in_r); in sun4i_hash() 315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash() [all …]
|