/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | wpa_common.c | 195 u8 hash[SHA512_MAC_LEN]; in wpa_eapol_key_mic() local 211 if (hmac_sha1(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 213 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic() 239 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 241 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic() 248 if (hmac_sha384(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 250 os_memcpy(mic, hash, 24); in wpa_eapol_key_mic() 259 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 262 if (hmac_sha384(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 265 if (hmac_sha512(key, key_len, buf, len, hash)) in wpa_eapol_key_mic() 531 u8 hash[SHA384_MAC_LEN]; fils_pmkid_erp() local 833 u8 hash[SHA384_MAC_LEN]; wpa_ft_mic() local 1522 u8 *pos, r0_key_data[64], hash[48]; wpa_derive_pmk_r0() local 1615 u8 hash[48]; wpa_derive_pmk_r1_name() local 1703 u8 *pos, hash[32]; wpa_pmk_r1_to_ptk() local 1843 unsigned char hash[SHA384_MAC_LEN]; rsn_pmkid() local 1888 unsigned char hash[SHA256_MAC_LEN]; rsn_pmkid_suite_b() local 1921 unsigned char hash[SHA384_MAC_LEN]; rsn_pmkid_suite_b_192() local 2590 fils_domain_name_hash(const char *domain, u8 *hash) fils_domain_name_hash() argument [all...] |
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_init.c | 28 * Calculate the boot aggregate, a hash over tpm registers 0-7, 53 } hash; in ima_add_boot_aggregate() local 56 memset(&hash, 0, sizeof(hash)); in ima_add_boot_aggregate() 57 iint->ima_hash = &hash.hdr; in ima_add_boot_aggregate() 62 * With TPM 2.0 hash agility, TPM chips could support multiple TPM in ima_add_boot_aggregate() 66 * Use the same hash algorithm for reading the TPM PCRs as for in ima_add_boot_aggregate() 68 * the configured IMA default hash algorithm. Otherwise, use the in ima_add_boot_aggregate() 74 result = ima_calc_boot_aggregate(&hash.hdr); in ima_add_boot_aggregate()
|
/kernel/linux/linux-6.6/include/keys/ |
H A D | system_keyring.h | 14 /* TBSCertificate hash */ 16 /* Raw data hash */ 78 extern int mark_hash_blacklisted(const u8 *hash, size_t hash_len, 80 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len, 82 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len); 84 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() argument 90 static inline int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted() argument
|
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_init.c | 30 * Calculate the boot aggregate, a hash over tpm registers 0-7, 50 struct ima_max_digest_data hash; in ima_add_boot_aggregate() local 55 memset(&hash, 0, sizeof(hash)); in ima_add_boot_aggregate() 56 iint->ima_hash = &hash.hdr; in ima_add_boot_aggregate() 61 * With TPM 2.0 hash agility, TPM chips could support multiple TPM in ima_add_boot_aggregate() 65 * Use the same hash algorithm for reading the TPM PCRs as for in ima_add_boot_aggregate() 67 * the configured IMA default hash algorithm. Otherwise, use the in ima_add_boot_aggregate() 73 result = ima_calc_boot_aggregate(&hash.hdr); in ima_add_boot_aggregate()
|
/third_party/backends/backend/ |
H A D | snapscan-mutex.c | 121 unsigned int hash = 5381; /* some arbitrary number */ in snapscani_bernstein() local 127 hash = ((hash << 5) + hash) + c; in snapscani_bernstein() 129 return hash; in snapscani_bernstein()
|
/third_party/mbedtls/library/ |
H A D | pk_wrap.h | 37 const unsigned char *hash, size_t hash_len, 42 const unsigned char *hash, size_t hash_len, 50 const unsigned char *hash, size_t hash_len, 56 const unsigned char *hash, size_t hash_len, 131 const unsigned char *hash, size_t hash_len,
|
/third_party/node/test/fixtures/wpt/common/ |
H A D | utils.js | 9 * @param {string} options.hash 29 var hash = get(options, "hash", loc.hash) 46 if (hash) { 47 if (hash[0] != "#") { 50 url += hash;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | sha256-prf.c | 60 u8 hash[SHA256_MAC_LEN]; in sha256_prf_bits() local 87 hash) < 0) in sha256_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha256_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha256_prf_bits()
|
H A D | sha384-prf.c | 60 u8 hash[SHA384_MAC_LEN]; in sha384_prf_bits() local 87 hash) < 0) in sha384_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha384_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha384_prf_bits()
|
H A D | sha512-prf.c | 60 u8 hash[SHA512_MAC_LEN]; in sha512_prf_bits() local 87 hash) < 0) in sha512_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha512_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha512_prf_bits()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | sha256-prf.c | 60 u8 hash[SHA256_MAC_LEN]; in sha256_prf_bits() local 87 hash) < 0) in sha256_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha256_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha256_prf_bits()
|
H A D | sha384-prf.c | 60 u8 hash[SHA384_MAC_LEN]; in sha384_prf_bits() local 87 hash) < 0) in sha384_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha384_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha384_prf_bits()
|
H A D | sha512-prf.c | 60 u8 hash[SHA512_MAC_LEN]; in sha512_prf_bits() local 87 hash) < 0) in sha512_prf_bits() 89 os_memcpy(&buf[pos], hash, plen); in sha512_prf_bits() 105 forced_memzero(hash, sizeof(hash)); in sha512_prf_bits()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_trace.h | 78 u32 hash, 81 TP_ARGS(rxq, num_rqes, pkt_len, hash, cls_vec), 88 __field(u32, hash) 98 __entry->hash = hash; 103 TP_printk("%s: Rxq %u, CQ head %u, RQEs %u, len %u, hash %u, CV %#x", 105 __entry->num_rqes, __entry->len, __entry->hash,
|
/third_party/curl/tests/ |
H A D | getpart.pm | 75 my %hash; 82 $hash{$var}=$cont; 86 return %hash; 95 my %hash; 114 $hash{$var}=$cont; 126 return %hash;
|
/third_party/mesa3d/src/util/ |
H A D | set.h | 39 uint32_t hash; member 87 _mesa_set_add_pre_hashed(struct set *set, uint32_t hash, const void *key); 92 _mesa_set_search_or_add_pre_hashed(struct set *set, uint32_t hash, 98 _mesa_set_search_pre_hashed(const struct set *set, uint32_t hash, 104 _mesa_set_search_and_add_pre_hashed(struct set *set, uint32_t hash, 144 entry->hash = 0, entry->key = (void*)NULL, (set)->entries--, entry = _mesa_set_next_entry_unsafe(set, entry))
|
/third_party/node/deps/v8/src/builtins/ |
H A D | profile-data-reader.cc | 24 void set_hash(int hash) { in set_hash() argument 25 hash_ = hash; in set_hash() 78 // Any line starting with kBuiltinHashMarker is a function hash record. in EnsureInitProfileData() 80 // literal kBuiltinHashMarker , builtin_name , hash in EnsureInitProfileData() 86 int hash = static_cast<int>(strtol(token.c_str(), &end, 0)); in EnsureInitProfileData() local 94 counters_and_hash.hash() == hash); in EnsureInitProfileData() 95 counters_and_hash.set_hash(hash); in EnsureInitProfileData() 99 // Every function is required to have a hash in the log. in EnsureInitProfileData()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ImmutableString.h | 118 size_t hash = kFnvOffsetBasis; in operator ()() local 121 hash = hash ^ (*data); in operator ()() 122 hash = hash * kFnvPrime; in operator ()() 125 return hash; in operator ()() 129 // Perfect hash functions
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | SetupProcessor.cpp | 33 uint32_t hash = 0; in computeHash() local 37 hash ^= state[i]; in computeHash() 40 return hash; in computeHash() 45 if(hash != state.hash) in operator ==() 92 state.hash = state.computeHash(); in update()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | AttachmentState.cpp | 83 size_t hash = 0; in operator ()() local 86 HashCombine(&hash, attachmentState->mColorAttachmentsSet); in operator ()() 88 HashCombine(&hash, attachmentState->mColorFormats[i]); in operator ()() 92 HashCombine(&hash, attachmentState->mDepthStencilFormat); in operator ()() 95 HashCombine(&hash, attachmentState->mSampleCount); in operator ()() 97 return hash; in operator ()()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | x86_64.rs | 122 impl ::hash::Hash for x86_64_fpu_registers { 123 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 125 self.fsave_area.hash(state); in hash() 126 self.fxsave_area.hash(state); in hash() 127 self.xsave_area.hash(state); in hash()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | shash.c | 18 #include "hash.h" 449 struct crypto_ahash *hash) in crypto_clone_shash_ops_async() 452 struct crypto_shash **ctx = crypto_ahash_ctx(hash); in crypto_clone_shash_ops_async() 468 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_exit_tfm() local 469 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() 471 alg->exit_tfm(hash); in crypto_shash_exit_tfm() 476 struct crypto_shash *hash = __crypto_shash_cast(tfm); in crypto_shash_init_tfm() local 477 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() 480 hash->descsize = alg->descsize; in crypto_shash_init_tfm() 482 shash_set_needkey(hash, al in crypto_shash_init_tfm() 448 crypto_clone_shash_ops_async(struct crypto_ahash *nhash, struct crypto_ahash *hash) crypto_clone_shash_ops_async() argument 585 crypto_clone_shash(struct crypto_shash *hash) crypto_clone_shash() argument [all...] |
/kernel/linux/linux-5.10/net/appletalk/ |
H A D | aarp.c | 350 /* Expire all entries in a hash chain */ 362 /* Cleanup all hash chains -- module unloading */ 413 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_remove() local 418 a = __aarp_find_entry(proxies[hash], dev, sa); in aarp_proxy_remove() 429 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in __aarp_proxy_find() local 430 struct aarp_entry *a = __aarp_find_entry(proxies[hash], dev, sa); in __aarp_proxy_find() 483 int hash, retval = -EPROTONOSUPPORT; in aarp_proxy_probe_network() local 512 hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_probe_network() 513 entry->next = proxies[hash]; in aarp_proxy_probe_network() 514 proxies[hash] in aarp_proxy_probe_network() 547 int hash; aarp_send_ddp() local 685 __aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) __aarp_resolved() argument 717 int hash, ret = 0; aarp_rcv() local [all...] |
/kernel/linux/linux-6.6/net/appletalk/ |
H A D | aarp.c | 350 /* Expire all entries in a hash chain */ 362 /* Cleanup all hash chains -- module unloading */ 413 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_remove() local 418 a = __aarp_find_entry(proxies[hash], dev, sa); in aarp_proxy_remove() 429 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in __aarp_proxy_find() local 430 struct aarp_entry *a = __aarp_find_entry(proxies[hash], dev, sa); in __aarp_proxy_find() 483 int hash, retval = -EPROTONOSUPPORT; in aarp_proxy_probe_network() local 512 hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_probe_network() 513 entry->next = proxies[hash]; in aarp_proxy_probe_network() 514 proxies[hash] in aarp_proxy_probe_network() 547 int hash; aarp_send_ddp() local 685 __aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) __aarp_resolved() argument 717 int hash, ret = 0; aarp_rcv() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CaseInsensitiveString.java | 23 private int hash = 0; field in CaseInsensitiveString 86 if (hash == 0) { in hashCode() 87 hash = folded.hashCode(); in hashCode() 90 return hash; in hashCode()
|