Home
last modified time | relevance | path

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]; in pkcs11_get_nzero_urandom() local
372 bytesleft = sizeof (extrarand); in pkcs11_get_nzero_urandom()
373 if (pkcs11_get_urandom(extrarand, bytesleft) < 0) in pkcs11_get_nzero_urandom()
378 ((char *)dbuf)[i] = extrarand[bytesleft]; in pkcs11_get_nzero_urandom()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c398 uint8_t extrarand[32]; in ecc_knzero_random_generator() local
423 extrarand_len = sizeof (extrarand); in ecc_knzero_random_generator()
424 if ((rv = random_get_pseudo_bytes(extrarand, in ecc_knzero_random_generator()
438 ran_out[i] = extrarand[ebc]; in ecc_knzero_random_generator()
H A Drsa.c417 uint8_t extrarand[32]; in knzero_random_generator() local
442 extrarand_len = sizeof (extrarand); in knzero_random_generator()
443 if ((rv = random_get_pseudo_bytes(extrarand, in knzero_random_generator()
457 ran_out[i] = extrarand[ebc]; in knzero_random_generator()