/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.h | 97 /* Generic MAC envelop macros. Substitute HASH with MD5, SHA1, & SHA2 mechs */ 99 #define SOFT_MAC_INIT_CTX(HASH, mac_ctx, ipad, opad, len) \ 100 /* Perform HASH on ipad */ \ 101 HASH##Init(&((mac_ctx)->hc_icontext)); \ 102 HASH##Update(&((mac_ctx)->hc_icontext), ipad, len); \ 103 /* Perform HASH on opad */ \ 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) \ 108 HASH##Updat [all...] |
/illumos-gate/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) 250 hp->dev_nxt = dev_hash[HASH(hp->dev_dev)]; 251 dev_hash[HASH(hp->dev_dev)] = hp;
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 44 #define HASH(name) (hash(name) % HASH_SIZE) macro 52 bucket = HASH(pkgname); 66 bucket = HASH(pkgname);
|
/illumos-gate/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); 717 int hash = HASH(num); 774 return (HASH(sum));
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_hash.h | 69 #define HASH(cd, blk, table) \ macro
|
H A D | sd_hash.c | 204 i = HASH(cd, block_num, table); 246 i = HASH(cd, block_num, table); 299 i = HASH(cd, block_num, table); 386 i = HASH(hptr->hh_cd, hptr->hh_blk_num, table); 463 i = HASH(old->hh_cd, old->hh_blk_num, table);
|
/illumos-gate/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->local->hash)(n);\ macro
|
/illumos-gate/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 */ 300 { unsigned int p0 = HASH(item.key); /* First probe index */ 380 i = HASH(item.key); /* Table[i] contains list head */
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 53 HASH(void *datap, int datalen, int hsz) function 97 (*cp)->hfunc = HASH;
|
/illumos-gate/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 */ 338 unsigned int p0 = HASH(item.key); /* First probe index */ 423 i = HASH(item.key); /* Table[i] contains list head */
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svcauthdes.c | 83 #define HASH(key) ((key) & (authdes_cachesz - 1)) macro 526 index = HASH(new->nickname); 555 int index = HASH(nickname); 607 authdes_cache[HASH(p->nickname)] = p->next; 656 authdes_cache[HASH(p->nickname)] = p->next;
|
/illumos-gate/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) { 548 uhp = &duhashtbl[HASH(uid)];
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_hash.c | 51 HASH(void *datap, int datalen, int hsz) function 94 (*cp)->hfunc = HASH;
|
/illumos-gate/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); 520 h = HASH(bn); 998 h = HASH(bn); 1065 h = HASH(cp->c_off); 1135 h = HASH(bn);
|
/illumos-gate/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) 342 HASH HA2; 343 HASH RespHash; 446 HASH HA1) 1664 HASH key, int keylen, 2343 HASH HA [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 124 #define HASH(s, r, m) {\ macro 349 HASH(hash_key, ix, HOSTHASHSIZE); 439 HASH(hash_key, ix, UIDHASHSIZE); 466 HASH(hash_key, ix, GIDHASHSIZE);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | _elf.h | 137 #define HASH(X) (((Rt_elfp *)(X)->rt_priv)->e_hash) macro
|
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];
|
/illumos-gate/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); 1083 int hash = HASH(num); 1122 return (HASH(sum));
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvMsg.java | 65 final static char HASH = '#'; field in class:SLPV1SSrvMsg 489 if (str.charAt(0) != HASH) {
|
/illumos-gate/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) { 292 ASSERT(HASH(cache_key, uid) >= 0); 293 head = &ga_cache_table[HASH(cache_key, uid)];
|
H A D | svc_rpcsec_gss.c | 113 #define HASH(key) ((key) % svc_rpc_gss_hashmod) macro 1571 int index = HASH(client_data->key); 1642 int index = HASH(key); 1662 int index = HASH(client_data->key);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 447 i = HASH(idx, key); 562 i = HASH(idx, key); 668 i = HASH(ip, ip->dbi_mkkey(entry->dbe_data));
|