Searched refs:extrarand (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c356 char extrarand[32]; local
372 bytesleft = sizeof (extrarand);
373 if (pkcs11_get_urandom(extrarand, bytesleft) < 0)
378 ((char *)dbuf)[i] = extrarand[bytesleft];
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c396 size_t ebc = 0; /* count of extra bytes in extrarand */
398 uint8_t extrarand[32]; local
422 /* refresh extrarand */
423 extrarand_len = sizeof (extrarand);
424 if ((rv = random_get_pseudo_bytes(extrarand,
431 /* Replace zero with byte from extrarand. */
438 ran_out[i] = extrarand[ebc];
H A Drsa.c415 size_t ebc = 0; /* count of extra bytes in extrarand */
417 uint8_t extrarand[32]; local
441 /* refresh extrarand */
442 extrarand_len = sizeof (extrarand);
443 if ((rv = random_get_pseudo_bytes(extrarand,
450 /* Replace zero with byte from extrarand. */
457 ran_out[i] = extrarand[ebc];

Completed in 65 milliseconds