/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_common.h | 61 int hash(krb5_donot_replay *rep, int hsize);
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | mkstr.c | 46 * Modified March 1978 to hash old messages to be able to recompile 230 struct hash { struct 233 struct hash *hnext; 242 register struct hash *hp; 266 hp = (struct hash *) calloc(1, sizeof *hp);
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | deliv2.c | 22 hash(char *s) function
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hash.c | 34 #include "hash.h" 69 hash(char *s) function
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 116 mhash_retrieve_entry(scf_handle_t *hndl, const char *name, uchar_t *hash, argument 132 * In this implementation the hash for name is the opaque value of 170 szret = scf_value_get_opaque(val, hash, MHASH_SIZE); 177 * Make sure that the old hash is returned with 181 (void) memset(hash + MHASH_SIZE_OLD, 0, 233 uchar_t *hash, apply_action_t apply_late, char **errstr) 276 *errstr = gettext("Could not get manifest hash " 293 *errstr = gettext("Could not store file hash: " 300 *errstr = gettext("Could not add manifest hash " 308 *errstr = gettext("Could not store file hash 232 mhash_store_entry(scf_handle_t *hndl, const char *name, const char *fname, uchar_t *hash, apply_action_t apply_late, char **errstr) argument 521 md5_hash_file(const char *file, off64_t sz, uchar_t *hash) argument 590 uchar_t hash[MHASH_SIZE]; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 124 void smb_oldlm_hash(const char *apwd, uchar_t *hash); 125 void smb_ntlmv1hash(const char *apwd, uchar_t *hash); 129 int smb_lmresponse(const uchar_t *hash, const uchar_t *C8, uchar_t *RN); 130 int smb_ntlmv2response(const uchar_t *hash, const uchar_t *C8,
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | hash.h | 29 * hash table library interface definitions 97 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0) 101 #define hashkeep(b) ((b)->hash|=HASH_KEEP) 102 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name) 134 unsigned int hash; /* hash flags and value */ \ 151 typedef struct /* hash scan bucket position */ 168 struct Hash_root /* root hash table information */ 180 struct Hash_table /* hash table information */ 182 Hash_root_t* root; /* root hash tabl [all...] |
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | hash.h | 27 * hash table library interface definitions 88 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0) 92 #define hashkeep(b) ((b)->hash|=HASH_KEEP) 93 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name) 125 unsigned int hash; /* hash flags and value */ \ 142 typedef struct /* hash scan bucket position */ 159 struct Hash_root /* root hash table information */ 171 struct Hash_table /* hash table information */ 173 Hash_root_t* root; /* root hash tabl [all...] |
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | hash.h | 29 * hash table library interface definitions 97 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0) 101 #define hashkeep(b) ((b)->hash|=HASH_KEEP) 102 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name) 134 unsigned int hash; /* hash flags and value */ \ 151 typedef struct /* hash scan bucket position */ 168 struct Hash_root /* root hash table information */ 180 struct Hash_table /* hash table information */ 182 Hash_root_t* root; /* root hash tabl [all...] |
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | hash.h | 29 * hash table library interface definitions 97 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0) 101 #define hashkeep(b) ((b)->hash|=HASH_KEEP) 102 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name) 134 unsigned int hash; /* hash flags and value */ \ 151 typedef struct /* hash scan bucket position */ 168 struct Hash_root /* root hash table information */ 180 struct Hash_table /* hash table information */ 182 Hash_root_t* root; /* root hash tabl [all...] |
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | hash.h | 29 * hash table library interface definitions 97 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0) 101 #define hashkeep(b) ((b)->hash|=HASH_KEEP) 102 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name) 134 unsigned int hash; /* hash flags and value */ \ 151 typedef struct /* hash scan bucket position */ 168 struct Hash_root /* root hash table information */ 180 struct Hash_table /* hash table information */ 182 Hash_root_t* root; /* root hash tabl [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | extras.c | 122 * dictionary hash table by hashcode... 127 ficlHash *hash = ficlVmGetDictionary(vm)->forthWordlist; local 131 unsigned hashSize = hash->size; 145 word = hash->table[i]; 153 word = hash->table[i];
|
H A D | tools.c | 125 * Calculate a figure of merit for the dictionary hash table based 131 * The figure would be worse if the hash table used an open 141 ficlWord **hash; local 155 hash = pFHash->table; 161 word = hash[i]; 177 /* Calc actual avg search depth for this hash */ 180 /* Calc best possible performance with this size hash */ 677 ficlHash *hash; local 679 hash = (ficlHash *)ficlStackPopPointer(vm->dataStack); 680 ficlHashForget(hash, dictionar 700 ficlHash *hash = dictionary->compilationWordlist; local 717 ficlHash *hash = dictionary->wordlists[dictionary->wordlistCount - 1]; local 810 ficlHash *hash = dictionary->forthWordlist; local [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 34 #include "hash.h" 49 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift) macro 119 i = hash(str);
|
/illumos-gate/usr/src/tools/codesign/ |
H A D | codesign_server.pl | 145 my $hash = `digest -a md5 $Tmpdir/reloc/$path`; 149 chomp($hash); 150 audit("SIGN $path $cred $hash");
|
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtrenew.c | 64 { s = dt->data->htab + HINDEX(dt->data->ntab,e->hash); 73 e->hash = _DTHSH(dt,key,disc,disc->size);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | dig_mgr.c | 480 CK_BYTE *hash, 491 if (hash == NULL && hash_len == NULL) 496 if (hash == NULL) { 502 SHA1Final(hash, ctx->context.sha1ctx); 508 if (hash == NULL) { 514 MD5Final(hash, ctx->context.md5ctx); 478 digest_mgr_digest_final(SESSION *sess, DIGEST_CONTEXT *ctx, CK_BYTE *hash, CK_ULONG *hash_len) argument
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Option.java | 641 int hash = 17; 642 hash = (37 * hash) + name.hashCode(); 643 hash = (37 * hash) + value.hashCode(); 644 return hash;
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prtable.c | 247 int hash = pid % PLWP_TBL_SZ; local 252 elm->l_next = plwp_tbl[hash]; /* add in front of chain */ 253 plwp_tbl[hash] = elm; 260 int hash = pid % PLWP_TBL_SZ; local 262 elm = plwp_tbl[hash]; 268 plwp_tbl[hash] = elm->l_next;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 21 krb5_arcfour_encrypt_length(enc, hash, inputlen, length) 23 const struct krb5_hash_provider *hash; 30 hashsize = hash->hashsize; 72 krb5_arcfour_encrypt(context, enc, hash, key, usage, ivec, input, output) 75 const struct krb5_hash_provider *hash; 91 hashsize = hash->hashsize; 200 ret = krb5_hmac(context, hash, key, 1, &salt, &d1); 227 ret = krb5_hmac(context, hash, kptr, 1, &plaintext, &checksum); 243 ret = krb5_hmac(context, hash, &k1, 1, &checksum, &d3); 269 krb5_arcfour_decrypt(context, enc, hash, ke [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ipsec_impl.h | 121 * actions: refcounted; referenced from: action hash table, policy, ipsec_out 122 * selectors: refcounted; referenced from: selector hash table, policy. 134 #define HASH_LOCK(table, hash) \ 135 mutex_enter(&(table)[hash].hash_lock) 136 #define HASH_UNLOCK(table, hash) \ 137 mutex_exit(&(table)[hash].hash_lock) 139 #define HASH_LOCKED(table, hash) \ 140 MUTEX_HELD(&(table)[hash].hash_lock) 142 #define HASH_ITERATE(var, field, table, hash) \ 143 var = table[hash] [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | setkey.c | 460 int hash = HASH_UID(uid); local 462 debug(KEYSERV_DEBUG, ("mapuid2cache %d %d %x", uid, hash, mdp)); 463 for (cpp = &mdp->bucket[hash]; 781 int hash = HASH_UID(uid); local 784 for (l = &g_secretkey_netname[hash]; *l != NULL && (*l)->uid != uid; 965 int hash = HASH_UID(uid); local 968 for (l = g_secretkey_netname[hash]; l != NULL; l = l->next) { 1163 readcache(pub, sec, deskey, hash) 1167 int hash; 1171 for (l = &g_cachedkeys[hash]; (* 1242 int hash = HASH_UID(uid); local 1289 int hash; local 1348 int hash = 0; local 1368 int hash = hash_keys3(public, secret); local 1652 int hash; local 1739 int hash = HASH_UID(uid); local 1831 int hash = 0; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 174 long hash; local 176 hash = dcalchash(key); 178 db->dbm_blkno = hash & db->dbm_hmask; 324 dbm_hashinc(DBM *db, long hash) argument 329 hash &= db->dbm_hmask; 335 if((hash&bit) == 0) 336 return(hash|bit); 337 hash &= ~bit; 346 dbm_firsthash(DBM *db, long hash) argument 352 dbm_access(db, hash); 446 long hash; local 609 dbm_access(DBM *db, long hash) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 238 unsigned long hash; local 240 hash = dcalchash(key); 242 db->dbm_blkno = hash & db->dbm_hmask; 402 dbm_hashinc(DBM *db, unsigned long hash) argument 406 hash &= db->dbm_hmask; 412 if ((hash&bit) == 0) 413 return (hash|bit); 414 hash &= ~bit; 423 dbm_firsthash(DBM *db, unsigned long hash) argument 429 dbm_access(db, hash); 544 unsigned long hash; local 717 dbm_access(DBM *db, unsigned long hash) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 64 #define TMPFS_HASH(tp, name, hash) \ 67 hash = (uint_t)(uintptr_t)(tp) >> 8; \ 69 hash = (hash << 4) + hash + (uint_t)Xc; \ 87 uint_t hash; local 91 TMPFS_HASH(t->td_parent, t->td_name, hash); 92 t->td_hash = hash; 93 prevpp = &t_hashtable[T_HASH_INDEX(hash)]; 94 t_hmtx = &t_hashmutex[T_MUTEX_INDEX(hash)]; 107 uint_t hash; local 129 uint_t hash; local 144 uint_t hash; local [all...] |