Skip to content

Instantly share code, notes, and snippets.

@jandryuk
Created February 19, 2020 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jandryuk/50ca8ababe0daff508ce94674d3afff3 to your computer and use it in GitHub Desktop.
Save jandryuk/50ca8ababe0daff508ce94674d3afff3 to your computer and use it in GitHub Desktop.
OpenXT Cap PCR-15 TPM1.2
dhash="b714bb4ba08ab2e4ed7e96dac2484bccb057c40e"
hashlib.sha1(unhexlify(dhash) + hashlib.sha1("MEASUREDLAUNCHCLOSED".encode("utf-8")).digest()).hexdigest()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment