Searched refs:tpm2 (Results 1 – 6 of 6) sorted by relevance
7 import tpm28 from tpm2 import ProtocolError15 self.client = tpm2.Client()31 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)47 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)71 self.assertEqual(rc, tpm2.TPM2_RC_AUTH_FAIL)74 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)93 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)96 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)113 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)[all …]
5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
5 tpm2/SpaceTest.log6 tpm2/*.pyc
54 TARGETS += tpm2
11 tpm-y += tpm2-cmd.o13 tpm-y += tpm2-space.o17 tpm-y += eventlog/tpm2.o
757 int tpm2; in getoptions() local759 tpm2 = tpm_is_tpm2(chip); in getoptions()760 if (tpm2 < 0) in getoptions()761 return tpm2; in getoptions()763 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions()828 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()835 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()844 if (!tpm2) in getoptions()926 int tpm2; in trusted_options_alloc() local928 tpm2 = tpm_is_tpm2(chip); in trusted_options_alloc()[all …]