Searched refs:hash (Results 26 - 50 of 798) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DStructuralHash.cpp29 void hash(uint64_t V) { Hash = hashing::detail::hash_16_bytes(Hash, V); } function in class:__anon2063::StructuralHashImpl
36 hash(hash_combine(V));
40 hash(ValueType->getTypeID());
42 hash(ValueType->getIntegerBitWidth());
58 hash(Arg->getArgNo());
61 // has explicit support for hashing strings and will not simply hash
68 hash(Inst.getOpcode());
78 hash(ComparisonInstruction->getPredicate());
84 // A function hash is calculated by considering only the number of arguments
90 // sequence. Because this hash currentl
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dhsearch_r.c36 * Look up an unused entry in the hash table for a given hash. For this
41 hsearch_lookup_free(struct __hsearch *hsearch, size_t hash) argument
45 for (index = hash, i = 0;; index += ++i) {
53 * Computes an FNV-1a hash of the key. Depending on the pointer size, this
59 size_t hash; local
61 hash = offset_basis;
63 hash ^= (uint8_t)*str++;
65 hash *= UINT32_C(16777619);
67 hash *
77 size_t hash, index, i, old_hash, old_count, new_count; local
[all...]
/freebsd-current/sys/net/
H A Dtoeplitz.c38 uint32_t hash = 0, v; local
47 hash ^= v;
54 return (hash);
/freebsd-current/lib/libcrypt/
H A Dcrypt-nthash.c56 u_char hash[MD4_SIZE]; local
69 MD4Final(hash, &ctx);
74 *buffer++ = hexconvtab[hash[i] >> 4];
75 *buffer++ = hexconvtab[hash[i] & 15];
/freebsd-current/contrib/bearssl/src/rsa/
H A Drsa_i62_pss_vrfy.c33 const void *hash, size_t salt_len, const br_rsa_public_key *pk)
45 hash, salt_len, pk, sig);
31 br_rsa_i62_pss_vrfy(const unsigned char *x, size_t xlen, const br_hash_class *hf_data, const br_hash_class *hf_mgf1, const void *hash, size_t salt_len, const br_rsa_public_key *pk) argument
H A Drsa_i62_pss_sign.c33 const unsigned char *hash, size_t salt_len,
36 if (!br_rsa_pss_sig_pad(rng, hf_data, hf_mgf1, hash,
31 br_rsa_i62_pss_sign(const br_prng_class **rng, const br_hash_class *hf_data, const br_hash_class *hf_mgf1, const unsigned char *hash, size_t salt_len, const br_rsa_private_key *sk, unsigned char *x) argument
H A Drsa_i32_pss_vrfy.c31 const void *hash, size_t salt_len, const br_rsa_public_key *pk)
43 hash, salt_len, pk, sig);
29 br_rsa_i32_pss_vrfy(const unsigned char *x, size_t xlen, const br_hash_class *hf_data, const br_hash_class *hf_mgf1, const void *hash, size_t salt_len, const br_rsa_public_key *pk) argument
H A Drsa_i31_pss_vrfy.c31 const void *hash, size_t salt_len, const br_rsa_public_key *pk)
43 hash, salt_len, pk, sig);
29 br_rsa_i31_pss_vrfy(const unsigned char *x, size_t xlen, const br_hash_class *hf_data, const br_hash_class *hf_mgf1, const void *hash, size_t salt_len, const br_rsa_public_key *pk) argument
H A Drsa_i15_pss_vrfy.c31 const void *hash, size_t salt_len, const br_rsa_public_key *pk)
43 hash, salt_len, pk, sig);
29 br_rsa_i15_pss_vrfy(const unsigned char *x, size_t xlen, const br_hash_class *hf_data, const br_hash_class *hf_mgf1, const void *hash, size_t salt_len, const br_rsa_public_key *pk) argument
/freebsd-current/contrib/bearssl/src/ec/
H A Decdsa_i31_vrfy_asn1.c32 const void *hash, size_t hash_len,
47 return br_ecdsa_i31_vrfy_raw(impl, hash, hash_len, pk, rsig, sig_len);
31 br_ecdsa_i31_vrfy_asn1(const br_ec_impl *impl, const void *hash, size_t hash_len, const br_ec_public_key *pk, const void *sig, size_t sig_len) argument
H A Decdsa_i15_vrfy_asn1.c32 const void *hash, size_t hash_len,
47 return br_ecdsa_i15_vrfy_raw(impl, hash, hash_len, pk, rsig, sig_len);
31 br_ecdsa_i15_vrfy_asn1(const br_ec_impl *impl, const void *hash, size_t hash_len, const br_ec_public_key *pk, const void *sig, size_t sig_len) argument
/freebsd-current/crypto/openssl/include/crypto/
H A Dess.h34 ASN1_OCTET_STRING *hash; /* Always SHA-1 digest. */ member in struct:ESS_cert_id
60 ASN1_OCTET_STRING *hash; member in struct:ESS_cert_id_v2_st
/freebsd-current/contrib/wpa/src/crypto/
H A Dsha1-tprf.c34 u8 hash[SHA1_MAC_LEN]; local
40 addr[0] = hash;
57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash))
60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN);
63 os_memcpy(&buf[pos], hash, plen);
69 forced_memzero(hash, SHA1_MAC_LEN);
H A Dsha512-prf.c60 u8 hash[SHA512_MAC_LEN]; local
87 hash) < 0)
89 os_memcpy(&buf[pos], hash, plen);
105 forced_memzero(hash, sizeof(hash));
H A Dsha384-prf.c60 u8 hash[SHA384_MAC_LEN]; local
87 hash) < 0)
89 os_memcpy(&buf[pos], hash, plen);
105 forced_memzero(hash, sizeof(hash));
H A Dsha256-prf.c60 u8 hash[SHA256_MAC_LEN]; local
87 hash) < 0)
89 os_memcpy(&buf[pos], hash, plen);
105 forced_memzero(hash, sizeof(hash));
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dstacktrace.inc32 // [stacktrace.basic.hash], hash support
33 using std::hash;
H A Dcoroutine.inc22 // [coroutine.handle.hash], hash support
23 using std::hash;
/freebsd-current/sys/fs/ext2fs/
H A Dext2_hash.c75 SDT_PROBE_DEFINE2(ext2fs, , trace, hash, "int", "char*");
116 ext2_half_md4(uint32_t hash[4], uint32_t data[8]) argument
118 uint32_t a = hash[0], b = hash[1], c = hash[2], d = hash[3];
150 hash[0] += a;
151 hash[1] += b;
152 hash[2] += c;
153 hash[
160 ext2_tea(uint32_t hash[4], uint32_t data[8]) argument
257 uint32_t hash[4]; local
[all...]
/freebsd-current/contrib/lib9p/
H A Dhashtable.h63 * Obtain read-lock on hash table.
73 * Obtain write-lock on hash table.
83 * Release lock on hash table.
98 void *ht_find(struct ht *h, uint32_t hash);
99 void *ht_find_locked(struct ht *h, uint32_t hash);
100 int ht_add(struct ht *h, uint32_t hash, void *value);
101 int ht_remove(struct ht *h, uint32_t hash);
102 int ht_remove_locked(struct ht *h, uint32_t hash);
/freebsd-current/contrib/wpa/src/eap_common/
H A Deap_peap_common.c21 u8 hash[SHA1_MAC_LEN]; local
27 addr[0] = hash;
72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0)
75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN);
78 os_memcpy(&buf[pos], hash, plen);
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
132 struct crypto_hash *hash; local
336 struct crypto_hash *hash; local
[all...]
/freebsd-current/contrib/unbound/util/storage/
H A Dslabhash.h39 * Hash table that consists of smaller hash tables.
64 /** lookup array of hash tables */
69 * Create new slabbed hash table.
70 * @param numtables: number of hash tables to use, other parameters used to
80 * @return: new hash table or NULL on malloc failure.
88 * Delete hash table. Entries are all deleted.
94 * Clear hash table. Entries are all deleted.
103 * @param table: hash table.
104 * @param hash: hash valu
[all...]
/freebsd-current/contrib/unbound/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...]
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_atomize_text.c35 diff_atom_hash_update(unsigned int hash, unsigned char atom_byte) argument
37 return hash * 23 + atom_byte;
60 unsigned int hash = 0; local
75 hash = diff_atom_hash_update(
76 hash, buf[i]);
111 .hash = hash,
165 unsigned int hash = 0; local
170 hash = diff_atom_hash_update(hash, *line_en
[all...]

Completed in 255 milliseconds

1234567891011>>