/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.h | 99 HASH##Init(&((mac_ctx)->hc_icontext)); \ 100 HASH##Update(&((mac_ctx)->hc_icontext), ipad, len); \ 102 HASH##Init(&((mac_ctx)->hc_ocontext)); \ 103 HASH##Update(&((mac_ctx)->hc_ocontext), opad, len); 105 #define SOFT_MAC_UPDATE(HASH, mac_ctx, pPart, PartLen) \ argument 106 HASH##Update(&((mac_ctx)->hc_icontext), pPart, PartLen); 108 #define SOFT_MAC_FINAL(HASH, mac_ctx, mac) \ argument 109 HASH##Final((mac), &((mac_ctx)->hc_icontext)); \ 110 HASH##Update(&((mac_ctx)->hc_ocontext), (mac), HASH##_HASH_SIZE);\ 111 HASH##Final((mac), &((mac_ctx)->hc_ocontext)); [all …]
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 37 #define HASH(d) (((int)d) % N_DEVS) /* hash function */ macro 233 for (hp = dev_hash[HASH(dev)]; hp; hp = hp->dev_nxt) in getdev() 248 hp->dev_nxt = dev_hash[HASH(hp->dev_dev)]; in getdev() 249 dev_hash[HASH(hp->dev_dev)] = hp; in getdev()
|
/illumos-gate/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()
|
/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 */ in hsearch() 338 unsigned int p0 = HASH(item.key); /* First probe index */ in hsearch() 423 i = HASH(item.key); /* Table[i] contains list head */
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/common/crypto/skein/ |
H A D | THIRDPARTYLICENSE.descrip | 1 LICENSE TERMS OF SKEIN HASH ALGORITHM IMPLEMENTATION
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | asohdr.h | 69 #define HASH(p,z) ((integralof(p)*FNV_MULT)%(z)) macro
|
H A D | aso-sem.c | 184 k = HASH(p, apl->size) + 1;
|
H A D | aso-fcntl.c | 178 k = HASH(p, apl->size) + 1;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 83 #define HASH(u) ((uint_t)(u) % UHASH) macro 520 for (up = duhashtbl[HASH(uid)]; up != NULL; up = up->next) { in lookup() 546 uhp = &duhashtbl[HASH(uid)]; in adduid()
|
/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); 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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
|
H A D | hashlook.c | 95 else HASH(tab->root, name, n); in hashlook()
|
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 126 #define HASH(s, r, m) {\ macro 351 HASH(hash_key, ix, HOSTHASHSIZE); in gethname() 441 HASH(hash_key, ix, UIDHASHSIZE); in getuname() 468 HASH(hash_key, ix, GIDHASHSIZE); in getuname()
|
/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/uts/sun4/conf/ |
H A D | Mapfile | 67 ASSIGN_SECTION { TYPE = HASH };
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 229 HASH Ki_send; 230 HASH Ki_receive; 232 HASH HA1; /* Kcc or Kcs */ 343 HASH HA2; in DigestCalcResponse() 344 HASH RespHash; in DigestCalcResponse() 447 HASH HA1) in DigestCalcSecret() 2344 HASH HA1, 2379 HASH Secret, 2867 HASH A1; 3252 HASH HA1; [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | elf.c | 1338 if (HASH(ilmp) == NULL) 1341 buckets = HASH(ilmp)[0]; 1349 if ((ndx = HASH(ilmp)[hashoff]) == 0) 1352 chainptr = HASH(ilmp) + 2 + buckets; 1838 HASH(lmp) = (uint_t *)(dyn->d_un.d_ptr + base); 2496 if (HASH(lmp) == NULL) 2498 cnt = HASH(lmp)[1];
|
H A D | _elf.h | 137 #define HASH(X) (((Rt_elfp *)(X)->rt_priv)->e_hash) macro
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 110 #define HASH(keynum, uid_num) \ macro 284 if (HASH(cache_key, uid) < 0) { in rpc_gss_secget() 296 ASSERT(HASH(cache_key, uid) >= 0); in rpc_gss_secget() 297 head = &ga_cache_table[HASH(cache_key, uid)]; in rpc_gss_secget()
|
H A D | svc_rpcsec_gss.c | 116 #define HASH(key) ((key) % svc_rpc_gss_hashmod) macro 1686 int index = HASH(client_data->key); in insert_client() 1755 int index = HASH(key); in find_client() 1774 int index = HASH(client_data->key); in destroy_client()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 490 i = HASH(idx, key); in rfs4_dbe_destroy() 605 i = HASH(idx, key); in rfs4_dbsearch() 711 i = HASH(ip, ip->dbi_mkkey(entry->dbe_data)); in rfs4_dbsearch()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvMsg.java | 65 final static char HASH = '#'; field in SLPV1SSrvMsg 489 if (str.charAt(0) != HASH) { in parseInternal()
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | sections.msg | 47 @ MSG_SHT_HASH_DMP "HASH"
|