/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | embedded-firmware.c | 41 u8 hash[32]; in efi_check_md_for_embedded_firmware() local 56 sha256(map + i, desc->length, hash); in efi_check_md_for_embedded_firmware() 57 if (memcmp(hash, desc->sha256, 32) == 0) in efi_check_md_for_embedded_firmware()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | sha256_generic.c | 10 #include <crypto/internal/hash.h> 54 unsigned int len, u8 *hash) in crypto_sha256_finup() 57 return crypto_sha256_final(desc, hash); in crypto_sha256_finup() 53 crypto_sha256_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *hash) crypto_sha256_finup() argument
|
H A D | crc32_generic.c | 12 #include <crypto/internal/hash.h> 36 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey() argument 39 u32 *mctx = crypto_shash_ctx(hash); in crc32_setkey()
|
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_toe.c | 109 err = ctx->sk_proto->hash(sk); in tls_toe_hash() 112 if (dev->hash) { in tls_toe_hash() 115 err |= dev->hash(dev, sk); in tls_toe_hash()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | hashtab.h | 3 * A hash table (hashtab) maintains associations between 6 * functions for hash computation and key comparison are 21 u32 (*hash)(const void *key); /* hash function */ member 33 struct hashtab_node **htable; /* hash table */ 34 u32 size; /* number of slots in hash table */ 35 u32 nel; /* number of elements in hash table */ 44 * Initializes a new hash table with the specified characteristics. 54 * Inserts the specified (key, datum) pair into the specified hash table. 72 hvalue = key_params.hash(ke in hashtab_insert() [all...] |
/third_party/gn/src/gn/ |
H A D | source_dir.h | 131 size_t hash() const { return value_.ptr_hash(); } in hash() function in SourceDir 141 struct hash<SourceDir> { struct 142 std::size_t operator()(const SourceDir& v) const { return v.hash(); } in operator ()()
|
/third_party/mbedtls/programs/pkey/ |
H A D | rsa_sign.c | 39 unsigned char hash[32]; in main() local 104 * Compute the SHA-256 hash of the input file, in main() 105 * then calculate the RSA signature of the hash. in main() 112 argv[1], hash)) != 0) { in main() 118 32, hash, buf)) != 0) { in main()
|
/third_party/node/test/parallel/ |
H A D | test-whatwg-url-custom-parsing.js | 79 if (test.hash) assert.strictEqual(url.hash, test.hash);
|
/third_party/mesa3d/src/util/ |
H A D | u_debug_stack_android.cpp | 40 uint32_t hash = _mesa_hash_string(symbol); in intern_symbol() local 42 _mesa_hash_table_search_pre_hashed(symbol_table, hash, symbol); in intern_symbol() 44 entry = _mesa_hash_table_insert_pre_hashed(symbol_table, hash, symbol, strdup(symbol)); in intern_symbol()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | value-numbering-reducer.cc | 30 const size_t hash = NodeProperties::HashCode(node); in Reduce() local 38 entries_[hash & (kInitialCapacity - 1)] = node; in Reduce() 49 for (size_t i = hash & mask;; i = (i + 1) & mask) { in Reduce()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | OldExtensions1.cs | 94 int hash = 1; in GetHashCode() 96 hash ^= _unknownFields.GetHashCode(); in GetHashCode() 98 return hash; in GetHashCode()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | PixelProcessor.hpp | 115 uint32_t hash; member 180 struct hash<sw::PixelProcessor::State> struct 184 return state.hash; in operator ()()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | D3D11on12Util.cpp | 95 size_t hash = 0; in operator ()() local 96 HashCombine(&hash, a->mD3D11on12Device.Get()); in operator ()() 97 return hash; in operator ()()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | regex2.h | 100 * and a mask to pick out the relevant bit of each byte. A hash code 111 uch hash; /* hash code */ member 116 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 117 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | regex2.h | 103 * and a mask to pick out the relevant bit of each byte. A hash code 114 uch hash; /* hash code */ member 119 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 120 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | remove_phonies.cc | 53 /// @param sig the CallTargetSignature to hash 54 /// @return the hash value 56 size_t hash = tint::utils::Hash(sig.types.size()); in operator ()() local 58 tint::utils::HashCombine(&hash, ty); in operator ()() 60 return hash; in operator ()()
|
/third_party/rust/crates/syn/src/ |
H A D | lifetime.rs | 4 use std::hash::{Hash, Hasher}; 110 fn hash<H: Hasher>(&self, h: &mut H) { in hash() functions 111 self.ident.hash(h); in hash()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_pax_common.c | 93 u8 hash[SHA1_MAC_LEN]; in eap_pax_mac() local 110 if (hmac_sha1_vector(key, key_len, count, addr, len, hash) < 0) in eap_pax_mac() 112 os_memcpy(mac, hash, EAP_PAX_MAC_LEN); in eap_pax_mac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_pax_common.c | 93 u8 hash[SHA1_MAC_LEN]; in eap_pax_mac() local 110 if (hmac_sha1_vector(key, key_len, count, addr, len, hash) < 0) in eap_pax_mac() 112 os_memcpy(mac, hash, EAP_PAX_MAC_LEN); in eap_pax_mac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_md5.c | 104 u8 hash[CHAP_MD5_LEN], id; in eap_md5_process() local 123 data->challenge, CHALLENGE_LEN, hash)) { in eap_md5_process() 129 if (os_memcmp_const(hash, pos, CHAP_MD5_LEN) == 0) { in eap_md5_process()
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | cipher.c | 33 #include <crypto/hash.h> 75 MODULE_PARM_DESC(hash_pri, "Priority for hash algos"); 514 * @digestsize: length of hash digest, in bytes 629 * handle_ahash_req() - Process an asynchronous hash request from the crypto 667 unsigned int chunksize = 0; /* length of hash carry + new data */ in handle_ahash_req() 669 * length of new data, not from hash carry, to be submitted in in handle_ahash_req() 675 u32 db_size; /* Length of data field, incl gcm and hash padding */ in handle_ahash_req() 676 int pad_len = 0; /* total pad len, including gcm, hash, stat padding */ in handle_ahash_req() 712 * For hash algorithms below assignment looks bit odd but in handle_ahash_req() 713 * it's needed for AES-XCBC and AES-CMAC hash algorithm in handle_ahash_req() 2024 struct crypto_shash *hash; ahash_init() local 4488 struct ahash_alg *hash = &driver_alg->alg.hash; spu_register_ahash() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | cipher.c | 31 #include <crypto/hash.h> 75 MODULE_PARM_DESC(hash_pri, "Priority for hash algos"); 512 * @digestsize: length of hash digest, in bytes 627 * handle_ahash_req() - Process an asynchronous hash request from the crypto 665 unsigned int chunksize = 0; /* length of hash carry + new data */ in handle_ahash_req() 667 * length of new data, not from hash carry, to be submitted in in handle_ahash_req() 673 u32 db_size; /* Length of data field, incl gcm and hash padding */ in handle_ahash_req() 674 int pad_len = 0; /* total pad len, including gcm, hash, stat padding */ in handle_ahash_req() 710 * For hash algorithms below assignment looks bit odd but in handle_ahash_req() 711 * it's needed for AES-XCBC and AES-CMAC hash algorithm in handle_ahash_req() 2021 struct crypto_shash *hash; ahash_init() local 4456 struct ahash_alg *hash = &driver_alg->alg.hash; spu_register_ahash() local [all...] |
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/ |
H A D | hkshash_fuzzer.cpp | 43 struct HksBlob hash = { hashBuf.size(), hashBuf.data() }; in DoSomethingInterestingWithMyAPI() local 46 [[maybe_unused]] int ret = HksHash(ps.s, &srcData, &hash); in DoSomethingInterestingWithMyAPI()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.h | 22 __le32 hash; member 45 __u32 hash; member
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.h | 22 __le32 hash; member 45 __u32 hash; member
|