Searched refs:tpm2 (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/tpm2/ |
| H A D | tpm2_tests.py | 7 import tpm2 8 from tpm2 import ProtocolError 15 self.client = tpm2.Client() 41 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL) 57 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY) 82 self.assertEqual(rc, tpm2.TPM2_RC_AUTH_FAIL) 88 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL) 107 ds = tpm2.get_digest_size(bank_alg) 110 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY) 127 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY) [all …]
|
| H A D | Makefile | 5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 708 int tpm2; in getoptions() local 710 tpm2 = tpm_is_tpm2(chip); in getoptions() 711 if (tpm2 < 0) in getoptions() 712 return tpm2; in getoptions() 714 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions() 769 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions() 802 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions() 809 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions() 818 if (!tpm2) in getoptions() 835 int tpm2; in trusted_options_alloc() local [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | tpm.c | 157 efi_tcg2_protocol_t *tpm2 = NULL; in efi_retrieve_eventlog() local 161 status = efi_bs_call(locate_protocol, &tpm2_guid, NULL, (void **)&tpm2); in efi_retrieve_eventlog() 163 status = efi_call_proto(tpm2, get_event_log, version, &log_location, in efi_retrieve_eventlog() 168 status = efi_call_proto(tpm2, get_event_log, version, in efi_retrieve_eventlog()
|
| /linux/tools/testing/selftests/ |
| H A D | Makefile | 123 TARGETS += tpm2
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx91_93_common.dtsi | 222 tpm2: pwm@44320000 { label
|
| H A D | imx95.dtsi | 1414 tpm2: pwm@44320000 { label
|
| /linux/ |
| H A D | MAINTAINERS | 26766 F: tools/testing/selftests/tpm2/
|