libtpms/src/tpm2
Stefan Berger 54671af0a0 tpm2: Implement API call to recreate the SVN base secret
Implement TPMLIB_RecreateSvnBaseSecret() to allow the user to recreate
the SVN base secret. Trigger the storage of the persistent state. Add
a man page.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-11-12 08:26:54 -05:00
..
crypto tpm2: Mark unused function parameters to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
_TPM_Hash_Data_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
_TPM_Hash_End_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
_TPM_Hash_Start_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
_TPM_Init_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
ACT_SetTimeout_fp.h tpm2: ACT: Add data structures, defines, and un/marshalling code 2020-04-14 16:03:45 -04:00
ACT_spt_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
ACT_spt.c rev183: Sync ActGetCapabilityData with upstream 2024-08-20 15:28:21 -04:00
ACT.h tpm2: ACT: Add data structures, defines, and un/marshalling code 2020-04-14 16:03:45 -04:00
ACTCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
ActivateCredential_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
AlgorithmCap_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
AlgorithmCap.c tpm2: Filter-out runtime-unsupported algId in AlgorithmCapGetOneImplemented 2024-07-22 08:28:07 -04:00
AlgorithmTests_fp.h rev180: Rename selftest-related #defines 2024-06-28 13:23:38 -04:00
AlgorithmTests.c tpm2: Add fallthrough comments to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
AsymmetricCommands.c tpm2: Implement check to disable ECC key derivation: no-ecc-key-derivation 2024-10-15 11:56:24 -04:00
Attest_spt_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Attest_spt.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
AttestationCommands.c rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
AuditCommands.c rev180: Sync comment and whitespace changes 2024-02-27 12:18:03 -05:00
BackwardsCompatibility.h tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
BackwardsCompatibilityBitArray.c tpm2: Implement function to convert from and to compressed lists' bit arrays 2024-07-15 14:09:09 -04:00
BackwardsCompatibilityBitArray.h tpm2: Implement function to convert from and to compressed lists' bit arrays 2024-07-15 14:09:09 -04:00
BackwardsCompatibilityObject.c rev180: Add hierarchy field to OBJECT and use it 2024-07-25 11:17:42 -04:00
BackwardsCompatibilityObject.h tpm2: Move code to determine OBJECT hierarchy by its attribute flags 2024-07-25 11:17:42 -04:00
BaseTypes.h tpm2: Comments and whitespace changes only 2020-04-14 16:03:45 -04:00
Bits_fp.h rev149: Remove usage of INLINE_FUNCTIONS #define 2019-01-03 13:15:44 -05:00
Bits.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
BnConvert.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
BnEccConstants.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
BnMath.c rev180: Rename and sync random number generating functions 2024-01-03 20:23:19 -05:00
BnMemory.c tpm2: Deactivate unused code 2019-04-01 16:41:21 -04:00
BnSupport_Interface.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
BnUtil_fp.h rev180: Replace bigNum with Crypt_Int* 2024-01-03 20:23:19 -05:00
Cancel.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Capabilities.h tpm2: ACT: Add data structures, defines, and un/marshalling code 2020-04-14 16:03:45 -04:00
CapabilityCommands.c rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
Certify_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
CertifyCreation_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
CertifyX509_fp.h tpm2: x509 certify: rename field qualifyinData to reserved 2020-04-14 16:03:45 -04:00
ChangeEPS_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ChangePPS_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Clear_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ClearControl_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
Clock.c rev180: Sync _plat__ClockRateAdjust and adjust caller 2024-01-03 20:23:19 -05:00
ClockCommands.c rev180: Sync comment and whitespace changes 2024-02-27 12:18:03 -05:00
ClockRateAdjust_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ClockSet_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
CommandAttributeData.h rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
CommandAttributes.h tpm2: rev162: Trivial whitespace and comment changes 2020-05-27 07:45:29 -04:00
CommandAudit_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
CommandAudit.c rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
CommandCodeAttributes_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
CommandCodeAttributes.c tpm2: Filter-out disabled commands from being reported or executable 2024-07-15 11:51:38 -04:00
CommandDispatchData.h rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
CommandDispatcher_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
CommandDispatcher.c rev164: Rename unmarshal/marhsalArray to Unmarshal/MarshalArray 2021-03-19 15:59:52 -04:00
Commit_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
CompilerDependencies_gcc.h rev180: Add compiler dependencies header for gcc and msvc 2024-01-03 20:23:19 -05:00
CompilerDependencies_msvc.h rev180: Add compiler dependencies header for gcc and msvc 2024-01-03 20:23:19 -05:00
CompilerDependencies.h rev180: Define MUST_BE and replace cAssert with it 2024-01-03 20:23:19 -05:00
Context_spt_fp.h rev180: Return TPM_RC from HierarchyGetProof/PrimarySeed & adjust callchain 2024-01-03 20:23:19 -05:00
Context_spt.c rev180: Return TPM_RC from HierarchyGetProof/PrimarySeed & adjust callchain 2024-01-03 20:23:19 -05:00
ContextCommands.c tpm2: Rename buffer to objbuf to avoid shadowing buffer variable 2024-09-23 19:39:55 -04:00
ContextLoad_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ContextSave_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Create_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
CreateLoaded_fp.h tpm2: rev162: Trivial whitespace and comment changes 2020-05-27 07:45:29 -04:00
CreatePrimary_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
CryptEccData.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
CryptSelfTest_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
CryptSelfTest.c tpm2: Check for unsupported algs in IncrementalSelfTest 2024-07-15 11:51:38 -04:00
CryptUtil.c tpm2: Allow setting the minimum HMAC key size: hmac-min-key-size 2024-10-08 15:55:19 -04:00
DA_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
DA.c rev164: Comment, commented code, and whitespace changes only 2021-03-19 15:59:52 -04:00
DebugHelpers_fp.h rev164: Rename DebugFileOpen to DebugFileInit 2021-03-19 15:59:52 -04:00
DebugHelpers.c rev164: Sync DebugHelpers.c 2021-03-19 15:59:52 -04:00
DictionaryAttackLockReset_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
DictionaryAttackParameters_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
DictionaryCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
Duplicate_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
DuplicationCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
EACommands.c rev180: Add TPM2_PolicyParameters and dependencies 2024-07-18 16:36:02 -04:00
EC_Ephemeral_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
ECC_Parameters_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
EccConstantData.inl rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
EccTestData.h rev148: Fixes to EccSignature math and test cases 2019-01-03 13:15:44 -05:00
ECDH_KeyGen_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ECDH_ZGen_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
EncryptDecrypt2_fp.h Upgrade from rev 142 to rev 146 2018-06-15 18:07:47 -04:00
EncryptDecrypt_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
EncryptDecrypt_spt_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
EncryptDecrypt_spt.c rev164: Change AGL_XYZ_VALUE to equivalend TPM_ALG_XYZ 2021-03-19 15:59:52 -04:00
endian_swap.h rev180: Rename swap.h to endian_swap.h 2024-01-03 20:23:19 -05:00
Entity_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Entity.c rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
Entropy.c tpm2: rev164: Trivial whitespace, command, and libtpms-unused changes 2023-03-07 12:11:50 -05:00
EphemeralCommands.c tpm2: Implement check to disable ECC key derivation: no-ecc-key-derivation 2024-10-15 11:56:24 -04:00
EventSequenceComplete_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
EvictControl_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
ExecCommand_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
ExecCommand.c tpm2: ExecuteCommand: Handle unreasonably large command sizes 2023-08-25 22:57:45 -04:00
ExtraData.c rev180: Initialize platformReserved but do not write out in state 2024-01-03 20:23:19 -05:00
FlushContext_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
gensymtestsdata.sh tpm2: Extend asym key test case data generation script with sm4 2021-09-02 12:03:23 -04:00
GetCapability_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
GetCommandAuditDigest_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
GetRandom_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
GetSessionAuditDigest_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
GetTestResult_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
GetTime_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Global.c rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
Global.h tpm2: Create an SVN base secret at first TPM manufacturing time 2024-11-12 08:26:53 -05:00
GpMacros.h rev180: Rename selftest-related #defines 2024-06-28 13:23:38 -04:00
Handle_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
Handle.c tpm2: Add checks for profile-enabled SVN hierarchy 2024-11-12 08:26:54 -05:00
Hash_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
HashCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
HashSequenceStart_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
HashTestData.h rev164: Add (unused) SM3 and SHA3 related digests to HashTestData 2021-03-19 15:59:52 -04:00
Hierarchy_fp.h rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
Hierarchy.c tpm2: Add checks for profile-enabled SVN hierarchy 2024-11-12 08:26:54 -05:00
HierarchyChangeAuth_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
HierarchyCommands.c tpm2: Implement RuntimeProfileGetSeedCompatLevel() 2024-07-15 11:51:38 -04:00
HierarchyControl_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
HMAC_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
HMAC_Start_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Import_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
IncrementalSelfTest_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
IntegrityCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
InternalRoutines.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
IoBuffers_fp.h rev148: Rework of IoBuffer functions 2019-01-03 13:15:44 -05:00
IoBuffers.c rev149: Remove usage of INLINE_FUNCTIONS #define 2019-01-03 13:15:44 -05:00
KdfTestData.h rev149: Comment and reformatting changes 2019-01-03 13:15:44 -05:00
LibtpmsCallbacks.c tpm2: rev155: Major refactoring of header files 2020-04-14 16:03:45 -04:00
LibtpmsCallbacks.h tpm2: Move callback invocations into their own file 2018-10-05 21:47:15 -04:00
Load_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
LoadExternal_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
Locality_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Locality.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
LocalityPlat.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
MAC_fp.h rev148: Capitalizing names of #defines 2019-01-03 13:15:44 -05:00
MAC_Start_fp.h Upgrade from rev 142 to rev 146 2018-06-15 18:07:47 -04:00
MakeCredential_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ManagementCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
Manufacture_fp.h tpm2: Initialize RuntimeProfile on first TPM_Manufacture() 2024-07-15 11:51:38 -04:00
Manufacture.c tpm2: Create an SVN base secret at first TPM manufacturing time 2024-11-12 08:26:53 -05:00
Marshal_fp.h rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
Marshal.c rev180: Add TPM2_DefineSpace2 and dependencies 2024-07-18 16:36:02 -04:00
Marshal.h rev180: Add Marshal.h and sync its usage with upstream 2024-01-03 20:23:19 -05:00
MathLibraryInterface.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
MathLibraryInterfaceTypes.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
MathOnByteBuffers_fp.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
MathOnByteBuffers.c rev180: Replace bigNum with Crypt_Int* 2024-01-03 20:23:19 -05:00
Memory_fp.h tpm2: rev155: Implement ByteArrayToUint8 2020-04-14 16:03:45 -04:00
Memory.c rev164: Comment, commented code, and whitespace changes only 2021-03-19 15:59:52 -04:00
MinMax.h rev180: Sync MinMax.h with upstream 2024-01-03 20:23:19 -05:00
NV_Certify_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_ChangeAuth_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_DefineSpace2_fp.h rev180: Add TPM2_DefineSpace2 and dependencies 2024-07-18 16:36:02 -04:00
NV_DefineSpace_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_Extend_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_GlobalWriteLock_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_Increment_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
NV_Read_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_ReadLock_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_ReadPublic2_fp.h rev180: Add TPM2_NV_ReadPublic2 and dependencies 2024-07-18 16:36:02 -04:00
NV_ReadPublic_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_SetBits_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_spt_fp.h rev180: Add TPM2_DefineSpace2 and dependencies 2024-07-18 16:36:02 -04:00
NV_spt.c tpm2: Disable unused code related to TPM2_NV_DefineSpace2 2024-07-19 16:04:10 -04:00
NV_UndefineSpace_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_UndefineSpaceSpecial_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_Write_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
NV_WriteLock_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
NV.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
NVCommands.c tpm2: Add fallthrough comments to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
NVDynamic_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
NVDynamic.c tpm2: Change marshalled fields of OBJECT (StateFormatLevel 6) 2024-07-25 11:17:42 -04:00
NVMarshal.c tpm2: Enable SVN-limited hierarchy: svn-limited-hierarchy (SFL 8) 2024-11-12 08:26:54 -05:00
NVMarshal.h tpm2: Change marshalled fields of OBJECT (StateFormatLevel 6) 2024-07-25 11:17:42 -04:00
NVMem.c rev180: Sync whitespace changes and changes to comments 2024-07-29 11:25:31 -04:00
NVReserved_fp.h tpm2: rev155: Have NvWrite return BOOL 2020-04-14 16:03:45 -04:00
NVReserved.c rev180: Sync other #defines in GpMacros.h 2024-01-03 20:23:19 -05:00
Object_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
Object_spt_fp.h rev180: Add (unused) parameter to PublicAttributesValidation 2024-01-03 20:23:19 -05:00
Object_spt.c tpm2: Add checks for profile-enabled SVN hierarchy 2024-11-12 08:26:54 -05:00
Object.c rev180: Add hierarchy field to OBJECT and use it 2024-07-25 11:17:42 -04:00
ObjectChangeAuth_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ObjectCommands.c tpm2: Implement check to disable ECC key derivation: no-ecc-key-derivation 2024-10-15 11:56:24 -04:00
OIDs.h rev162: Fix typoe in SHA384_OID #define (unused) 2020-06-29 08:42:37 -04:00
PCR_Allocate_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
PCR_Event_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR_Extend_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
PCR_Read_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR_Reset_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR_SetAuthPolicy_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR_SetAuthValue_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PCR.c tpm2: Allow to runtime-disable SHA-1 & SHA-512 hashing algorithm 2024-07-15 11:51:38 -04:00
pcrstruct.h rev180: Sync GetPcrPointer and dependencies with upstream 2024-01-03 20:23:19 -05:00
Platform_fp.h tpm2: Add missing 'libtpms added/changed' comments 2024-07-02 09:41:43 -04:00
platform_pcr_fp.h rev180: Sync PCRStartup with upstream 2024-01-03 20:23:19 -05:00
platform_public_interface.h rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
platform_to_tpm_interface.h rev180: Add platform_to_tpm_interface.h and use it 2024-01-03 20:23:19 -05:00
Platform.h rev180: Sync PCR related headers 2024-01-03 20:23:19 -05:00
PlatformACT_fp.h tpm2: ACT: Add data structures, defines, and un/marshalling code 2020-04-14 16:03:45 -04:00
PlatformACT.c tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
PlatformACT.h tpm2: ACT: Add data structures, defines, and un/marshalling code 2020-04-14 16:03:45 -04:00
PlatformClock.h tpm2: rev162: Trivial whitespace and comment changes 2020-05-27 07:45:29 -04:00
PlatformData.c tpm2: Move variables from PlatformData.c to PlatformData.h 2020-04-14 16:03:45 -04:00
PlatformData.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
PlatformPCR.c rev180: Sync PCR related headers 2024-01-03 20:23:19 -05:00
Policy_spt_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Policy_spt.c tpm2: Fix negate overflow error (UBSAN) 2020-11-24 12:52:08 -05:00
PolicyAuthorize_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyAuthorizeNV_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyAuthValue_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyCapability_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
PolicyCommandCode_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyCounterTimer_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyCpHash_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
PolicyDuplicationSelect_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyGetDigest_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyLocality_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyNameHash_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyNV_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyNvWritten_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyOR_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyParameters_fp.h rev180: Add TPM2_PolicyParameters and dependencies 2024-07-18 16:36:02 -04:00
PolicyPassword_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyPCR_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyPhysicalPresence_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyRestart_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicySecret_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
PolicySigned_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
PolicyTemplate_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
PolicyTicket_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
Power_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
Power.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
PowerPlat.c rev183: Sync _plat__Signal_PowerOff with upstream 2024-08-20 15:28:21 -04:00
PP_Commands_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
PP_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
PP.c rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
PPPlat.c tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
PrimeData.c rev180: Change data type of s_ComposeOfSmallPrimes to const Crypt_Int* 2024-01-03 20:23:19 -05:00
PRNG_TestVectors.h tpm2: Comments and whitespace changes only 2020-04-14 16:03:45 -04:00
PropertyCap_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
PropertyCap.c tpm2: Return number of enabled commands in TPM_CAP_TPM_PROPERTIES 2024-07-15 11:51:38 -04:00
Quote_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
RandomCommands.c rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
ReadClock_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ReadPublic_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Response_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Response.c rev148: Changes to comments only 2019-01-03 13:15:44 -05:00
ResponseCodeProcessing_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
ResponseCodeProcessing.c rev148: Files with header changes only 2019-01-03 13:15:44 -05:00
Rewrap_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
RSA_Decrypt_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
RSA_Encrypt_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
RsaTestData.h rev148: Reformatting in RsaTestData.h 2019-01-03 13:15:44 -05:00
RunCommand.c rev180: Sync whitespace changes and changes to comments 2024-07-29 11:25:31 -04:00
RuntimeAlgorithm_fp.h tpm2: Fix display of disabled elliptic curve algorithms 2024-07-26 22:34:38 -04:00
RuntimeAlgorithm.c tpm2: Allow setting the minimum HMAC key size: hmac-min-key-size 2024-10-08 15:55:19 -04:00
RuntimeAttributes_fp.h tpm2: Enable SVN-limited hierarchy: svn-limited-hierarchy (SFL 8) 2024-11-12 08:26:54 -05:00
RuntimeAttributes.c tpm2: Enable SVN-limited hierarchy: svn-limited-hierarchy (SFL 8) 2024-11-12 08:26:54 -05:00
RuntimeCommands_fp.h tpm2: Implement functions to set and check runtime-disabled commands 2024-07-15 11:51:38 -04:00
RuntimeCommands.c tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
RuntimeProfile_fp.h tpm2: Add checks for profile-enabled SVN hierarchy 2024-11-12 08:26:54 -05:00
RuntimeProfile.c tpm2: Enable SVN-limited hierarchy: svn-limited-hierarchy (SFL 8) 2024-11-12 08:26:54 -05:00
SelfTest_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
SelfTest.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
SequenceComplete_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
SequenceUpdate_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Session_fp.h rev180: Add TPM2_PolicyCapability and dependencies 2024-07-02 16:49:21 -04:00
Session.c rev180: Add TPM2_PolicyParameters and dependencies 2024-07-18 16:36:02 -04:00
SessionCommands.c tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
SessionProcess_fp.h rev180: Add TPM2_PolicyParameters and dependencies 2024-07-18 16:36:02 -04:00
SessionProcess.c rev180: Add TPM2_PolicyParameters and dependencies 2024-07-18 16:36:02 -04:00
SetAlgorithmSet_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
SetCapability_fp.h rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
SetCommandCodeAuditStatus_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
SetPrimaryPolicy_fp.h tpm2: Replace TPMI_RH_HIERARCHY_AUTH with .._POLICY in SetPrimaryPolicy_In 2020-04-14 16:03:45 -04:00
Shutdown_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Sign_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
SigningCommands.c rev180: Return TPM_RC from HierarchyGetProof/PrimarySeed & adjust callchain 2024-01-03 20:23:19 -05:00
Simulator_fp.h rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
simulator_sysheaders.h rev180: Sync header used by TPMCmdp.c 2024-01-03 20:23:19 -05:00
simulatorPrivate.h rev180: Sync header used by TPMCmdp.c 2024-01-03 20:23:19 -05:00
StartAuthSession_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Startup_fp.h tpm2: Code reformatting and comment changes only 2020-04-14 16:03:45 -04:00
StartupCommands.c rev180: Sync _TPM_Init with upstream 2024-01-03 20:23:19 -05:00
StateMarshal.c tpm2: Fix license headers in files written by 'me' 2018-10-06 11:00:26 -04:00
StateMarshal.h tpm2: rev155: Major refactoring of header files 2020-04-14 16:03:45 -04:00
StirRandom_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
SymmetricCommands.c tpm2: rev164: Trivial whitespace, command, and libtpms-unused changes 2023-03-07 12:11:50 -05:00
SymmetricTest.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
SymmetricTestData.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
TcpServerPosix_fp.h rev164: Change return types from BOOL to bool 2021-03-19 15:59:52 -04:00
TestingCommands.c tpm2: rev164: Trivial whitespace, comment, and libtpms-unused change 2023-08-26 12:20:14 -04:00
TestParms_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Ticket_fp.h rev180: Return TPM_RC from HierarchyGetProof/PrimarySeed & adjust callchain 2024-01-03 20:23:19 -05:00
Ticket.c rev180: Return TPM_RC from HierarchyGetProof/PrimarySeed & adjust callchain 2024-01-03 20:23:19 -05:00
Time_fp.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
Time.c rev180: Sync _plat__ClockRateAdjust and adjust caller 2024-01-03 20:23:19 -05:00
tpm_public.h rev180: Add tpm_public.h and VerifyConfiguration.h 2024-01-03 20:23:19 -05:00
tpm_to_platform_interface.h tpm2: Implement API call to recreate the SVN base secret 2024-11-12 08:26:54 -05:00
Tpm.h tpm2: Add support for setting a runtime profile 2024-07-15 11:51:38 -04:00
TpmAlgorithmDefines.h rev180: Sync whitespace changes and changes to comments 2024-07-29 11:25:31 -04:00
TpmAsn1.c rev180: Sync ASN1EndMarshalContext with upstream 2024-01-03 20:23:19 -05:00
TpmASN1_fp.h rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
TpmASN1.h rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
TPMB.h rev180: Sync whitespace, comment and trivial changes 2024-01-03 20:23:19 -05:00
TpmBigNum.h rev180: Replace bigNum with Crypt_Int* 2024-01-03 20:23:19 -05:00
TpmBigNumThunks.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmBuildSwitches.h tpm2: Switch to uncompressed lists and adapt un/marshal functions 2024-07-15 14:09:09 -04:00
TpmCalculatedAttributes.h tpm2: Check context hash algorithm with static assert 2024-09-23 21:17:21 -04:00
TPMCmdp.c rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
TpmEcc_Signature_ECDAA_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_ECDAA.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_ECDSA_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_ECDSA.c tpm2: Mark unused function parameters to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
TpmEcc_Signature_Schnorr_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_Schnorr.c tpm2: Prevent SHA1 signature verification: no-sha1-verification 2024-09-03 10:28:55 -04:00
TpmEcc_Signature_SM2_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_SM2.c tpm2: Prevent SHA1 signature verification: no-sha1-verification 2024-09-03 10:28:55 -04:00
TpmEcc_Signature_Util_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Signature_Util.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Util_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmEcc_Util.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmFail_fp.h rev180: Make TpmSetFailureMode static 2024-01-03 20:23:19 -05:00
TpmFail.c rev180: Sync TpmFailureMode with upstream 2024-01-03 20:23:19 -05:00
TpmMath_Debug_fp.h rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmMath_Debug.c rev180: Sync ECC and dependencies with upstream 2024-01-03 20:23:19 -05:00
TpmMath_Util_fp.h rev180: Add TpmMath_GetRandomBits but disable it since unused. 2024-07-29 08:43:35 -04:00
TpmMath_Util.c rev180: Sync whitespace changes and changes to comments 2024-07-29 11:25:31 -04:00
TpmProfile_CommandList.h tpm2: Enable TPM2_PolicyParameters in default-v1 profile 2024-07-18 16:36:02 -04:00
TpmProfile_Common.h tpm2: Enable SVN-limited hierarchy: svn-limited-hierarchy (SFL 8) 2024-11-12 08:26:54 -05:00
TpmProfile_ErrorCodes.h rev180: Add TpmProfile_ErrorCodes.h and use it instead of TpmError.h 2024-01-03 20:23:19 -05:00
TpmProfile_Misc.h rev180: Initialize platformReserved but do not write out in state 2024-01-03 20:23:19 -05:00
TpmProfile.h rev180: Sync LIB_INCLUDE and dependencies and their usages 2024-01-03 20:23:19 -05:00
TpmSizeChecks_fp.h tpm2: Sync unused TpmSizeChecks function 2020-04-14 16:03:45 -04:00
TpmSizeChecks.c tpm2: rev164: Trivial whitespace, comment, and libtpms-unused change 2023-08-26 12:20:14 -04:00
TpmTcpProtocol.h rev164: Comment, commented code, and whitespace changes only 2021-03-19 15:59:52 -04:00
TpmTypes.h rev180: Add but not enable new Svn- and FirmwareLimited hierarchies 2024-07-25 11:17:42 -04:00
Unique.c rev180: Sync VENDOR_PERMANENT_AUTH_ENABLED and it usage with upstream 2024-01-03 20:23:19 -05:00
Unmarshal_fp.h rev180: Add TPM2_SetCapability and dependencies 2024-07-18 16:36:02 -04:00
Unmarshal.c tpm2: Add fallthrough comments to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
Unseal_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Utils.h [build-sys] Add -Wmissing-prototypes to CFLAGS and clean up 2020-06-01 18:23:07 -04:00
Vendor_TCG_Test_fp.h rev162: Comment fixes and changes to unused code 2020-06-29 08:42:37 -04:00
Vendor_TCG_Test.c tpm2: Fix conditional compile of TPM2_Vendor_TCG_Test 2020-04-14 16:03:45 -04:00
VendorInfo.c tpm2: Implement API call to recreate the SVN base secret 2024-11-12 08:26:54 -05:00
VendorInfo.h rev183: Update TPM_SPEC_VERSION and related defines to reflect rev183 2024-08-20 13:17:28 -04:00
VerifyConfiguration.h rev180: Rename selftest-related #defines 2024-06-28 13:23:38 -04:00
VerifySignature_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00
Volatile.c tpm2: Change marshalled fields of OBJECT (StateFormatLevel 6) 2024-07-25 11:17:42 -04:00
Volatile.h tpm2: Fix license headers in files written by 'me' 2018-10-06 11:00:26 -04:00
X509_ECC_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
X509_ECC.c rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
X509_RSA_fp.h tpm2: sync svn 1490; whitespace and comment changes only 2020-04-14 16:03:45 -04:00
X509_RSA.c rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
X509_spt_fp.h tpm2: rev155: Add code to create X509 RSA and EC key certificates 2020-04-14 16:03:45 -04:00
X509_spt.c rev180: Test KeyUsage flags in X509ProcessExtensions (bugfix?) 2024-06-28 13:23:38 -04:00
X509.h rev180: Rename TpmAsn1/Asn1_fp.h to TpmASN1/ASN1_fp.h 2024-01-03 20:23:19 -05:00
ZGen_2Phase_fp.h Add TPM 2 code 2018-06-15 18:07:47 -04:00