Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 15 of 15) 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()
Dvalidate_target_files.py39 from hashlib import sha1
63 actual_sha1 = _ReadFile(file_name, unpacked_name, False).sha1
102 h = sha1()
114 file_sha1 = unpacked_file.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)
Dsparse_img.py25 from hashlib import sha1
178 h = sha1()
Dtest_common.py24 from hashlib import sha1
381 sha1_hash = sha1()
405 sha1_hash = sha1()
455 self._verify(zip_file, zip_file_name, arcname, sha1(contents).hexdigest(),
481 sha1_hash = sha1()
504 sha1(small).hexdigest(),
618 sha1(random_string).hexdigest(),
621 sha1(random_string).hexdigest(),
624 sha1(random_string).hexdigest(),
627 sha1(random_string).hexdigest(),
Dcheck_target_files_signatures151 cert_sha1 = common.sha1(cert).hexdigest()
212 cert_sha1 = common.sha1(cert).hexdigest()
Dcheck_target_files_signatures.py151 cert_sha1 = common.sha1(cert).hexdigest()
212 cert_sha1 = common.sha1(cert).hexdigest()
Dcommon.py41 from hashlib import sha1, sha256
2525 self.sha1 = sha1(data).hexdigest()
2934 ctx = sha1()
2944 ctx = sha1()
3159 'sha1': recovery_img.sha1,
3174 'boot_sha1': boot_img.sha1,
3176 'recovery_sha1': recovery_img.sha1,
Dota_from_target_files1507 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
1509 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
1579 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
1581 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
Dota_from_target_files.py1507 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
1509 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
1579 boot_type, boot_device_expr, target_boot.size, target_boot.sha1)
1581 boot_type, boot_device_expr, source_boot.size, source_boot.sha1)
Dedify_generator.py166 def PatchCheck(self, filename, *sha1): # pylint: disable=unused-argument argument
/build/make/target/product/security/
DREADME26 % openssl dgst -binary -sha1 -sign testkey.pem FILE > FILE.sig
/build/blueprint/microfactory/
Dmicrofactory.go396 hash := sha1.New()