Home
last modified time | relevance | path

Searched refs:HASHSIZE (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/uts/common/crypto/io/
H A Dswrand.c67 #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 Dkcf_random.c92 #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 Dmpool.h59 #define HASHSIZE 128 macro
60 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE)
78 CIRCLEQ_HEAD(_hqh, _bkt) hqh[HASHSIZE];
H A Dmpool.c85 for (entry = 0; entry < HASHSIZE; ++entry)
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.h30 #ifndef HASHSIZE
31 #define HASHSIZE 997 /* a convenient prime */ macro
H A Drc_mem.c214 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_mem_resolve()
H A Drc_file.c217 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 Dlookup.c32 static struct syment *hashtab[HASHSIZE];
118 n %= HASHSIZE;
H A Ddefs.h69 #define HASHSIZE 1021 macro
/titanic_44/usr/src/lib/libpkg/common/
H A Dncgrpw.c45 #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 Dhash.h28 #define HASHSIZE 134217689L /* prime under 2^HASHWIDTH */ macro
H A Dhash.c49 static long hashsize = HASHSIZE;
/titanic_44/usr/src/uts/common/io/
H A Drandom.c59 #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 Dpkgparam.c56 #define HASHSIZE 151 macro
/titanic_44/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c353 #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 Ddirs.c26 #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 DPcontrol.h196 #define HASHSIZE 1024 /* hash table size, power of 2 */ macro
H A DPcontrol.c1184 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 Dtar.c6196 #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()