Home
last modified time | relevance | path

Searched refs:hash (Results 501 - 525 of 2318) sorted by relevance

1...<<21222324252627282930>>...93

/third_party/node/test/parallel/
H A Dtest-webcrypto-wrap-unwrap.js16 hash: 'SHA-256',
70 hash: 'SHA-256'
81 hash: 'SHA-256'
92 hash: 'SHA-256'
183 hash: 'SHA-256'
/third_party/node/test/fixtures/wpt/WebCryptoAPI/
H A Dalgorithm-discards-context.https.window.js91 let algorithm = {name: "ECDSA", hash: "SHA-256"};
103 let algorithm = {name: "ECDSA", hash: "SHA-256"};
119 hash: "SHA-256",
136 hash: "SHA-256",
155 hash: "SHA-256",
/third_party/node/deps/v8/src/compiler/
H A Doperator.h92 virtual size_t HashCode() const { return base::hash<Opcode>()(opcode()); } in HashCode()
162 struct OpHash : public base::hash<T> {};
173 T parameter, Pred const& pred = Pred(), Hash const& hash = Hash()) in Operator1()
178 hash_(hash) {} in Operator1()
221 // NOTE: We have to be careful to use the right equal/hash functions below, for
237 struct OpHash<Handle<T>> : public Handle<T>::hash {};
H A Dpersistent-map.h18 // PersistentMap is a persistent map datastructure based on hash trees (a binary
19 // tree using the bits of a hash value as addresses). The map is a conceptually
22 // exactly the keys that are not the default value. The hash values should have
32 // TODO(turbofan): Implement an O(1) equality check based on hash consing or
34 template <class Key, class Value, class Hasher = base::hash<Key>>
45 // Access hash bits starting from the high bits and compare them according to
46 // their unsigned value. This way, the order in the hash tree is compatible
47 // with numeric hash comparisons.
60 // the hash tree.
92 // hash valu
427 FindHash( HashValue hash, std::array<const FocusedTree*, kHashBits>* path, int* length) const FindHash() argument
[all...]
/third_party/node/deps/v8/src/profiler/
H A Dstrings-storage.cc146 uint32_t hash = ComputeStringHash(str, len); in Release() local
147 base::HashMap::Entry* entry = names_.Lookup(const_cast<char*>(str), hash); in Release()
162 names_.Remove(const_cast<char*>(str), hash); in Release() local
178 uint32_t hash = ComputeStringHash(str, len); in GetEntry() local
179 return names_.LookupOrInsert(const_cast<char*>(str), hash); in GetEntry()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DAny.cs235 int hash = 1; in GetHashCode()
236 if (TypeUrl.Length != 0) hash ^= TypeUrl.GetHashCode(); in GetHashCode()
237 if (Value.Length != 0) hash ^= Value.GetHashCode(); in GetHashCode()
239 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
241 return hash; in GetHashCode()
H A DDuration.cs197 int hash = 1; in GetHashCode()
198 if (Seconds != 0L) hash ^= Seconds.GetHashCode(); in GetHashCode()
199 if (Nanos != 0) hash ^= Nanos.GetHashCode(); in GetHashCode()
201 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
203 return hash; in GetHashCode()
H A DTimestamp.cs218 int hash = 1; in GetHashCode()
219 if (Seconds != 0L) hash ^= Seconds.GetHashCode(); in GetHashCode()
220 if (Nanos != 0) hash ^= Nanos.GetHashCode(); in GetHashCode()
222 hash ^= _unknownFields.GetHashCode(); in GetHashCode()
224 return hash; in GetHashCode()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinstrument_pass.h455 std::size_t hash = v.size(); in operator ()() local
457 hash ^= u + 0x9e3779b9 + (hash << 11) + (hash >> 21); in operator ()()
459 return hash; in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinstrument_pass.h455 std::size_t hash = v.size(); in operator ()() local
457 hash ^= u + 0x9e3779b9 + (hash << 11) + (hash >> 21); in operator ()()
459 return hash; in operator ()()
/third_party/spirv-tools/source/opt/
H A Dinstrument_pass.h302 std::size_t hash = v.size(); in operator ()() local
304 hash ^= u + 0x9e3779b9 + (hash << 11) + (hash >> 21); in operator ()()
306 return hash; in operator ()()
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs283 impl ::hash::Hash for epoll_event {
284 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions
287 events.hash(state); in hash()
288 u64.hash(state); in hash()
311 impl ::hash::Hash for sockaddr_un {
312 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions
313 self.sun_family.hash(state); in hash()
314 self.sun_path.hash(stat in hash()
342 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions
398 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions
430 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions
[all...]
/base/update/updater/services/package/pkg_verify/
H A Dpkcs7_signed_data.cpp54 std::vector<uint8_t> &hash) in GetHashFromSignBlock()
69 hash.assign(digest_.begin(), digest_.end()); in GetHashFromSignBlock()
101 int32_t Pkcs7SignedData::Verify(const std::vector<uint8_t> &hash, const std::vector<uint8_t> &sig, in Verify() argument
104 if (hash.empty()) { in Verify()
109 ret = Pkcs7SignleSignerVerify(signerInfo, hash, sigInSignerInfo ? signerInfo.digestEncryptData : sig); in Verify()
416 int32_t Pkcs7SignedData::Pkcs7SignleSignerVerify(const Pkcs7SignerInfo &signerInfo, const std::vector<uint8_t> &hash, in Pkcs7SignleSignerVerify() argument
443 return VerifyDigest(cert, signerInfo, hash, sig); in Pkcs7SignleSignerVerify()
446 int32_t Pkcs7SignedData::VerifyDigest(X509 *cert, const Pkcs7SignerInfo &signer, const std::vector<uint8_t> &hash, in VerifyDigest() argument
462 auto ret = VerifyDigestByPubKey(pubKey, signer.digestNid, hash, sig); in VerifyDigest()
53 GetHashFromSignBlock(const uint8_t *srcData, const size_t dataLen, std::vector<uint8_t> &hash) GetHashFromSignBlock() argument
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_valtable.cpp145 value_hash hash = v->hash(); in add_value() local
146 vt_item & vti = hashtable[hash & size_mask]; in add_value()
184 value_hash value::hash() { in hash() function in r600_sb::value
190 ghash = def->hash(); in hash()
198 value_hash h = rel ? rel->hash() : 0; in rel_hash()
200 h |= array->hash(); in rel_hash()
232 return o->hash() == n->hash(); in operator ()()
/third_party/node/deps/v8/src/objects/
H A Ddictionary-inl.h10 #include "src/numbers/hash-seed-inl.h"
12 #include "src/objects/hash-table-inl.h"
96 void BaseNameDictionary<Derived, Shape>::SetHash(int hash) { in SetHash() argument
97 DCHECK(PropertyArray::HashField::is_valid(hash)); in SetHash()
98 this->set(kObjectHashIndex, Smi::FromInt(hash)); in SetHash()
104 int hash = Smi::ToInt(hash_obj); in Hash() local
105 DCHECK(PropertyArray::HashField::is_valid(hash)); in Hash()
106 return hash; in Hash()
303 return key->hash(); in Hash()
308 return Name::cast(other).hash(); in HashForObject()
[all...]
/third_party/mesa3d/src/util/
H A Dfossilize_db.c57 /* Mesa uses 160bit hashes to identify cache entries, a hash of this size
59 * format uses a 64bit hash table to lookup file offsets for reading cache
60 * entries so we must shorten our hash.
65 uint64_t hash = 0; in truncate_hash_to_64bits() local
68 hash |= ((uint64_t)cache_key[i]) << shift * 8; in truncate_hash_to_64bits()
71 return hash; in truncate_hash_to_64bits()
165 /* Truncate the entry's hash string to a 64bit hash for use with a in update_foz_index()
166 * 64bit hash table for looking up file offsets. in update_foz_index()
265 * db into a hash tabl
368 uint64_t hash = truncate_hash_to_64bits(cache_key_160bit); foz_read_entry() local
438 uint64_t hash = truncate_hash_to_64bits(cache_key_160bit); foz_write_entry() local
[all...]
/third_party/python/Lib/test/
H A Dtest_class.py54 # "hash",
75 return hash(id(self))
374 hash(testme)
479 # Test correct errors from hash() on objects with comparisons but
485 hash(C0()) # This should work; the next two should raise TypeError
490 self.assertRaises(TypeError, hash, C2())
548 # Test comparison and hash of methods
572 self.assertEqual(hash(a1.f), hash(a1.f))
581 self.assertEqual(hash(
[all...]
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
H A Dhuks_adapter_diff_impl.c34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519() argument
36 int32_t res = MbedtlsHashToPoint25519(hash, outEcPoint); in HashToPointX25519()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/include/
H A Dhks_mbedtls_hash.h31 int32_t HksMbedtlsHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash);
37 int32_t HksMbedtlsHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/
H A Dhks_openssl_hash.h27 int32_t HksOpensslHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash);
33 int32_t HksOpensslHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash);
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dess.h34 ASN1_OCTET_STRING *hash; /* Always SHA-1 digest. */ member
60 ASN1_OCTET_STRING *hash; member
/third_party/node/deps/openssl/openssl/crypto/ec/curve448/
H A Dcurve448_local.h14 ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64],
19 ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64],
/third_party/openssl/crypto/ec/curve448/
H A Dcurve448_local.h14 ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64],
19 ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64],
/third_party/openssl/include/crypto/
H A Dess.h34 ASN1_OCTET_STRING *hash; /* Always SHA-1 digest. */ member
60 ASN1_OCTET_STRING *hash; member
/third_party/mbedtls/library/
H A Decdsa.c241 * Obviously, compared to SEC1 4.1.3, we skip step 4 (hash message)
434 /* Use private key and message hash (reduced) to initialize HMAC_DRBG */ in mbedtls_ecdsa_sign_det_restartable()
486 * Obviously, compared to SEC1 4.1.3, we skip step 2 (hash message)
641 const unsigned char *hash, size_t hlen, in mbedtls_ecdsa_write_signature_restartable()
658 hash, hlen, md_alg, f_rng, in mbedtls_ecdsa_write_signature_restartable()
667 hash, hlen, f_rng, p_rng)); in mbedtls_ecdsa_write_signature_restartable()
671 hash, hlen, f_rng, p_rng, f_rng, in mbedtls_ecdsa_write_signature_restartable()
690 const unsigned char *hash, size_t hlen, in mbedtls_ecdsa_write_signature()
696 ctx, md_alg, hash, hlen, sig, sig_size, slen, in mbedtls_ecdsa_write_signature()
704 const unsigned char *hash, size_ in mbedtls_ecdsa_read_signature()
639 mbedtls_ecdsa_write_signature_restartable(mbedtls_ecdsa_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hlen, unsigned char *sig, size_t sig_size, size_t *slen, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, mbedtls_ecdsa_restart_ctx *rs_ctx) mbedtls_ecdsa_write_signature_restartable() argument
688 mbedtls_ecdsa_write_signature(mbedtls_ecdsa_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hlen, unsigned char *sig, size_t sig_size, size_t *slen, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_ecdsa_write_signature() argument
703 mbedtls_ecdsa_read_signature(mbedtls_ecdsa_context *ctx, const unsigned char *hash, size_t hlen, const unsigned char *sig, size_t slen) mbedtls_ecdsa_read_signature() argument
714 mbedtls_ecdsa_read_signature_restartable(mbedtls_ecdsa_context *ctx, const unsigned char *hash, size_t hlen, const unsigned char *sig, size_t slen, mbedtls_ecdsa_restart_ctx *rs_ctx) mbedtls_ecdsa_read_signature_restartable() argument
[all...]

Completed in 17 milliseconds

1...<<21222324252627282930>>...93