Searched refs:hash (Results 76 - 100 of 2941) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/wpa/dist/src/eap_common/
H A Deap_pwd_common.c31 void eap_pwd_h_update(struct crypto_hash *hash, const u8 *data, size_t len) argument
33 crypto_hash_update(hash, data, len);
37 void eap_pwd_h_final(struct crypto_hash *hash, u8 *digest) argument
40 crypto_hash_finish(hash, digest, &len);
48 struct crypto_hash *hash; local
59 hash = crypto_hash_init(CRYPTO_HASH_ALG_HMAC_SHA256,
61 if (hash == NULL)
64 crypto_hash_update(hash, digest, SHA256_MAC_LEN);
65 crypto_hash_update(hash, (u8 *) &i, sizeof(u16));
66 crypto_hash_update(hash, labe
140 struct crypto_hash *hash; local
319 struct crypto_hash *hash; local
[all...]
/netbsd-current/external/bsd/unbound/dist/validator/
H A Dval_secalgo.h48 /** Return size of nsec3 hash algorithm, 0 if not supported */
52 * Hash a single hash call of an NSEC3 hash algorithm.
54 * @param algo: nsec3 hash algorithm.
64 * Calculate the sha256 hash for the data buffer into the result.
72 * Start a hash of type sha384. Allocates structure, then inits it,
74 * @return hash structure. NULL on malloc failure or no support.
79 * Start a hash of type sha512. Allocates structure, then inits it,
81 * @return hash structure. NULL on malloc failure or no support.
86 * Update a hash wit
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/opcodes/
H A Dcgen-dis.c53 /* Add an instruction to the hash chain. */
58 unsigned int hash)
69 for (current_buf = htable[hash]; current_buf != NULL;
82 htable[hash] = hentbuf;
87 /* Subroutine of build_dis_hash_table to add INSNS to the hash table.
92 HTABLE points to the hash table.
93 HENTBUF is a pointer to sufficiently large buffer of hash entries.
112 unsigned int hash; local
121 to hash on, so set both up. */
128 hash
55 add_insn_to_hash_chain(CGEN_INSN_LIST *hentbuf, const CGEN_INSN *insn, CGEN_INSN_LIST **htable, unsigned int hash) argument
150 unsigned int hash; local
232 unsigned int hash; local
[all...]
/netbsd-current/external/gpl3/binutils/dist/opcodes/
H A Dcgen-dis.c58 /* Add an instruction to the hash chain. */
63 unsigned int hash)
74 for (current_buf = htable[hash]; current_buf != NULL;
87 htable[hash] = hentbuf;
92 /* Subroutine of build_dis_hash_table to add INSNS to the hash table.
97 HTABLE points to the hash table.
98 HENTBUF is a pointer to sufficiently large buffer of hash entries.
117 unsigned int hash; local
127 to hash on, so set both up. */
133 hash
60 add_insn_to_hash_chain(CGEN_INSN_LIST *hentbuf, const CGEN_INSN *insn, CGEN_INSN_LIST **htable, unsigned int hash) argument
155 unsigned int hash; local
237 unsigned int hash; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/opcodes/
H A Dcgen-dis.c54 /* Add an instruction to the hash chain. */
59 unsigned int hash)
70 for (current_buf = htable[hash]; current_buf != NULL;
83 htable[hash] = hentbuf;
88 /* Subroutine of build_dis_hash_table to add INSNS to the hash table.
93 HTABLE points to the hash table.
94 HENTBUF is a pointer to sufficiently large buffer of hash entries.
113 unsigned int hash; local
123 to hash on, so set both up. */
129 hash
56 add_insn_to_hash_chain(CGEN_INSN_LIST *hentbuf, const CGEN_INSN *insn, CGEN_INSN_LIST **htable, unsigned int hash) argument
151 unsigned int hash; local
233 unsigned int hash; local
[all...]
/netbsd-current/external/gpl3/gdb/dist/opcodes/
H A Dcgen-dis.c58 /* Add an instruction to the hash chain. */
63 unsigned int hash)
74 for (current_buf = htable[hash]; current_buf != NULL;
87 htable[hash] = hentbuf;
92 /* Subroutine of build_dis_hash_table to add INSNS to the hash table.
97 HTABLE points to the hash table.
98 HENTBUF is a pointer to sufficiently large buffer of hash entries.
117 unsigned int hash; local
127 to hash on, so set both up. */
133 hash
60 add_insn_to_hash_chain(CGEN_INSN_LIST *hentbuf, const CGEN_INSN *insn, CGEN_INSN_LIST **htable, unsigned int hash) argument
155 unsigned int hash; local
237 unsigned int hash; local
[all...]
/netbsd-current/usr.sbin/mtree/
H A Donly.c58 uint32_t hash; member in struct:hentry
70 uint32_t hash = 0; local
72 hash = hash * 33 + c; /* "perl": k=33, r=r+r/32 */
73 return hash + (hash >> 5);
83 if (e->hash == *h && strcmp(e->str, str) == 0)
100 e->hash = h;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
H A Dstringtable.c13 #include "hash.h"
20 uint32_t hash; member in struct:StringEntry
99 size_t StringTable::findSlot(hash_t hash, const char *s, size_t length) argument
102 // http://stackoverflow.com/questions/2348187/moving-from-linear-probing-to-quadratic-probing-hash-collisons/2349774#2349774
103 for (size_t i = hash & (tabledim - 1), j = 1; ;++j)
107 (table[i].hash == hash &&
117 const hash_t hash = calcHash(s, length); local
118 const size_t i = findSlot(hash, s, length);
125 const hash_t hash local
143 const hash_t hash = calcHash(s, length); local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_no_store_hash_fn_imps.hpp39 * hash value is not stored.
51 size_type hash = ranged_probe_fn_base::operator()(r_key); local
55 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i);
H A Derase_no_store_hash_fn_imps.hpp39 * when the hash value is not stored.
50 size_type hash = ranged_probe_fn_base::operator()(r_key); local
56 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i);
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-aarch64/
H A Difunc-1-local.d2 #ld: -shared --hash-style=sysv
H A Difunc-1.d2 #ld: -shared --hash-style=sysv
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-elf/
H A Dpr22393-1c.d9 +[0-9]+ +.*(\.note|\.gnu|\.hash|\.dyn|\.rel).*\.text.*
H A Dpr22393-1e.d9 +[0-9]+ +.*(\.note|\.gnu|\.hash|\.dyn|\.rel).*\.text.*
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-mips-elf/
H A Dhash1.d3 #ld: -nostdlib -shared --hash-style=gnu
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_no_store_hash_fn_imps.hpp39 * hash value is not stored.
51 size_type hash = ranged_probe_fn_base::operator()(r_key); local
55 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i);
H A Derase_no_store_hash_fn_imps.hpp39 * when the hash value is not stored.
50 size_type hash = ranged_probe_fn_base::operator()(r_key); local
56 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i);
/netbsd-current/external/mit/isl/dist/
H A Disl_id_private.h27 uint32_t hash; member in struct:isl_id
37 uint32_t isl_hash_id(uint32_t hash, __isl_keep isl_id *id);
/netbsd-current/crypto/external/bsd/netpgp/dist/src/libverify/
H A Dpgpsum.c45 don_armor(digest_t *hash, uint8_t *in, size_t insize, int doarmor) argument
60 digest_update(hash, from, (size_t)(newp - from));
61 digest_update(hash, dos_line_end, sizeof(dos_line_end));
63 digest_update(hash, from, insize - (size_t)(from - in));
112 digest_t hash; local
130 digest_init(&hash, (const unsigned)hashalg);
133 don_armor(&hash, mem, cc - 1, doarmor);
135 digest_update(&hash, mem, cc);
138 digest_update(&hash, hashed, hashsize);
140 digest_update(&hash, traile
[all...]
/netbsd-current/libexec/ld.elf_so/
H A Dsymbol.c60 #include "hash.h"
85 _rtld_symlook_list(const char *name, Elf_Hash *hash, const Objlist *objlist, argument
101 symp = _rtld_symlook_obj(name, hash, elm->obj, flags, ventry);
123 _rtld_symlook_needed(const char *name, Elf_Hash *hash, argument
138 def = _rtld_symlook_obj(name, hash, obj, flags, ventry);
157 def_w = _rtld_symlook_needed(name, hash, obj->needed, &defobj1,
264 if (obj->vertab[verndx].hash != ventry->hash ||
295 _rtld_symlook_obj_sysv(const char *name, unsigned long hash, argument
302 for (symnum = obj->buckets[fast_remainder32(hash, ob
326 _rtld_symlook_obj_gnu(const char *name, unsigned long hash, const Obj_Entry *obj, u_int flags, const Ver_Entry *ventry) argument
381 _rtld_symlook_obj(const char *name, Elf_Hash *hash, const Obj_Entry *obj, u_int flags, const Ver_Entry *ventry) argument
408 Elf_Hash hash; local
487 _rtld_symlook_default(const char *name, Elf_Hash *hash, const Obj_Entry *refobj, const Obj_Entry **defobj_out, u_int flags, const Ver_Entry *ventry) argument
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gas/
H A Dhash.c0 /* hash.c -- gas hash table code
21 /* This version of the hash table code is a wholescale replacement of
22 the old hash table code, which was fairly bad. This is based on
23 the hash table code in BFD, but optimized slightly for the
25 are stored in the hash table. Instead, it always stores a pointer.
26 The assembler uses the hash table mostly to store symbols, and we
27 don't need to confuse the symbol structure with a hash table
34 /* An entry in a hash table. */
37 /* Next entry for this hash cod
43 unsigned long hash; member in struct:hash_entry
137 unsigned long hash; local
210 unsigned long hash; local
240 unsigned long hash; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/lhash/
H A Dlhash.c62 ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h);
98 unsigned long hash; local
106 rn = getrn(lh, data, &hash);
115 nn->hash = hash;
130 unsigned long hash; local
135 rn = getrn(lh, data, &hash);
158 unsigned long hash; local
164 rn = getrn(lh, data, &hash);
218 unsigned long hash; local
299 unsigned long hash, nn; local
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/lhash/
H A Dlhash.c62 ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h);
109 unsigned long hash; local
117 rn = getrn(lh, data, &hash);
126 nn->hash = hash;
139 unsigned long hash; local
144 rn = getrn(lh, data, &hash);
165 unsigned long hash; local
171 rn = getrn(lh, data, &hash);
217 unsigned long hash; local
294 unsigned long hash, nn; local
[all...]
/netbsd-current/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_encoder_mf.c83 /// Hash value to indicate unused element in the hash. Since we start the
94 /// \brief Normalizes hash values
96 /// The hash arrays store positions of match candidates. The positions are
101 /// the hash.
103 /// To prevent integer overflows of the offsets stored in the hash arrays,
120 // we can simply mark the hash element as empty.
121 if (mf->hash[i] <= subvalue)
122 mf->hash[i] = EMPTY_HASH_VALUE;
124 mf->hash[i] -= subvalue;
170 /// the missed bytes are added to the hash usin
[all...]
/netbsd-current/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dhash.h33 * Routines for manipulating hash tables
40 typedef struct hash hash_t;

Completed in 399 milliseconds

1234567891011>>