Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/tpm2/
Dtpm2.py401 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): argument
413 bank_alg,
423 assert bank_alg == alg2 and pcrsel_len == pcrsel_len2
433 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): argument
434 ds = get_digest_size(bank_alg)
448 1, bank_alg, dig)
469 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1, argument
475 pcr = self.read_pcr(i, bank_alg)
482 def policy_pcr(self, handle, pcrs, bank_alg = TPM2_ALG_SHA1, argument
485 dig = self.__calc_pcr_digest(pcrs, bank_alg, name_alg)
[all …]