Home
last modified time | relevance | path

Searched defs:hash (Results 1 – 25 of 63) sorted by relevance

123

/system/core/libutils/
DJenkinsHash.cpp30 hash_t JenkinsHashWhiten(uint32_t hash) { in JenkinsHashWhiten()
37 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { in JenkinsHashMixBytes()
56 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { in JenkinsHashMixShorts()
/system/security/mls/mls-rs-crypto-boringssl/src/
Dhash.rs58 pub fn hash(&self, data: &[u8]) -> Vec<u8> { in hash() method
87 let hash = Hash::new(CipherSuite::P256_AES128).unwrap(); in sha256() localVariable
96 let hash = Hash::new(CipherSuite::P384_AES256).unwrap(); in sha384() localVariable
105 let hash = Hash::new(CipherSuite::CURVE448_CHACHA).unwrap(); in sha512() localVariable
/system/core/libcutils/
Dhashmap.cpp29 int hash; member
37 int (*hash)(void* key); member
96 static inline size_t calculateIndex(size_t bucketCount, int hash) { in calculateIndex()
169 static Entry* createEntry(void* key, int hash, void* value) { in createEntry()
193 int hash = hashKey(map, key); in hashmapPut() local
225 int hash = hashKey(map, key); in hashmapGet() local
240 int hash = hashKey(map, key); in hashmapRemove() local
/system/core/fs_mgr/libfs_avb/
Dsha.h27 uint8_t hash[SHA256_DIGEST_LENGTH]; variable
47 uint8_t hash[SHA512_DIGEST_LENGTH]; variable
/system/apex/apexd/
Dapex_sha.cpp50 uint8_t hash[SHA512_DIGEST_LENGTH]; in CalculateSha512() local
77 uint8_t hash[SHA256_DIGEST_LENGTH]; in CalculateSha256() local
Dapexd_metrics.cpp54 Result<std::string> hash = CalculateSha256(package_path); in SendApexInstallationEndedAtom() local
68 for (const auto& hash : session.GetApexFileHashes()) { in SendSessionApexInstallationEndedAtom() local
Dapex_shim.cpp93 std::string hash; in GetAllowedHashes() local
/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc63 brillo::Blob hash = {0x1c, 0xea, 0xf7, 0x3d, 0xf4, 0x0e, 0x53, in TEST_F() local
112 brillo::Blob hash = {0xad, 0x7f, 0xac, 0xb2, 0x58, 0x6f, 0xc6, 0xe9, in TEST_F() local
138 brillo::Blob hash = {0xad, 0x7f, 0xac, 0xb2, 0x58, 0x6f, 0xc6, 0xe9, in TEST_F() local
/system/core/libutils/include/utils/
DJenkinsHash.h35 inline uint32_t JenkinsHashMix(uint32_t hash, uint32_t data) { in JenkinsHashMix()
/system/libziparchive/
Dzip_cd_entry_map.cc33 const uint32_t hash = ComputeHash(name); in GetCdEntryOffset() local
50 const uint64_t hash = ComputeHash(name); in AddToMap() local
/system/keymint/boringssl/src/
Dsha256.rs24 fn hash(&self, data: &[u8]) -> Result<[u8; 32], Error> { in hash() method
/system/chre/util/
Dhash.cc32 uint32_t hash = kFnvOffset; in fnv1a32Hash() local
/system/extras/ioshark/
Dcompile_ioshark_subr.c68 u_int32_t hash; in files_db_lookup() local
84 u_int32_t hash; in files_db_add() local
Dcompile_ioshark.h37 u_int32_t hash, i; in jenkins_one_at_a_time_hash() local
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V1-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "9e7be1859820c59d9d55dd133e71a3687b5d2e5b"; variable
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "9e7be1859820c59d9d55dd133e71a3687b5d2e5b"; variable
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V3-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "70d76c61eb0c82288e924862c10b910d1b7d8cf8"; variable
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V3-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "70d76c61eb0c82288e924862c10b910d1b7d8cf8"; variable
/system/tools/aidl/tests/golden_output/frozen/aidl-test-versioned-interface-V2-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "da8c4bc94ca7feff0e0a65563a466787698b5891"; variable
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V2-ndk-source/gen/include/aidl/android/aidl/versioned/tests/
DIFooInterface.h41 static inline const std::string hash = "da8c4bc94ca7feff0e0a65563a466787698b5891"; variable
/system/extras/libfec/
Dfec_verity.cpp124 int hashtree_info::get_hash(const uint8_t *block, uint8_t *hash) { in get_hash()
160 std::vector<uint8_t> hash(digest_length_, 0); in check_block_hash() local
182 uint8_t *hash, uint64_t data_offset, in ecc_read_hashes()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dbloom_filter.cc50 uint32_t hash[SHA2_HASH_WORDS]; in MayContain() local
/system/chre/util/include/chre/util/system/
Dtransaction_manager_impl.h88 uint32_t hash = in generatePseudoRandomId() local
/system/update_engine/common/
Dhash_calculator.cc129 std::vector<unsigned char> hash; in SHA256Digest() local
/system/security/keystore2/src/database/
Dperboot.rs50 fn hash<H: std::hash::Hasher>(&self, state: &mut H) { in hash() method

123