Home
last modified time | relevance | path

Searched full:tpm2 (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py7 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 DMakefile5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c707 int tpm2; in key_unseal()
709 tpm2 = tpm_is_tpm2(chip); in key_unseal()
710 if (tpm2 < 0) in key_unseal()
711 return tpm2; in key_unseal()
713 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in key_unseal()
768 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions()
801 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()
808 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()
817 if (!tpm2) in getoptions()
834 int tpm2; in getoptions()
755 int tpm2; getoptions() local
882 int tpm2; trusted_options_alloc() local
903 int tpm2; trusted_tpm_seal() local
948 int tpm2; trusted_tpm_unseal() local
[all...]
/linux/drivers/firmware/efi/libstub/
H A Dtpm.c76 * CC Event log also uses TCG2 format, handle it same as TPM2. in efi_retrieve_tcg2_eventlog()
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/drivers/char/tpm/
H A Dtpm_crb.c25 #define ACPI_SIG_TPM2 "TPM2"
634 dev_err(dev, FW_BUG "TPM2 ACPI table does not define a memory resource\n"); in crb_map_io()
638 dev_warn(dev, "TPM2 ACPI table defines too many memory resources\n"); in crb_map_io()
799 dev_err(dev, FW_BUG "failed to get TPM2 ACPI table\n"); in crb_acpi_add()
819 FW_BUG "TPM2 ACPI table has wrong size %u for start method type %d\n", in crb_acpi_add()
832 FW_BUG "TPM2 ACPI table has wrong size %u for start method type %d\n", in crb_acpi_add()
853 FW_BUG "TPM2 ACPI table has wrong size %u for start method type %d\n", in crb_acpi_add()
934 MODULE_DESCRIPTION("TPM2 Driver");
H A DKconfig69 specification (TPM2.0) say Yes and it will be accessible from
81 specification (TPM2.0) say Yes and it will be accessible from
111 specification (TPM2.0) say Yes and it will be accessible from
H A Dtpm2-cmd.c10 * This file contains TPM2 protocol implementations of the commands
40 * Contains the maximum durations in milliseconds for TPM2 commands.
368 * To prevent failing boot up of some systems, Infineon TPM2.0 in tpm2_get_tpm_pt()
448 * Send an idempotent TPM 2.0 command and see whether there is TPM2 chip in the
H A Dtpm-interface.c304 * tpm_is_tpm2 - do we a have a TPM2 chip?
308 * 1 if we have a TPM2 chip.
309 * 0 if we don't have a TPM2 chip.
H A Dtpm_tis.c148 /* If the ACPI TPM2 signature is matched then a global ACPI_SIG_TPM2 in check_acpi_tpm2()
153 dev_err(dev, FW_BUG "failed to get TPM2 ACPI table\n"); in check_acpi_tpm2()
H A Dtpm.h63 /* TPM2 specific constants. */
H A Dtpm2-space.c10 * This file contains TPM2 protocol implementations of the commands
H A Dtpm2-sessions.c6 * Cryptographic helper routines for handling TPM2 sessions for
/linux/Documentation/arch/arm64/
H A Dacpi_object_usage.rst22 SDEI, SLIT, SPMI, SRAT, STAO, TCPA, TPM2, UEFI, XENV
452 TPM2 Signature Reserved (signature == "TPM2")
/linux/tools/testing/selftests/
H A DMakefile121 TARGETS += tpm2
/linux/include/acpi/
H A Dactbl3.h34 #define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */
402 * TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table
/linux/include/linux/
H A Defi.h644 unsigned long tpm_log; /* TPM2 Event Log table */
645 unsigned long tpm_final_log; /* TPM2 Final Events Log table */
/linux/arch/arm64/boot/dts/freescale/
H A Dimx95.dtsi1392 tpm2: pwm@44320000 { label
/linux/
H A DMAINTAINERS26020 F: tools/testing/selftests/tpm2/