Home
last modified time | relevance | path

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

/system/update_engine/scripts/update_payload/
Dchecker_unittest.py321 signed_hash = hashlib.sha256('fake-data').digest()
329 signed_hash = hashlib.sha256('fake-data').digest()
345 signed_hash = hashlib.sha256('fake-data').digest()
353 expected_signed_hash = hashlib.sha256('fake-data').digest()
354 returned_signed_hash = hashlib.sha256('bad-fake-data').digest()
460 else hashlib.sha256('fake-oki-content').digest())
465 else hashlib.sha256('fake-ori-content').digest())
471 None if fail_bad_nki else hashlib.sha256('fake-nki-content').digest())
474 None if fail_bad_nri else hashlib.sha256('fake-nri-content').digest())
923 op.data_sha256_hash = hashlib.sha256(fake_data).digest()
[all …]
Dtest_utils.py99 data_sha256_hash = common.SIG_ASN1_HEADER + hashlib.sha256(data).digest()
302 data_sha256_hash = hashlib.sha256(data_blob).digest()
Dpayload.py207 self.manifest_hasher = hashlib.sha256()
Dapplier.py73 hasher = hashlib.sha256()
Dchecker.py1047 actual_hash = hashlib.sha256(self.payload.ReadDataBlob(data_offset,
/system/update_engine/scripts/
Dupdate_device.py210 sha256 = hashlib.sha256()
218 sha256.update(buf)
246 payload_hash=sha256.hexdigest(),
/system/vold/
Dcryptfs.h173 unsigned char sha256[SHA256_DIGEST_LENGTH]; member
Dcryptfs.cpp507 memset(crypt_ftr->sha256, 0, sizeof(crypt_ftr->sha256)); in set_ftr_sha()
509 SHA256_Final(crypt_ftr->sha256, &c); in set_ftr_sha()
573 return memcmp(copy.sha256, crypt_ftr->sha256, sizeof(copy.sha256)) == 0; in check_ftr_sha()
/system/bt/btif/src/
Dbtif_config.cc657 SHA256_CTX sha256; in hash_file() local
658 SHA256_Init(&sha256); in hash_file()
662 SHA256_Update(&sha256, buffer.data(), bytes_read); in hash_file()
664 SHA256_Final(hash, &sha256); in hash_file()
/system/sepolicy/
DAndroid.mk218 plat_sepolicy_and_mapping.sha256 \
267 precompiled_sepolicy.plat_sepolicy_and_mapping.sha256 \
268 precompiled_sepolicy.product_sepolicy_and_mapping.sha256 \
269 product_sepolicy_and_mapping.sha256 \
881 LOCAL_MODULE := plat_sepolicy_and_mapping.sha256
894 LOCAL_MODULE := product_sepolicy_and_mapping.sha256
909 LOCAL_MODULE := precompiled_sepolicy.plat_sepolicy_and_mapping.sha256
930 LOCAL_MODULE := precompiled_sepolicy.product_sepolicy_and_mapping.sha256
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.py302 salt = hashlib.sha256(manifest_raw).hexdigest()
/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/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/update_engine/payload_consumer/
Ddelta_performer.cc449 string sha256 = brillo::data_encoding::Base64Encode(info.hash()); in LogPartitionInfoHash() local
450 LOG(INFO) << "PartitionInfo " << tag << " sha256: " << sha256 in LogPartitionInfoHash()
/system/sepolicy/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/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