Lines Matching defs:nbytes
270 int nbytes;
272 for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0;
273 nbytes = crypto_hash_walk_done(&walk, nbytes))
274 nbytes = crypto_shash_update(desc, walk.data, nbytes);
276 return nbytes;
293 int nbytes;
295 nbytes = crypto_hash_walk_first(req, &walk);
296 if (!nbytes)
300 nbytes = crypto_hash_walk_last(&walk) ?
301 crypto_shash_finup(desc, walk.data, nbytes,
303 crypto_shash_update(desc, walk.data, nbytes);
304 nbytes = crypto_hash_walk_done(&walk, nbytes);
305 } while (nbytes > 0);
307 return nbytes;
323 unsigned int nbytes = req->nbytes;
328 if (nbytes &&
330 nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) {
334 err = crypto_shash_digest(desc, data + offset, nbytes,