Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 16 of 16) sorted by relevance

/build/make/tools/
Dcheck_radio_versions.py21 from hashlib import sha1
23 from sha import sha as sha1 unknown
48 digest = sha1(f.read()).hexdigest()
/build/make/tools/releasetools/
Dimages.py16 from hashlib import sha1
50 return sha1().hexdigest()
59 return sha1().hexdigest()
131 h = sha1()
142 return sha1(self.data).hexdigest()
209 h = sha1()
Dcheck_ota_package_signature.py29 from hashlib import sha1
99 h = sha256() if use_sha256 else sha1()
Dtest_blockimgdiff.py18 from hashlib import sha1
287 self.assertEqual(sha1(self.data).hexdigest(), self.file.TotalSha1())
300 self.assertEqual(sha1(expected_data).hexdigest(), sha1sum)
Dvalidate_target_files.py40 from hashlib import sha1
65 actual_sha1 = _ReadFile(file_name, unpacked_name, False).sha1
110 h = sha1()
122 file_sha1 = unpacked_file.sha1
Dnon_ab_ota.py430 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
432 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
502 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
504 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
Dsparse_img.py25 from hashlib import sha1
178 h = sha1()
Dtest_common.py25 from hashlib import sha1
425 sha1_hash = sha1()
449 sha1_hash = sha1()
499 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
525 sha1_hash = sha1()
548 sha1(small).hexdigest(),
662 sha1(random_string).hexdigest(),
665 sha1(random_string).hexdigest(),
668 sha1(random_string).hexdigest(),
671 sha1(random_string).hexdigest(),
Dcheck_target_files_signatures.py155 cert_sha1 = common.sha1(cert).hexdigest()
216 cert_sha1 = common.sha1(cert).hexdigest()
Dcheck_target_files_signatures155 cert_sha1 = common.sha1(cert).hexdigest()
216 cert_sha1 = common.sha1(cert).hexdigest()
Dcommon.py41 from hashlib import sha1, sha256
2992 self.sha1 = sha1(data).hexdigest()
3401 ctx = sha1()
3411 ctx = sha1()
3626 'sha1': recovery_img.sha1,
3641 'boot_sha1': boot_img.sha1,
3643 'recovery_sha1': recovery_img.sha1,
Dedify_generator.py166 def PatchCheck(self, filename, *sha1): # pylint: disable=unused-argument argument
/build/make/tools/canoninja/
Dcanoninja.go43 h := sha1.New()
53 h := sha1.New()
/build/make/target/product/security/
DREADME27 % openssl dgst -binary -sha1 -sign testkey.pem FILE > FILE.sig
/build/soong/cmd/sbox/
Dsbox.go140 hash := sha1.New()
/build/blueprint/microfactory/
Dmicrofactory.go396 hash := sha1.New()