Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/crypto/rng/
H A Dfips_random.h38 #define BYTES_IN_WORD 4 macro
39 #define SHA1BYTES (BYTES_IN_WORD * SHA1WORDS)
/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_random.c600 uint32_t rm_key[HASHSIZE/BYTES_IN_WORD]; /* FIPS XKEY */
601 uint32_t rm_seed[HASHSIZE/BYTES_IN_WORD]; /* seed for rekey */
602 uint32_t rm_previous[HASHSIZE/BYTES_IN_WORD]; /* prev random */
627 uint32_t tempout[HASHSIZE/BYTES_IN_WORD]; in rnd_generate_pseudo_bytes()
628 uint32_t seed[HASHSIZE/BYTES_IN_WORD]; in rnd_generate_pseudo_bytes()
706 for (i = 0; i < HASHSIZE/BYTES_IN_WORD; i++) { in rnd_generate_pseudo_bytes()
710 if (i == HASHSIZE/BYTES_IN_WORD) { in rnd_generate_pseudo_bytes()
/titanic_44/usr/src/uts/common/crypto/io/
H A Dswrand.c99 static uint32_t previous_bytes[HASHSIZE/BYTES_IN_WORD]; /* prev random bytes */
322 uint32_t tempout[HASHSIZE/BYTES_IN_WORD]; in swrand_get_entropy()
399 for (i = 0; i < HASHSIZE/BYTES_IN_WORD; i++) { in swrand_get_entropy()
404 if (i == HASHSIZE/BYTES_IN_WORD) { in swrand_get_entropy()