/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 67 #define HASHSIZE 20 macro 96 static uint8_t leftover[HASHSIZE]; /* leftover output */ 99 static uint32_t previous_bytes[HASHSIZE/BYTES_IN_WORD]; /* prev random bytes */ 241 (void) swrand_get_entropy((uint8_t *)swrand_XKEY, HASHSIZE, B_TRUE); in _init() 242 bcopy(swrand_XKEY, previous_bytes, HASHSIZE); in _init() 321 uint8_t digest[HASHSIZE], *pool; in swrand_get_entropy() 322 uint32_t tempout[HASHSIZE/BYTES_IN_WORD]; in swrand_get_entropy() 362 bytes = min(HASHSIZE, len); in swrand_get_entropy() 378 for (i = 0; i < HASHSIZE; i++) { in swrand_get_entropy() 387 if (len >= HASHSIZE) { in swrand_get_entropy() [all …]
|
/titanic_44/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 92 #define HASHSIZE 20 macro 600 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() 641 nblock = howmany(len, HASHSIZE); in rnd_generate_pseudo_bytes() 685 for (i = 0; i < HASHSIZE; i++) { in rnd_generate_pseudo_bytes() 689 bcopy(rmp->rm_mag.rm_seed, seed, HASHSIZE); in rnd_generate_pseudo_bytes() 694 if (bytes >= HASHSIZE) { in rnd_generate_pseudo_bytes() [all …]
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.h | 59 #define HASHSIZE 128 macro 60 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE) 78 CIRCLEQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
|
H A D | mpool.c | 85 for (entry = 0; entry < HASHSIZE; ++entry)
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_common.h | 30 #ifndef HASHSIZE 31 #define HASHSIZE 997 /* a convenient prime */ macro
|
H A D | rc_mem.c | 214 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_mem_resolve()
|
H A D | rc_file.c | 217 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_file_resolve()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | lookup.c | 32 static struct syment *hashtab[HASHSIZE]; 118 n %= HASHSIZE;
|
H A D | defs.h | 69 #define HASHSIZE 1021 macro
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 45 #define HASHSIZE 151 macro 123 if (init_cache(&grnam_cache, HASHSIZE, BSZ, in cgrnam() 190 if (init_cache(&pwnam_cache, HASHSIZE, BSZ, in cpwnam() 282 if (init_cache(&grgid_cache, HASHSIZE, BSZ, in cgrgid() 346 if (init_cache(&pwuid_cache, HASHSIZE, BSZ, in cpwuid()
|
/titanic_44/usr/src/cmd/spell/ |
H A D | hash.h | 28 #define HASHSIZE 134217689L /* prime under 2^HASHWIDTH */ macro
|
H A D | hash.c | 49 static long hashsize = HASHSIZE;
|
/titanic_44/usr/src/uts/common/io/ |
H A D | random.c | 59 #define HASHSIZE 20 /* Assuming a SHA1 hash algorithm */ macro 233 uint8_t random_bytes[2 * HASHSIZE]; in rnd_read()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgparam/ |
H A D | pkgparam.c | 56 #define HASHSIZE 151 macro
|
/titanic_44/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 353 #define HASHSIZE 17 macro 354 hash_node_t *hash_table[HASHSIZE]; 366 index = index % HASHSIZE; in hash_insert()
|
/titanic_44/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 26 #define HASHSIZE 1000 macro 27 #define INOHASH(val) (val % HASHSIZE) 35 static struct inotab *inotab[HASHSIZE];
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 196 #define HASHSIZE 1024 /* hash table size, power of 2 */ macro
|
H A D | Pcontrol.c | 1184 for (i = 0; i < HASHSIZE; i++) { in Pfree() 3107 for (Lp = &P->hashtab[lwpid % (HASHSIZE - 1)]; in Lfind() 3134 (P->hashtab = calloc(HASHSIZE, sizeof (struct ps_lwphandle *))) in Lgrab()
|
/titanic_44/usr/src/cmd/tar/ |
H A D | tar.c | 6196 #define HASHSIZE 256 macro 6198 static cachenode_t *names[HASHSIZE]; 6199 static cachenode_t *groups[HASHSIZE]; 6200 static cachenode_t *uids[HASHSIZE]; 6201 static cachenode_t *gids[HASHSIZE]; 6223 for (c = table[h & (HASHSIZE - 1)]; c != NULL; c = c->next) { in hash_lookup_byval() 6236 for (c = table[h & (HASHSIZE - 1)]; c != NULL; c = c->next) { in hash_lookup_byname() 6263 c->next = table[signature & (HASHSIZE - 1)]; in hash_insert() 6264 table[signature & (HASHSIZE - 1)] = c; in hash_insert()
|