Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/tpm2/
Dtpm2.py36 TPM2_ALG_SHA1 = 0x0004 variable
187 TPM2_ALG_SHA1: SHA1_DIGEST_SIZE,
192 TPM2_ALG_SHA1: hashlib.sha1,
197 "sha1": TPM2_ALG_SHA1,
401 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1):
433 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1):
452 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1):
469 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1,
470 digest_alg = TPM2_ALG_SHA1):
482 def policy_pcr(self, handle, pcrs, bank_alg = TPM2_ALG_SHA1,
[all …]
Dtpm2_tests.py94 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)
133 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)