Home
last modified time | relevance | path

Searched refs:HASH (Results 1 – 25 of 35) sorted by relevance

12

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h99 #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 Dlc_utils.c39 #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 Dsd_hash.c204 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 Dsd_hash.h69 #define HASH(cd, blk, table) \ macro
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Ddeattack.c66 #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 Dhsearch.c95 # 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 Ddepend.c44 #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 Dhsearch.c104 #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 Dnhash.c53 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 Dsvcauthdes.c85 #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 Dquot.c85 #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 Dhashlib.h84 #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 Dstabs.h60 #define HASH(NUM) ((int)(NUM & (BUCKETS - 1))) macro
H A Dstabs.c253 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 Dtlm_bitmap.c110 #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 Dsysplugin.c124 #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 Dnfs4_db_impl.h135 #define HASH(idx, key) (idx->dbi_hash(key) % idx->dbi_table->dbt_len) macro
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dnl7ctokreq.txt34 Qhdr_Host, "Host: ", PASS | QUALIFIER | HASH
/titanic_44/usr/src/uts/sun4/conf/
H A DMapfile67 ASSIGN_SECTION { TYPE = HASH };
/titanic_44/usr/src/tools/ctf/cvt/
H A Dst_parse.c42 #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 Ddigestmd5.c135 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 Delf.c1364 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.h137 #define HASH(X) (((Rt_elfp *)(X)->rt_priv)->e_hash) macro
/titanic_44/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c106 #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 Dnfs4_db.c447 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()

12