Home
last modified time | relevance | path

Searched refs:_check_pcr (Results 1 – 1 of 1) sorted by relevance

/external/autotest/server/site_tests/firmware_TPMExtend/
Dfirmware_TPMExtend.py20 def _check_pcr(self, num, hash_obj): member in firmware_TPMExtend
36 if not self._check_pcr(1, hashlib.sha256(hwid)):
45 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(0) + chr(1))):
55 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(1) + chr(0))):
67 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(0) + chr(1))):
77 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(1) + chr(0))):