/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.h | 99 #define SOFT_MAC_INIT_CTX(HASH, mac_ctx, ipad, opad, len) \ argument 101 HASH##Init(&((mac_ctx)->hc_icontext)); \ 102 HASH##Update(&((mac_ctx)->hc_icontext), ipad, len); \ 104 HASH##Init(&((mac_ctx)->hc_ocontext)); \ 105 HASH##Update(&((mac_ctx)->hc_ocontext), opad, len); 107 #define SOFT_MAC_UPDATE(HASH, mac_ctx, pPart, PartLen) \ argument 108 HASH##Update(&((mac_ctx)->hc_icontext), pPart, PartLen); 110 #define SOFT_MAC_FINAL(HASH, mac_ctx, mac) \ argument 111 HASH##Final((mac), &((mac_ctx)->hc_icontext)); \ 112 HASH##Update(&((mac_ctx)->hc_ocontext), (mac), HASH##_HASH_SIZE);\ [all …]
|
/titanic_44/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 39 #define HASH(d) (((int)d) % N_DEVS) /* hash function */ macro 235 for (hp = dev_hash[HASH(dev)]; hp; hp = hp->dev_nxt) in getdev() 250 hp->dev_nxt = dev_hash[HASH(hp->dev_dev)]; in getdev() 251 dev_hash[HASH(hp->dev_dev)] = hp; in getdev()
|
/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_hash.c | 204 i = HASH(cd, block_num, table); in _sd_hash_search() 246 i = HASH(cd, block_num, table); in _sd_hash_search() 299 i = HASH(cd, block_num, table); in _sd_hash_insert() 386 i = HASH(hptr->hh_cd, hptr->hh_blk_num, table); in _sd_hash_delete() 463 i = HASH(old->hh_cd, old->hh_blk_num, table); in _sd_hash_replace()
|
H A D | sd_hash.h | 69 #define HASH(cd, blk, table) \ macro
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | deattack.c | 66 #define HASH(x) GET_32BIT(x) macro 154 h[HASH(IV) & (n - 1)] = HASH_IV; in detect_attack() 157 for (i = HASH(c) & (n - 1); h[i] != HASH_UNUSED; in detect_attack()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | hsearch.c | 95 # define HASH hashm /* Multiplicative hash function */ macro 102 # define HASH hashd /* Division hashing routine */ macro 257 i = HASH(item.key); /* Primary hash on key */ in hsearch() 300 { unsigned int p0 = HASH(item.key); /* First probe index */ in hsearch() 380 i = HASH(item.key); /* Table[i] contains list head */ in hsearch()
|
/titanic_44/usr/src/tools/protocmp/ |
H A D | depend.c | 44 #define HASH(name) (hash(name) % HASH_SIZE) macro 52 bucket = HASH(pkgname); in processed_package() 66 bucket = HASH(pkgname); in mark_processed()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 104 #define HASH hashm /* Multiplicative hash function */ macro 110 #define HASH hashd /* Division hashing routine */ macro 293 i = HASH(item.key); /* Primary hash on key */ in hsearch() 338 unsigned int p0 = HASH(item.key); /* First probe index */ in hsearch() 423 i = HASH(item.key); /* Table[i] contains list head */
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 53 HASH(void *datap, int datalen, int hsz) in HASH() function 97 (*cp)->hfunc = HASH; in init_cache()
|
/titanic_44/usr/src/uts/common/rpc/sec/ |
H A D | svcauthdes.c | 85 #define HASH(key) ((key) & (authdes_cachesz - 1)) macro 529 index = HASH(new->nickname); in authdes_cache_new() 558 int index = HASH(nickname); in authdes_cache_get() 610 authdes_cache[HASH(p->nickname)] = p->next; in authdes_cache_reclaim() 659 authdes_cache[HASH(p->nickname)] = p->next; in sweep_cache()
|
/titanic_44/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 85 #define HASH(u) ((uint_t)(u) % UHASH) macro 522 for (up = duhashtbl[HASH(uid)]; up != NULL; up = up->next) { in lookup() 548 uhp = &duhashtbl[HASH(uid)]; in adduid()
|
/titanic_44/usr/src/lib/libast/common/hash/ |
H A D | hashlib.h | 84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->… macro
|
/titanic_44/usr/src/tools/stabs/ |
H A D | stabs.h | 60 #define HASH(NUM) ((int)(NUM & (BUCKETS - 1))) macro
|
H A D | stabs.c | 253 int hash = HASH(h); in lookup() 717 int hash = HASH(num); in addhash() 774 return (HASH(sum)); in compute_sum()
|
/titanic_44/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_bitmap.c | 110 #define HASH(p) (((p) / BMAP_CHUNK_BITS) % BMAP_HASH_SIZE) macro 390 h = HASH(bn); in bm_chunk_setup() 520 h = HASH(bn); in bm_chunk_find() 998 h = HASH(bn); in dbm_chunk_load() 1065 h = HASH(cp->c_off); in dbm_chunk_alloc() 1135 h = HASH(bn); in dbm_chunk_find()
|
/titanic_44/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 124 #define HASH(s, r, m) {\ macro 349 HASH(hash_key, ix, HOSTHASHSIZE); in gethname() 439 HASH(hash_key, ix, UIDHASHSIZE); in getuname() 466 HASH(hash_key, ix, GIDHASHSIZE); in getuname()
|
/titanic_44/usr/src/uts/common/nfs/ |
H A D | nfs4_db_impl.h | 135 #define HASH(idx, key) (idx->dbi_hash(key) % idx->dbi_table->dbt_len) macro
|
/titanic_44/usr/src/uts/common/fs/sockfs/ |
H A D | nl7ctokreq.txt | 34 Qhdr_Host, "Host: ", PASS | QUALIFIER | HASH
|
/titanic_44/usr/src/uts/sun4/conf/ |
H A D | Mapfile | 67 ASSIGN_SECTION { TYPE = HASH };
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | st_parse.c | 42 #define HASH(NUM) ((int)(NUM & (BUCKETS - 1))) macro 466 int bucket = HASH(h); in lookup() 1083 int hash = HASH(num); in addhash() 1122 return (HASH(sum)); in compute_sum()
|
/titanic_44/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 135 typedef unsigned char HASH[HASHLEN + 1]; typedef 228 HASH Ki_send; 229 HASH Ki_receive; 231 HASH HA1; /* Kcc or Kcs */ 304 static void CvtHex(HASH Bin, HASHHEX Hex) in CvtHex() 342 HASH HA2; in DigestCalcResponse() 343 HASH RespHash; in DigestCalcResponse() 446 HASH HA1) in DigestCalcSecret() 1664 HASH key, int keylen, 2343 HASH HA1, [all …]
|
/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | elf.c | 1364 if (HASH(ilmp) == NULL) 1367 buckets = HASH(ilmp)[0]; 1375 if ((ndx = HASH(ilmp)[hashoff]) == 0) 1378 chainptr = HASH(ilmp) + 2 + buckets; 1864 HASH(lmp) = (uint_t *)(dyn->d_un.d_ptr + base); 2519 if (HASH(lmp) == NULL) 2521 cnt = HASH(lmp)[1];
|
H A D | _elf.h | 137 #define HASH(X) (((Rt_elfp *)(X)->rt_priv)->e_hash) macro
|
/titanic_44/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 106 #define HASH(keynum, uid_num) \ macro 280 if (HASH(cache_key, uid) < 0) { in rpc_gss_secget() 292 ASSERT(HASH(cache_key, uid) >= 0); in rpc_gss_secget() 293 head = &ga_cache_table[HASH(cache_key, uid)]; in rpc_gss_secget()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 447 i = HASH(idx, key); in rfs4_dbe_destroy() 562 i = HASH(idx, key); in rfs4_dbsearch() 668 i = HASH(ip, ip->dbi_mkkey(entry->dbe_data)); in rfs4_dbsearch()
|