Lines Matching defs:nbytes
22 unsigned int nbytes, const u32 *key,
28 chacha20_vx(dst, src, nbytes, key, counter);
31 *counter += round_up(nbytes, CHACHA_BLOCK_SIZE) / CHACHA_BLOCK_SIZE;
40 unsigned int nbytes;
46 while (walk.nbytes > 0) {
47 nbytes = walk.nbytes;
48 if (nbytes < walk.total)
49 nbytes = round_down(nbytes, walk.stride);
51 if (nbytes <= CHACHA_BLOCK_SIZE) {
53 walk.src.virt.addr, nbytes,
57 walk.src.virt.addr, nbytes,
60 rc = skcipher_walk_done(&walk, walk.nbytes - nbytes);