Lines Matching refs:hash_size
363 self.hash_size = self.chosen_hash.digest_size
371 sig_tee_alg[sign_algo], self.hash_size,
479 [magic, img_type, img_size, algo_value, hash_size,
491 if hash_size != self.hash_size:
492 raise Exception("Unexpected digest len: {}".format(hash_size))
494 self.img_digest = self.inf[offs:offs + hash_size]
495 offs += hash_size
657 [magic, img_type, img_size, algo_value, hash_size,
684 print(' hash_size: {} bytes'.format(hash_size))
691 if hash_size != self.hash_size:
692 raise Exception("Unexpected digest len: {}".format(hash_size))
694 img_digest = self.inf[offs:offs + hash_size]
697 offs += hash_size
735 salt_length=self.hash_size)