Searched refs:sha1 (Results 1 - 5 of 5) 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 | ota_from_target_files | 73 from hashlib import sha1 as sha1 namespace 75 from sha import sha as sha1 namespace 364 'boot_sha1': boot_img.sha1, 366 'recovery_sha1': recovery_img.sha1, 530 elif tf.sha1 != sf.sha1: 547 patch_list.append((tf.name, tf, sf, tf.size, common.sha1(d).hexdigest())) 592 script.PatchCheck("/"+fn, tf.sha1, sf.sha1) [all...] |
H A D | edify_generator.py | 121 def PatchCheck(self, filename, *sha1): 123 given *sha1 hashes, checking the version saved in cache if the 127 "".join([', "%s"' % (i,) for i in sha1]) + 130 def FileCheck(self, filename, *sha1): 132 given *sha1 hashes.""" 134 "".join([', "%s"' % (i,) for i in 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 | common.py | 33 from hashlib import sha1 as sha1 namespace 35 from sha import sha as sha1 namespace 819 self.sha1 = sha1(data).hexdigest()
|
Completed in 37 milliseconds