Lines Matching full:sha256
250 If SHA256 digest of the ELF file needs to be inserted into this segment, do so.
259 # SHA256 digest needs to be patched into this binary segment,
268 "Cannot place SHA256 digest on segment boundary"
279 "Contents of segment at SHA256 digest offset 0x%x are not all zero."
686 calc_digest = hashlib.sha256()
897 # calculate the SHA256 of the whole file and append it
899 digest = hashlib.sha256()
1043 # calculate the SHA256 of the whole file and append it
1045 digest = hashlib.sha256()
1419 def sha256(self): member in ELFFile
1420 # return SHA256 hash of the input ELF file
1421 sha256 = hashlib.sha256()
1423 sha256.update(f.read())
1424 return sha256.digest()