Searched defs:sha1 (Results 1 - 6 of 6) sorted by relevance
/build/tools/ |
H A D | check_radio_versions.py | 21 from hashlib import sha1 namespace 23 from sha import sha as sha1 namespace 48 digest = sha1(f.read()).hexdigest() 53 f = open(fn + ".sha1") 56 print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key) 67 print "*** SHA-1 hash of \"%s\" doesn't appear in \"%s.sha1\"" % (fn, fn)
|
/build/tools/releasetools/ |
H A D | sparse_img.py | 20 from hashlib import sha1 namespace 118 h = sha1()
|
H A D | blockimgdiff.py | 18 from hashlib import sha1 namespace 80 return sha1().hexdigest() 128 if not hasattr(self, "sha1"): 129 self.sha1 = sha1(self.data).hexdigest() 130 return self.sha1 322 src_sha1 = sha1() 325 tgt_sha1 = sha1()
|
H A D | check_target_files_signatures | 56 from hashlib import sha1 as sha1 namespace 58 from sha import sha as sha1 namespace 119 name = "unknown cert %s (%s)" % (common.sha1(cert).hexdigest()[:12],
|
H A D | ota_from_target_files | 100 from hashlib import sha1 as sha1 namespace 151 then the sha1 is searched for, and finally a file with the same 165 result = tgtfiles.get("sha1:" + src.sha1) 835 source_boot.size, source_boot.sha1, 836 target_boot.size, target_boot.sha1)) 877 source_boot.size, source_boot.sha1, 878 target_boot.size, target_boot.sha1), 880 target_boot.size, target_boot.sha1, [all...] |
H A D | common.py | 36 from hashlib import sha1 as sha1 namespace 38 from sha import sha as sha1 namespace 882 self.sha1 = sha1(data).hexdigest() 1082 h = sha1() 1169 'boot_sha1': boot_img.sha1, 1171 'recovery_sha1': recovery_img.sha1,
|
Completed in 117 milliseconds