Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dswrand.c98 static int leftover_bytes; /* leftover length */ variable
211 leftover_bytes = 0; in _init()
326 if (leftover_bytes > 0) { in swrand_get_entropy()
327 bytes = min(len, leftover_bytes); in swrand_get_entropy()
331 leftover_bytes -= bytes; in swrand_get_entropy()
332 if (leftover_bytes > 0) in swrand_get_entropy()
333 ovbcopy(leftover+bytes, leftover, leftover_bytes); in swrand_get_entropy()
415 leftover_bytes = HASHSIZE - bytes; in swrand_get_entropy()
417 leftover_bytes); in swrand_get_entropy()