Searched refs:SHA1BYTES (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/common/crypto/rng/ |
H A D | fips_random.c | 117 static const char zero[SHA1BLOCKBYTES - SHA1BYTES] = {0}; in fips_random_inner() 129 SHA1Update(&sha1_context, (unsigned char *)XVAL, SHA1BYTES); in fips_random_inner() 139 SHA1BLOCKBYTES - SHA1BYTES); in fips_random_inner() 154 xvalconv(x_j, sha1_context.state, SHA1BYTES/4); in fips_random_inner()
|
H A D | fips_random.h | 39 #define SHA1BYTES (BYTES_IN_WORD * SHA1WORDS) macro
|
/titanic_44/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_provider.c | 78 for (i = 0; i < nbytes; i += SHA1BYTES) { in fips_random() 144 bcopy(tempout, &out[i], min(nbytes - i, SHA1BYTES)); in fips_random() 152 bzero(tempout, SHA1BYTES); in fips_random() 176 rv = n2rng_getentropy(n2rng, (void *)frsp->XKEY, ROUNDUP(SHA1BYTES, 8)); in n2rng_fips_random_init()
|