Searched refs:sha256 (Results 1 – 18 of 18) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | checker_unittest.py | 321 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 …]
|
D | test_utils.py | 99 data_sha256_hash = common.SIG_ASN1_HEADER + hashlib.sha256(data).digest() 302 data_sha256_hash = hashlib.sha256(data_blob).digest()
|
D | payload.py | 207 self.manifest_hasher = hashlib.sha256()
|
D | applier.py | 73 hasher = hashlib.sha256()
|
D | checker.py | 1047 actual_hash = hashlib.sha256(self.payload.ReadDataBlob(data_offset,
|
/system/update_engine/scripts/ |
D | update_device.py | 210 sha256 = hashlib.sha256() 218 sha256.update(buf) 246 payload_hash=sha256.hexdigest(),
|
/system/vold/ |
D | cryptfs.h | 173 unsigned char sha256[SHA256_DIGEST_LENGTH]; member
|
D | cryptfs.cpp | 507 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/ |
D | btif_config.cc | 657 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/ |
D | Android.mk | 218 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
|
D | CleanSpec.mk | 71 $(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/ |
D | apexer.py | 302 salt = hashlib.sha256(manifest_raw).hexdigest()
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | file_contexts | 273 /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/ |
D | file_contexts | 267 /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/ |
D | file_contexts | 288 /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/ |
D | delta_performer.cc | 449 string sha256 = brillo::data_encoding::Base64Encode(info.hash()); in LogPartitionInfoHash() local 450 LOG(INFO) << "PartitionInfo " << tag << " sha256: " << sha256 in LogPartitionInfoHash()
|
/system/sepolicy/private/ |
D | file_contexts | 314 /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/ |
D | file_contexts | 314 /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
|