Lines Matching defs:nbytes
302 int nbytes;
304 for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0;
305 nbytes = crypto_hash_walk_done(&walk, nbytes))
306 nbytes = crypto_shash_update(desc, walk.data, nbytes);
308 return nbytes;
325 int nbytes;
327 nbytes = crypto_hash_walk_first(req, &walk);
328 if (!nbytes)
332 nbytes = crypto_hash_walk_last(&walk) ?
333 crypto_shash_finup(desc, walk.data, nbytes,
335 crypto_shash_update(desc, walk.data, nbytes);
336 nbytes = crypto_hash_walk_done(&walk, nbytes);
337 } while (nbytes > 0);
339 return nbytes;
355 unsigned int nbytes = req->nbytes;
360 if (nbytes &&
362 nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) {
366 err = crypto_shash_digest(desc, data + offset, nbytes,