/freebsd-10.2-release/tools/tools/zfsboottest/ |
H A D | zfsboottest.c | 90 char buf[512], hash[33]; local 198 MD5End(&ctx, hash); 199 printf("%s %s\n", hash, argv[i]);
|
/freebsd-10.2-release/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 292 struct crypto_hash *hash; local 317 hash = eap_pwd_h_init(); 318 if (hash == NULL) 330 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime)); 344 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime)); 348 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime)); 355 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->order)); 369 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime)); 373 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime)); 380 eap_pwd_h_update(hash, cruf 739 struct crypto_hash *hash; local [all...] |
/freebsd-10.2-release/contrib/compiler-rt/lib/ |
H A D | atomic.c | 94 intptr_t hash = (intptr_t)ptr; local 96 // same memory operation to hash to the same value and therefore use the same 98 hash >>= 4; 99 // Use the next bits as the basis for the hash 100 intptr_t low = hash & SPINLOCK_MASK; 101 // Now use the high(er) set of bits to perturb the hash, so that we don't 103 hash >>= 16; 104 hash ^= low; 106 return locks + (hash & SPINLOCK_MASK);
|
/freebsd-10.2-release/sys/geom/journal/ |
H A D | g_journal.h | 294 u_char md_hash[16]; /* MD5 hash. */ 360 char hash[16 * 2 + 1]; local 374 bzero(hash, sizeof(hash)); 376 hash[i * 2] = hex[md->md_hash[i] >> 4]; 377 hash[i * 2 + 1] = hex[md->md_hash[i] & 0x0f]; 379 printf(" MD5 hash: %s\n", hash);
|
/freebsd-10.2-release/usr.bin/csup/ |
H A D | idcache.c | 77 static uint32_t hash(const char *); 79 /* A 32-bit version of Peter Weinberger's (PJW) hash algorithm, 82 hash(const char *name) function 180 key2 = hash(uidc->name) % NAMETOUID_SZ; 226 key2 = hash(gidc->name) % NAMETOGID_SZ; 251 key = hash(name) % NAMETOUID_SZ; 300 key = hash(name) % NAMETOGID_SZ;
|
/freebsd-10.2-release/libexec/revnetgroup/ |
H A D | hash.c | 35 "$FreeBSD: releng/10.2/libexec/revnetgroup/hash.c 90377 2002-02-07 23:57:01Z imp $"; 42 #include "hash.h" 45 * This hash function is stolen directly from the 51 * OZ's original sdbm hash 54 hash(const void *keyarg, size_t len) function 99 * Generate a hash value for a given key (character string). 109 return(hash((void *)key, strlen(key)) & HASH_MASK); 112 /* Find an entry in the hash table (may be hanging off a linked list). */ 130 * Store an entry in the main netgroup hash table. Here's how this 133 * much larger than the table. Since our hash value [all...] |
/freebsd-10.2-release/contrib/gcc/ |
H A D | c-objc-common.c | 165 int precision, bool wide, bool set_locus, bool hash) 173 if (precision != 0 || wide || hash) 164 c_tree_printer(pretty_printer *pp, text_info *text, const char *spec, int precision, bool wide, bool set_locus, bool hash) argument
|
H A D | cse.c | 64 a hash table for most expressions, and a vector of "quantity 74 is to keep it in a hash table. 103 REG expressions with qty_table `mode' must be in the hash table for both 107 any mode, two REG expressions might be equivalent in the hash table 115 putting the constant in the hash table as is usual for non-regs. 128 is recorded in the hash table along with the actual RTL 134 we use a hash table called `table'. It has a fixed number of buckets 137 hash codes. 144 The hash code of a register reference is computed using the quantity 148 hash tabl 1310 remove_from_table(struct table_elt *elt, unsigned int hash) argument 1388 remove_pseudo_from_table(rtx x, unsigned int hash) argument 1408 lookup(rtx x, unsigned int hash, enum machine_mode mode) argument 1424 lookup_for_remove(rtx x, unsigned int hash, enum machine_mode mode) argument 1510 insert(rtx x, struct table_elt *classp, unsigned int hash, enum machine_mode mode) argument 1702 unsigned int hash; local 1807 unsigned int hash = HASH (x, GET_MODE (x)); local 1981 unsigned hash; local 2030 unsigned hash; local 2155 unsigned hash = 0; local 2183 unsigned hash = 0; local 2863 unsigned hash; local 6084 unsigned hash; local [all...] |
H A D | scan.h | 53 extern unsigned long hash (const char *);
|
/freebsd-10.2-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_l2t.c | 179 * failed instead of removing it from the hash (for which we'd 309 * presently in the hash table. We need to remove it. 312 int hash = arp_hash(e->addr, e->ifp->if_index, d); local 314 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next) { 333 int hash = arp_hash(addr, ifp->if_index, d); local 337 for (e = d->l2tab[hash].first; e; e = e->next) { 348 e->next = d->l2tab[hash].first; 349 d->l2tab[hash].first = e; 378 int hash = arp_hash(addr, ifp->if_index, d); local 381 for (e = d->l2tab[hash] [all...] |
/freebsd-10.2-release/crypto/openssh/ |
H A D | kexc25519.c | 87 u_char **hash, u_int *hashlen) 118 dump_digest("hash", digest, ssh_digest_bytes(hash_alg)); 120 *hash = digest; 77 kex_c25519_hash( int hash_alg, char *client_version_string, char *server_version_string, char *ckexinit, int ckexinitlen, char *skexinit, int skexinitlen, u_char *serverhostkeyblob, int sbloblen, const u_char client_dh_pub[CURVE25519_SIZE], const u_char server_dh_pub[CURVE25519_SIZE], const u_char *shared_secret, u_int secretlen, u_char **hash, u_int *hashlen) argument
|
/freebsd-10.2-release/usr.sbin/ppp/ |
H A D | chap_ms.c | 134 NtPasswordHash(char *key, int keylen, char *hash) argument 140 MD4Final(hash, &MD4context); 144 HashNtPasswordHash(char *hash, char *hashhash) argument 149 MD4Update(&MD4context, hash, 16); 247 * Now hash the hash 403 u_char hash[16]; local 411 DesEncrypt(salt, SECRET, hash); 412 DesEncrypt(salt, SECRET + 7, hash + 8); 414 ChallengeResponse(challenge, hash, diges [all...] |
/freebsd-10.2-release/usr.sbin/pkg/ |
H A D | pkg.c | 81 char hash[BUFSIZ]; member in struct:fingerprint 311 strlcpy(f->hash, fp, sizeof(f->hash)); 399 sha256_hash(unsigned char hash[SHA256_DIGEST_LENGTH], argument 405 sprintf(out + (i * 2), "%02x", hash[i]); 413 unsigned char hash[SHA256_DIGEST_LENGTH]; local 420 SHA256_Final(hash, &sha256); 421 sha256_hash(hash, out); 430 unsigned char hash[SHA256_DIGEST_LENGTH]; local 463 SHA256_Final(hash, 738 char hash[SHA256_DIGEST_LENGTH * 2 + 1]; local [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Breakpoint/ |
H A D | BreakpointOptions.cpp | 169 std::hash<std::string> hasher; 174 BreakpointOptions::GetConditionText (size_t *hash) const 178 if (hash) 179 *hash = m_condition_text_hash;
|
/freebsd-10.2-release/contrib/libstdc++/include/ext/pb_ds/detail/ |
H A D | standard_policies.hpp | 66 typedef __gnu_cxx::hash< Key> type;
|
/freebsd-10.2-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | st.h | 61 st_ptr_t(*hash) (void *); member in struct:st_hash_type
|
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | getlocks.c | 71 /* return hash */ 72 apr_hash_t *hash; 182 svn_hash_sets(lock_ctx->hash, result_lock->path, result_lock); 257 lock_ctx->hash = apr_hash_make(pool); 292 *locks = lock_ctx->hash; 70 apr_hash_t *hash; member in struct:lock_context_t
|
/freebsd-10.2-release/contrib/wpa/src/common/ |
H A D | wpa_common.c | 43 u8 hash[SHA1_MAC_LEN]; local 51 if (hmac_sha1(key, 16, buf, len, hash)) 53 os_memcpy(mic, hash, MD5_MAC_LEN); 712 u8 *pos, r0_key_data[48], hash[32]; local 750 sha256_vector(2, addr, len, hash); 751 os_memcpy(pmk_r0_name, hash, WPA_PMK_NAME_LEN); 763 u8 hash[32]; local 780 sha256_vector(4, addr, len, hash); 781 os_memcpy(pmk_r1_name, hash, WPA_PMK_NAME_LEN); 821 u8 *pos, hash[3 local 883 unsigned char hash[SHA256_MAC_LEN]; local [all...] |
/freebsd-10.2-release/crypto/openssl/crypto/txt_db/ |
H A D | txt_db.h | 102 LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp);
|
/freebsd-10.2-release/contrib/unbound/services/cache/ |
H A D | dns.h | 97 * @param hash: hash over qinfo. 109 hashvalue_t hash, struct reply_info* rep, time_t leeway, int pside,
|
H A D | rrset.h | 57 /** uses partitioned hash table */ 100 * @param hash: hash value of the item. Please read it from the key when 105 hashvalue_t hash, rrset_id_t id); 179 * storage as it uses the initial locks to obtain hash values. 181 * @param scratch: region for temporary storage of hash values.
|
/freebsd-10.2-release/lib/libc/db/test/hash.tests/ |
H A D | driver2.c | 43 __FBSDID("$FreeBSD: releng/10.2/lib/libc/db/test/hash.tests/driver2.c 165903 2007-01-09 00:28:16Z imp $"); 79 info.hash = my_hash; 105 perror("closing hash file");
|
H A D | tcreat3.c | 43 __FBSDID("$FreeBSD: releng/10.2/lib/libc/db/test/hash.tests/tcreat3.c 165903 2007-01-09 00:28:16Z imp $"); 67 ctl.hash = NULL; 75 fprintf(stderr, "cannot create: hash table (size %d)\n",
|
H A D | tread2.c | 43 __FBSDID("$FreeBSD: releng/10.2/lib/libc/db/test/hash.tests/tread2.c 165903 2007-01-09 00:28:16Z imp $"); 70 ctl.hash = NULL; 77 fprintf(stderr, "cannot open: hash table\n" );
|
H A D | tverify.c | 43 __FBSDID("$FreeBSD: releng/10.2/lib/libc/db/test/hash.tests/tverify.c 165903 2007-01-09 00:28:16Z imp $"); 71 ctl.hash = NULL; 78 fprintf(stderr, "cannot open: hash table\n" );
|