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()
894 # calculate the SHA256 of the whole file and append it
896 digest = hashlib.sha256()
1040 # calculate the SHA256 of the whole file and append it
1042 digest = hashlib.sha256()
1416 def sha256(self): member in ELFFile
1417 # return SHA256 hash of the input ELF file
1418 sha256 = hashlib.sha256()
1420 sha256.update(f.read())
1421 return sha256.digest()