Lines Matching +full:- +full:- +full:disable +full:- +full:tpm
1 // SPDX-License-Identifier: GPL-2.0+
11 #include <tpm-common.h>
12 #include <tpm-v1.h>
13 #include "tpm-user-utils.h"
281 puts("tpm response:\n"); in do_tpm_raw_transfer()
547 return -1; in TPM_COMMAND_NO_ARG()
557 /* fetch list of already loaded resources in the TPM */ in TPM_COMMAND_NO_ARG()
562 return -1; in TPM_COMMAND_NO_ARG()
573 return -1; in TPM_COMMAND_NO_ARG()
624 return -1; in do_tpm_list()
627 /* fetch list of already loaded resources in the TPM */ in do_tpm_list()
632 return -1; in do_tpm_list()
728 U_BOOT_CMD(tpm, CONFIG_SYS_MAXARGS, 1, do_tpm,
731 " - Issue TPM command <cmd> with arguments <args...>.\n"
734 " - Show all devices or set the specified device\n"
735 " info - Show information about the TPM\n"
737 " - Put TPM into a state where it waits for 'startup' command.\n"
739 " - Issue TPM_Starup command. <mode> is one of TPM_ST_CLEAR,\n"
743 " - Test all of the TPM capabilities.\n"
745 " - Inform TPM that it should complete the self-test.\n"
746 "Admin Opt-in Commands:\n"
748 " - Set the PERMANENT disable flag to FALSE using physical presence as\n"
751 " - Set the PERMANENT disable flag to TRUE using physical presence as\n"
754 " - Set deactivated flag.\n"
757 " - Issue TPM_ForceClear command.\n"
759 " - Set TPM device's Physical Presence flags to <flags>.\n"
762 " - Read <count> bytes of TPM capability indexed by <cap_area> and\n"
769 " - flushes a resource of type <resource_type> (may be one of key, auth,\n"
771 " and id <id> from the TPM. Use an <id> of \"all\" to flush all\n"
776 " - lists resources of type <resource_type> (may be one of key, auth,\n"
778 " contained in the TPM.\n"
783 " - loads a key data from memory address <key_addr>, <key_len> bytes\n"
784 " into TPM using the parent key <parent_handle> with authorization\n"
788 " - loads a key data from memory address <key_addr>, <key_len> bytes\n"
789 " into TPM using the parent hash <parent_hash> (20 bytes hex string)\n"
793 " - get the public key portion of a loaded key <key_handle> using\n"
798 " - Read <count> bytes of the public endorsement key to memory\n"
802 " - Add a new measurement to a PCR. Update PCR <index> with the 20-bytes\n"
805 " - Read <count> bytes from PCR <index> to memory address <addr>.\n"
809 " - setup an OIAP session\n"
811 " - terminates an active OIAP session\n"
813 "Non-volatile Storage Commands:\n"
815 " - Establish a space at index <index> with <permission> of <size> bytes.\n"
817 " - Read <count> bytes from space <index> to memory address <addr>.\n"
819 " - Write <count> bytes from memory address <addr> to space <index>.\n"
822 " - Send a byte string <byte_string> to TPM and print the response.\n"
823 " Non-volatile storage helper functions:\n"
824 " These helper functions treat a non-volatile space as a non-padded\n"
826 " string, which is a text string of 'bwd' characters: 'b' means a 8-bit\n"
827 " value, 'w' 16-bit value, 'd' 32-bit value. All helper functions take\n"
830 " - Define a space <index> with permission <perm>.\n"
832 " - Read from space <index> to environment variables <vars...>.\n"
834 " - Write to space <index> from values <values...>.\n"