Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 24 of 24) sorted by relevance

/system/core/adb/tls/
Dadb_ca_list.cpp104 std::string SHA256BitsToHexString(std::string_view sha256) { in SHA256BitsToHexString() argument
105 CHECK_EQ(sha256.size(), static_cast<size_t>(SHA256_DIGEST_LENGTH)); in SHA256BitsToHexString()
107 auto* u8 = reinterpret_cast<const uint8_t*>(sha256.data()); in SHA256BitsToHexString()
/system/update_engine/scripts/update_payload/
Dchecker_unittest.py351 signed_hash = hashlib.sha256(b'fake-data').digest()
359 signed_hash = hashlib.sha256(b'fake-data').digest()
375 signed_hash = hashlib.sha256(b'fake-data').digest()
383 expected_signed_hash = hashlib.sha256(b'fake-data').digest()
384 returned_signed_hash = hashlib.sha256(b'bad-fake-data').digest()
490 else hashlib.sha256(b'fake-oki-content').digest())
496 else hashlib.sha256(b'fake-ori-content').digest())
503 None if fail_bad_nki else hashlib.sha256(b'fake-nki-content').digest())
506 None if fail_bad_nri else hashlib.sha256(b'fake-nri-content').digest())
818 op.data_sha256_hash = hashlib.sha256(fake_data.encode('utf-8')).digest()
[all …]
Dtest_utils.py100 data_sha256_hash = common.SIG_ASN1_HEADER + hashlib.sha256(data).digest()
309 data_sha256_hash = hashlib.sha256(data_blob).digest()
Dpayload.py207 self.manifest_hasher = hashlib.sha256()
Dapplier.py71 hasher = hashlib.sha256()
Dchecker.py938 actual_hash = hashlib.sha256(self.payload.ReadDataBlob(data_offset,
/system/core/adb/tls/include/adb/tls/
Dadb_ca_list.h40 std::string SHA256BitsToHexString(std::string_view sha256);
/system/update_engine/scripts/
Dupdate_device.py219 sha256 = hashlib.sha256()
227 sha256.update(buf)
255 payload_hash=sha256.hexdigest(),
/system/sepolicy/
DAndroid.mk268 plat_sepolicy_and_mapping.sha256 \
326 precompiled_sepolicy.plat_sepolicy_and_mapping.sha256 \
327 precompiled_sepolicy.system_ext_sepolicy_and_mapping.sha256 \
328 system_ext_sepolicy_and_mapping.sha256 \
329 precompiled_sepolicy.product_sepolicy_and_mapping.sha256 \
330 product_sepolicy_and_mapping.sha256 \
1141 LOCAL_MODULE := plat_sepolicy_and_mapping.sha256
1154 LOCAL_MODULE := system_ext_sepolicy_and_mapping.sha256
1167 LOCAL_MODULE := product_sepolicy_and_mapping.sha256
1182 LOCAL_MODULE := precompiled_sepolicy.plat_sepolicy_and_mapping.sha256
[all …]
DCleanSpec.mk71 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/selinux/plat_sepolicy.cil.sha256)
72 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/selinux/precompiled_sepolicy.plat.sha256)
/system/apex/apexer/
Dapexer_test.py113 h = hashlib.sha256()
295 salt = hashlib.sha256(manifest_apex.SerializeToString()).hexdigest()
Dapexer.py554 salt = hashlib.sha256(manifest_apex.SerializeToString()).hexdigest()
/system/vold/
Dcryptfs.cpp229 unsigned char sha256[SHA256_DIGEST_LENGTH]; member
578 memset(crypt_ftr->sha256, 0, sizeof(crypt_ftr->sha256)); in set_ftr_sha()
580 SHA256_Final(crypt_ftr->sha256, &c); in set_ftr_sha()
644 return memcmp(copy.sha256, crypt_ftr->sha256, sizeof(copy.sha256)) == 0; in check_ftr_sha()
/system/incremental_delivery/incfs/include/
Dincfs.h46 sha256 = INCFS_HASH_SHA256, enumerator
/system/security/identity/
DCredential.cpp53 using ::android::hardware::identity::support::sha256;
/system/sepolicy/prebuilts/api/27.0/private/
Dfile_contexts273 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
307 /vendor/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/update_engine/payload_consumer/
Ddelta_performer.cc412 string sha256 = brillo::data_encoding::Base64Encode(info.hash()); in LogPartitionInfoHash() local
413 LOG(INFO) << "PartitionInfo " << tag << " sha256: " << sha256 in LogPartitionInfoHash()
/system/sepolicy/prebuilts/api/26.0/private/
Dfile_contexts267 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
300 /vendor/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/sepolicy/prebuilts/api/28.0/private/
Dfile_contexts288 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
340 /odm/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/sepolicy/prebuilts/api/29.0/private/
Dfile_contexts314 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
384 /odm/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/sepolicy/prebuilts/api/30.0/private/
Dfile_contexts332 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
412 /odm/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/sepolicy/private/
Dfile_contexts335 /system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
415 /odm/etc/selinux/precompiled_sepolicy\.plat_and_mapping\.sha256 u:object_r:sepolicy_file:s0
/system/update_engine/
Dupdate_metadata.proto133 // different input of sha256 hash. However, we need the size of the
/system/update_engine/update_engine/
Dupdate_metadata.proto133 // different input of sha256 hash. However, we need the size of the