Lines Matching refs:bank_alg
406 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): argument
418 bank_alg,
428 assert bank_alg == alg2 and pcrsel_len == pcrsel_len2
438 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): argument
439 ds = get_digest_size(bank_alg)
453 1, bank_alg, dig)
474 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1, argument
480 pcr = self.read_pcr(i, bank_alg)
487 def policy_pcr(self, handle, pcrs, bank_alg = TPM2_ALG_SHA1, argument
490 dig = self.__calc_pcr_digest(pcrs, bank_alg, name_alg)
492 raise UnknownPCRBankError(bank_alg)
509 bank_alg,