Searched refs:TPM2_ALG_SHA1 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 36 TPM2_ALG_SHA1 = 0x0004 variable 187 TPM2_ALG_SHA1: SHA1_DIGEST_SIZE, 192 TPM2_ALG_SHA1: hashlib.sha1, 197 "sha1": TPM2_ALG_SHA1, 405 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): 437 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): 456 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): 473 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1, 474 digest_alg = TPM2_ALG_SHA1): 486 def policy_pcr(self, handle, pcrs, bank_alg = TPM2_ALG_SHA1, [all...] |
H A D | tpm2_tests.py | 94 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1) 133 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)
|
/kernel/linux/linux-6.6/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 36 TPM2_ALG_SHA1 = 0x0004 variable 188 TPM2_ALG_SHA1: SHA1_DIGEST_SIZE, 193 TPM2_ALG_SHA1: hashlib.sha1, 198 "sha1": TPM2_ALG_SHA1, 406 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): 438 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): 457 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): 474 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1, 475 digest_alg = TPM2_ALG_SHA1): 487 def policy_pcr(self, handle, pcrs, bank_alg = TPM2_ALG_SHA1, [all...] |
H A D | tpm2_tests.py | 146 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)
|
Completed in 3 milliseconds