• Home
  • Annotate
  • current directory
Name Date Size

..05-Dec-2017-

fuzz/05-Dec-2017-

generator/05-Dec-2017-

include/tpm2/05-Dec-2017-

ActivateCredential.c A D05-Dec-20172.9 KiB

ActivateCredential_fp.h A D05-Dec-20172.5 KiB

AlgorithmCap.c A D05-Dec-20175.6 KiB

AlgorithmCap_fp.h A D05-Dec-2017642

Android.mk A D05-Dec-20176.9 KiB

Attest_spt.c A D05-Dec-20177.2 KiB

Attest_spt_fp.h A D05-Dec-2017979

BaseTypes.h A D05-Dec-2017780

Bits.c A D05-Dec-20171.8 KiB

Bits_fp.h A D05-Dec-20171.1 KiB

COMMIT-QUEUE.ini A D05-Dec-2017477

Cancel.c A D05-Dec-2017929

Capabilities.h A D05-Dec-2017826

Certify.c A D05-Dec-20172.8 KiB

CertifyCreation.c A D05-Dec-20173.2 KiB

CertifyCreation_fp.h A D05-Dec-20172.5 KiB

Certify_fp.h A D05-Dec-20172.2 KiB

ChangeEPS.c A D05-Dec-20171.8 KiB

ChangeEPS_fp.h A D05-Dec-20171.6 KiB

ChangePPS.c A D05-Dec-20171.7 KiB

ChangePPS_fp.h A D05-Dec-20171.6 KiB

Clear.c A D05-Dec-20173.4 KiB

ClearControl.c A D05-Dec-20171.1 KiB

ClearControl_fp.h A D05-Dec-20171.6 KiB

Clear_fp.h A D05-Dec-20171.5 KiB

Clock.c A D05-Dec-20173.6 KiB

ClockRateAdjust.c A D05-Dec-2017426

ClockRateAdjust_fp.h A D05-Dec-20171.7 KiB

ClockSet.c A D05-Dec-20171.3 KiB

ClockSet_fp.h A D05-Dec-20171.6 KiB

CommandAttributeData.c A D05-Dec-201723.2 KiB

CommandAudit.c A D05-Dec-20178.1 KiB

CommandAudit_fp.h A D05-Dec-20171 KiB

CommandCodeAttributes.c A D05-Dec-20178.5 KiB

CommandCodeAttributes_fp.h A D05-Dec-20171.2 KiB

CommandDispatcher.c A D05-Dec-201737.5 KiB

CommandDispatcher_fp.h A D05-Dec-2017892

Commands_fp.h A D05-Dec-20170

Commit.c A D05-Dec-20175.2 KiB

Commit_fp.h A D05-Dec-20172.2 KiB

ContextLoad.c A D05-Dec-20175.8 KiB

ContextLoad_fp.h A D05-Dec-20172.2 KiB

ContextSave.c A D05-Dec-20177.3 KiB

ContextSave_fp.h A D05-Dec-20172.2 KiB

Context_spt.c A D05-Dec-20175.4 KiB

Context_spt_fp.h A D05-Dec-2017921

CpriCryptPri.c A D05-Dec-20172.3 KiB

CpriCryptPri_fp.h A D05-Dec-2017440

CpriDataEcc.c A D05-Dec-201719.3 KiB

CpriDataEcc.h A D05-Dec-20171.2 KiB

CpriECC.c A D05-Dec-201782.9 KiB

CpriECC_fp.h A D05-Dec-20174.7 KiB

CpriHash.c A D05-Dec-201733.3 KiB

CpriHashData.c A D05-Dec-2017954

CpriHash_fp.h A D05-Dec-20174.8 KiB

CpriMisc.c A D05-Dec-20172.3 KiB

CpriMisc_fp.h A D05-Dec-2017708

CpriRNG.c A D05-Dec-20174.2 KiB

CpriRNG_fp.h A D05-Dec-20171,007

CpriRSA.c A D05-Dec-201754.1 KiB

CpriRSA_fp.h A D05-Dec-20173.5 KiB

CpriSym.c A D05-Dec-201731.5 KiB

CpriSym_fp.h A D05-Dec-20175.8 KiB

Create.c A D05-Dec-20175.9 KiB

CreatePrimary.c A D05-Dec-20174.7 KiB

CreatePrimary_fp.h A D05-Dec-20172.5 KiB

Create_fp.h A D05-Dec-20172.3 KiB

CryptSelfTest.c A D05-Dec-20176.8 KiB

CryptSelfTest_fp.h A D05-Dec-2017652

CryptUtil.c A D05-Dec-2017143.2 KiB

CryptUtil_fp.h A D05-Dec-201717.7 KiB

CryptoEngine.h A D05-Dec-20178.7 KiB

DA.c A D05-Dec-20175.7 KiB

DA_fp.h A D05-Dec-2017469

DRTM.c A D05-Dec-2017948

DictionaryAttackLockReset.c A D05-Dec-2017886

DictionaryAttackLockReset_fp.h A D05-Dec-20171.7 KiB

DictionaryAttackParameters.c A D05-Dec-20171.1 KiB

DictionaryAttackParameters_fp.h A D05-Dec-20171.8 KiB

Duplicate.c A D05-Dec-20174.1 KiB

Duplicate_fp.h A D05-Dec-20172.3 KiB

ECC_Parameters.c A D05-Dec-2017772

ECC_Parameters_fp.h A D05-Dec-20172.3 KiB

ECDH_KeyGen.c A D05-Dec-20172.4 KiB

ECDH_KeyGen_fp.h A D05-Dec-20172.2 KiB

ECDH_ZGen.c A D05-Dec-20172.2 KiB

ECDH_ZGen_fp.h A D05-Dec-20172.2 KiB

EC_Ephemeral.c A D05-Dec-20171 KiB

EC_Ephemeral_fp.h A D05-Dec-20172.3 KiB

EncryptDecrypt.c A D05-Dec-20174 KiB

EncryptDecrypt_fp.h A D05-Dec-20172.4 KiB

Entity.c A D05-Dec-201715.5 KiB

Entity_fp.h A D05-Dec-20171 KiB

Entropy.c A D05-Dec-20172.3 KiB

EventSequenceComplete.c A D05-Dec-20173.2 KiB

EventSequenceComplete_fp.h A D05-Dec-20172.6 KiB

EvictControl.c A D05-Dec-20173.9 KiB

EvictControl_fp.h A D05-Dec-20171.7 KiB

ExecCommand.c A D05-Dec-201716 KiB

FieldUpgradeData.c A D05-Dec-2017596

FieldUpgradeData_fp.h A D05-Dec-20172.4 KiB

FieldUpgradeStart.c A D05-Dec-2017495

FieldUpgradeStart_fp.h A D05-Dec-20171.8 KiB

FirmwareRead.c A D05-Dec-2017496

FirmwareRead_fp.h A D05-Dec-20172.2 KiB

FlushContext.c A D05-Dec-20171.5 KiB

FlushContext_fp.h A D05-Dec-20171.6 KiB

GetCapability.c A D05-Dec-20175.5 KiB

GetCapability_fp.h A D05-Dec-20172.3 KiB

GetCommandAuditDigest.c A D05-Dec-20173.2 KiB

GetCommandAuditDigest_fp.h A D05-Dec-20172.6 KiB

GetCommandCodeString.c A D05-Dec-201710.3 KiB

GetCommandCodeString_fp.h A D05-Dec-2017425

GetRandom.c A D05-Dec-2017789

GetRandom_fp.h A D05-Dec-20172.2 KiB

GetSessionAuditDigest.c A D05-Dec-20173.4 KiB

GetSessionAuditDigest_fp.h A D05-Dec-20172.7 KiB

GetTestResult.c A D05-Dec-2017759

GetTestResult_fp.h A D05-Dec-20171.8 KiB

GetTime.c A D05-Dec-20172.8 KiB

GetTime_fp.h A D05-Dec-20172.2 KiB

Global.c A D05-Dec-20174.4 KiB

Global.h A D05-Dec-201752.7 KiB

HMAC.c A D05-Dec-20172.5 KiB

HMAC_Start.c A D05-Dec-20172.5 KiB

HMAC_Start_fp.h A D05-Dec-20172.2 KiB

HMAC_fp.h A D05-Dec-20172.1 KiB

Handle.c A D05-Dec-20173.5 KiB

HandleProcess.c A D05-Dec-201743.4 KiB

HandleProcess_fp.h A D05-Dec-2017947

Handle_fp.h A D05-Dec-2017561

Hash.c A D05-Dec-20171.4 KiB

HashSequenceStart.c A D05-Dec-2017989

HashSequenceStart_fp.h A D05-Dec-20172.4 KiB

Hash_fp.h A D05-Dec-20172.1 KiB

Hierarchy.c A D05-Dec-20175.9 KiB

HierarchyChangeAuth.c A D05-Dec-20171.9 KiB

HierarchyChangeAuth_fp.h A D05-Dec-20171.8 KiB

HierarchyControl.c A D05-Dec-20174.1 KiB

HierarchyControl_fp.h A D05-Dec-20171.7 KiB

Hierarchy_fp.h A D05-Dec-2017683

Implementation.h A D05-Dec-201739.8 KiB

Import.c A D05-Dec-20179.2 KiB

Import_fp.h A D05-Dec-20172.3 KiB

IncrementalSelfTest.c A D05-Dec-20171.1 KiB

IncrementalSelfTest_fp.h A D05-Dec-20172.4 KiB

InternalRoutines.h A D05-Dec-20171.5 KiB

LICENSE A D05-Dec-20172.5 KiB

Load.c A D05-Dec-20174.3 KiB

LoadExternal.c A D05-Dec-20174.2 KiB

LoadExternal_fp.h A D05-Dec-20172.3 KiB

Load_fp.h A D05-Dec-20172.1 KiB

Locality.c A D05-Dec-20171.3 KiB

LocalityPlat.c A D05-Dec-20171.1 KiB

Locality_fp.h A D05-Dec-2017381

MakeCredential.c A D05-Dec-20172.2 KiB

MakeCredential_fp.h A D05-Dec-20172.4 KiB

Makefile A D05-Dec-20179.5 KiB

Manufacture.c A D05-Dec-20174 KiB

Marshal_ActivateCredential.c A D05-Dec-20173.9 KiB

Marshal_Certify.c A D05-Dec-20173.6 KiB

Marshal_CertifyCreation.c A D05-Dec-20174.1 KiB

Marshal_ChangeEPS.c A D05-Dec-20172 KiB

Marshal_ChangePPS.c A D05-Dec-20172 KiB

Marshal_Clear.c A D05-Dec-20171.9 KiB

Marshal_ClearControl.c A D05-Dec-20172.2 KiB

Marshal_ClockRateAdjust.c A D05-Dec-20172.3 KiB

Marshal_ClockSet.c A D05-Dec-20172.1 KiB

Marshal_Commit.c A D05-Dec-20173.8 KiB

Marshal_ContextLoad.c A D05-Dec-20173.4 KiB

Marshal_ContextSave.c A D05-Dec-20173.3 KiB

Marshal_Create.c A D05-Dec-20174 KiB

Marshal_CreatePrimary.c A D05-Dec-20174.3 KiB

Marshal_DictionaryAttackLockReset.c A D05-Dec-20172.1 KiB

Marshal_DictionaryAttackParameters.c A D05-Dec-20172.5 KiB

Marshal_Duplicate.c A D05-Dec-20173.8 KiB

Marshal_ECC_Parameters.c A D05-Dec-20173.5 KiB

Marshal_ECDH_KeyGen.c A D05-Dec-20173.4 KiB

Marshal_ECDH_ZGen.c A D05-Dec-20173.4 KiB

Marshal_EC_Ephemeral.c A D05-Dec-20173.5 KiB

Marshal_EncryptDecrypt.c A D05-Dec-20174 KiB

Marshal_EventSequenceComplete.c A D05-Dec-20173.8 KiB

Marshal_EvictControl.c A D05-Dec-20172.2 KiB

Marshal_FieldUpgradeData.c A D05-Dec-20173.6 KiB

Marshal_FieldUpgradeStart.c A D05-Dec-20172.5 KiB

Marshal_FirmwareRead.c A D05-Dec-20173.4 KiB

Marshal_FlushContext.c A D05-Dec-20172.1 KiB

Marshal_GetCapability.c A D05-Dec-20173.8 KiB

Marshal_GetCommandAuditDigest.c A D05-Dec-20174 KiB

Marshal_GetRandom.c A D05-Dec-20173.3 KiB

Marshal_GetSessionAuditDigest.c A D05-Dec-20174.1 KiB

Marshal_GetTestResult.c A D05-Dec-20172.8 KiB

Marshal_GetTime.c A D05-Dec-20173.6 KiB

Marshal_HMAC.c A D05-Dec-20173.4 KiB

Marshal_HMAC_Start.c A D05-Dec-20173.6 KiB

Marshal_Hash.c A D05-Dec-20173.5 KiB

Marshal_HashSequenceStart.c A D05-Dec-20173.7 KiB

Marshal_HierarchyChangeAuth.c A D05-Dec-20172.4 KiB

Marshal_HierarchyControl.c A D05-Dec-20172.4 KiB

Marshal_Import.c A D05-Dec-20173.9 KiB

Marshal_IncrementalSelfTest.c A D05-Dec-20173.6 KiB

Marshal_Load.c A D05-Dec-20173.5 KiB

Marshal_LoadExternal.c A D05-Dec-20173.8 KiB

Marshal_MakeCredential.c A D05-Dec-20173.8 KiB

Marshal_NV_Certify.c A D05-Dec-20174 KiB

Marshal_NV_ChangeAuth.c A D05-Dec-20172.2 KiB

Marshal_NV_DefineSpace.c A D05-Dec-20172.4 KiB

Marshal_NV_Extend.c A D05-Dec-20172.2 KiB

Marshal_NV_GlobalWriteLock.c A D05-Dec-20172.2 KiB

Marshal_NV_Increment.c A D05-Dec-20172.1 KiB

Marshal_NV_Read.c A D05-Dec-20173.5 KiB

Marshal_NV_ReadLock.c A D05-Dec-20172.1 KiB

Marshal_NV_ReadPublic.c A D05-Dec-20173.5 KiB

Marshal_NV_SetBits.c A D05-Dec-20172.2 KiB

Marshal_NV_UndefineSpace.c A D05-Dec-20172.2 KiB

Marshal_NV_UndefineSpaceSpecial.c A D05-Dec-20172.3 KiB

Marshal_NV_Write.c A D05-Dec-20172.3 KiB

Marshal_NV_WriteLock.c A D05-Dec-20172.1 KiB

Marshal_ObjectChangeAuth.c A D05-Dec-20173.7 KiB

Marshal_PCR_Allocate.c A D05-Dec-20173.7 KiB

Marshal_PCR_Event.c A D05-Dec-20173.4 KiB

Marshal_PCR_Extend.c A D05-Dec-20172.2 KiB

Marshal_PCR_Read.c A D05-Dec-20173.5 KiB

Marshal_PCR_Reset.c A D05-Dec-20172 KiB

Marshal_PCR_SetAuthPolicy.c A D05-Dec-20172.5 KiB

Marshal_PCR_SetAuthValue.c A D05-Dec-20172.3 KiB

Marshal_PP_Commands.c A D05-Dec-20172.3 KiB

Marshal_PolicyAuthValue.c A D05-Dec-20172.1 KiB

Marshal_PolicyAuthorize.c A D05-Dec-20172.7 KiB

Marshal_PolicyCommandCode.c A D05-Dec-20172.3 KiB

Marshal_PolicyCounterTimer.c A D05-Dec-20172.6 KiB

Marshal_PolicyCpHash.c A D05-Dec-20172.2 KiB

Marshal_PolicyDuplicationSelect.c A D05-Dec-20172.7 KiB

Marshal_PolicyGetDigest.c A D05-Dec-20173.5 KiB

Marshal_PolicyLocality.c A D05-Dec-20172.3 KiB

Marshal_PolicyNV.c A D05-Dec-20172.4 KiB

Marshal_PolicyNameHash.c A D05-Dec-20172.3 KiB

Marshal_PolicyNvWritten.c A D05-Dec-20172.3 KiB

Marshal_PolicyOR.c A D05-Dec-20172.1 KiB

Marshal_PolicyPCR.c A D05-Dec-20172.3 KiB

Marshal_PolicyPassword.c A D05-Dec-20172.1 KiB

Marshal_PolicyPhysicalPresence.c A D05-Dec-20172.3 KiB

Marshal_PolicyRestart.c A D05-Dec-20172.1 KiB

Marshal_PolicySecret.c A D05-Dec-20174 KiB

Marshal_PolicySigned.c A D05-Dec-20174.1 KiB

Marshal_PolicyTicket.c A D05-Dec-20172.7 KiB

Marshal_Quote.c A D05-Dec-20173.6 KiB

Marshal_RSA_Decrypt.c A D05-Dec-20173.8 KiB

Marshal_RSA_Encrypt.c A D05-Dec-20173.8 KiB

Marshal_ReadClock.c A D05-Dec-20172.6 KiB

Marshal_ReadPublic.c A D05-Dec-20173.5 KiB

Marshal_Rewrap.c A D05-Dec-20173.7 KiB

Marshal_SelfTest.c A D05-Dec-20172 KiB

Marshal_SequenceComplete.c A D05-Dec-20173.9 KiB

Marshal_SequenceUpdate.c A D05-Dec-20172.3 KiB

Marshal_SetAlgorithmSet.c A D05-Dec-20172.3 KiB

Marshal_SetCommandCodeAuditStatus.c A D05-Dec-20172.5 KiB

Marshal_SetPrimaryPolicy.c A D05-Dec-20172.4 KiB

Marshal_Shutdown.c A D05-Dec-20172 KiB

Marshal_Sign.c A D05-Dec-20173.5 KiB

Marshal_StartAuthSession.c A D05-Dec-20174.3 KiB

Marshal_Startup.c A D05-Dec-20172 KiB

Marshal_StirRandom.c A D05-Dec-20172.1 KiB

Marshal_TestParms.c A D05-Dec-20172 KiB

Marshal_Unseal.c A D05-Dec-20173.2 KiB

Marshal_VerifySignature.c A D05-Dec-20173.8 KiB

Marshal_ZGen_2Phase.c A D05-Dec-20173.9 KiB

MathFunctions.c A D05-Dec-201716.6 KiB

MathFunctions_fp.h A D05-Dec-20172.3 KiB

MemoryLib.c A D05-Dec-20178.9 KiB

MemoryLib_fp.h A D05-Dec-20172 KiB

NV.c A D05-Dec-201771.9 KiB

NVMem.c A D05-Dec-20177.7 KiB

NV_Certify.c A D05-Dec-20174.2 KiB

NV_Certify_fp.h A D05-Dec-20172.4 KiB

NV_ChangeAuth.c A D05-Dec-20171.4 KiB

NV_ChangeAuth_fp.h A D05-Dec-20171.7 KiB

NV_DefineSpace.c A D05-Dec-20176.1 KiB

NV_DefineSpace_fp.h A D05-Dec-20171.7 KiB

NV_Extend.c A D05-Dec-20172.9 KiB

NV_Extend_fp.h A D05-Dec-20171.6 KiB

NV_GlobalWriteLock.c A D05-Dec-2017858

NV_GlobalWriteLock_fp.h A D05-Dec-20171.7 KiB

NV_Increment.c A D05-Dec-20172.2 KiB

NV_Increment_fp.h A D05-Dec-20171.7 KiB

NV_Read.c A D05-Dec-20171.8 KiB

NV_ReadLock.c A D05-Dec-20172.2 KiB

NV_ReadLock_fp.h A D05-Dec-20171.6 KiB

NV_ReadPublic.c A D05-Dec-2017712

NV_ReadPublic_fp.h A D05-Dec-20172.3 KiB

NV_Read_fp.h A D05-Dec-20172.2 KiB

NV_SetBits.c A D05-Dec-20172.5 KiB

NV_SetBits_fp.h A D05-Dec-20171.6 KiB

NV_UndefineSpace.c A D05-Dec-20171.8 KiB

NV_UndefineSpaceSpecial.c A D05-Dec-20171.3 KiB

NV_UndefineSpaceSpecial_fp.h A D05-Dec-20171.8 KiB

NV_UndefineSpace_fp.h A D05-Dec-20171.7 KiB

NV_Write.c A D05-Dec-20172.5 KiB

NV_WriteLock.c A D05-Dec-20172.3 KiB

NV_WriteLock_fp.h A D05-Dec-20171.7 KiB

NV_Write_fp.h A D05-Dec-20171.6 KiB

NV_fp.h A D05-Dec-20174 KiB

NV_spt.c A D05-Dec-20174.5 KiB

NV_spt_fp.h A D05-Dec-2017639

Object.c A D05-Dec-201729.7 KiB

ObjectChangeAuth.c A D05-Dec-20172.4 KiB

ObjectChangeAuth_fp.h A D05-Dec-20172.4 KiB

Object_fp.h A D05-Dec-20174.2 KiB

Object_spt.c A D05-Dec-201760.4 KiB

Object_spt_fp.h A D05-Dec-20177 KiB

OsslCryptoEngine.h A D05-Dec-20172.4 KiB

PCR.c A D05-Dec-201743 KiB

PCR_Allocate.c A D05-Dec-20171.7 KiB

PCR_Allocate_fp.h A D05-Dec-20172.4 KiB

PCR_Event.c A D05-Dec-20171.9 KiB

PCR_Event_fp.h A D05-Dec-20172.2 KiB

PCR_Extend.c A D05-Dec-20172 KiB

PCR_Extend_fp.h A D05-Dec-20171.6 KiB

PCR_Read.c A D05-Dec-2017677

PCR_Read_fp.h A D05-Dec-20172.2 KiB

PCR_Reset.c A D05-Dec-20171.3 KiB

PCR_Reset_fp.h A D05-Dec-20171.6 KiB

PCR_SetAuthPolicy.c A D05-Dec-20171.5 KiB

PCR_SetAuthPolicy_fp.h A D05-Dec-20171.8 KiB

PCR_SetAuthValue.c A D05-Dec-20171.3 KiB

PCR_SetAuthValue_fp.h A D05-Dec-20171.7 KiB

PCR_fp.h A D05-Dec-20174.5 KiB

PP.c A D05-Dec-20175 KiB

PPPlat.c A D05-Dec-20171.1 KiB

PP_Commands.c A D05-Dec-20171.5 KiB

PP_Commands_fp.h A D05-Dec-20171.6 KiB

PP_fp.h A D05-Dec-2017827

PRESUBMIT.cfg A D05-Dec-2017242

PlatformData.c A D05-Dec-2017744

PlatformData.h A D05-Dec-20171.1 KiB

PolicyAuthValue.c A D05-Dec-20171.2 KiB

PolicyAuthValue_fp.h A D05-Dec-20171.7 KiB

PolicyAuthorize.c A D05-Dec-20173.2 KiB

PolicyAuthorize_fp.h A D05-Dec-20171.8 KiB

PolicyCommandCode.c A D05-Dec-20171.6 KiB

PolicyCommandCode_fp.h A D05-Dec-20171.7 KiB

PolicyCounterTimer.c A D05-Dec-20176.5 KiB

PolicyCounterTimer_fp.h A D05-Dec-20171.8 KiB

PolicyCpHash.c A D05-Dec-20172.1 KiB

PolicyCpHash_fp.h A D05-Dec-20171.6 KiB

PolicyDuplicationSelect.c A D05-Dec-20172.4 KiB

PolicyDuplicationSelect_fp.h A D05-Dec-20171.9 KiB

PolicyGetDigest.c A D05-Dec-2017629

PolicyGetDigest_fp.h A D05-Dec-20172.3 KiB

PolicyLocality.c A D05-Dec-20173.6 KiB

PolicyLocality_fp.h A D05-Dec-20171.7 KiB

PolicyNV.c A D05-Dec-20176.8 KiB

PolicyNV_fp.h A D05-Dec-20171.7 KiB

PolicyNameHash.c A D05-Dec-20172.1 KiB

PolicyNameHash_fp.h A D05-Dec-20171.7 KiB

PolicyNvWritten.c A D05-Dec-20171.9 KiB

PolicyNvWritten_fp.h A D05-Dec-20171.7 KiB

PolicyOR.c A D05-Dec-20172.2 KiB

PolicyOR_fp.h A D05-Dec-20171.6 KiB

PolicyPCR.c A D05-Dec-20172.7 KiB

PolicyPCR_fp.h A D05-Dec-20171.6 KiB

PolicyPassword.c A D05-Dec-20171.2 KiB

PolicyPassword_fp.h A D05-Dec-20171.7 KiB

PolicyPhysicalPresence.c A D05-Dec-20171.1 KiB

PolicyPhysicalPresence_fp.h A D05-Dec-20171.8 KiB

PolicyRestart.c A D05-Dec-2017711

PolicyRestart_fp.h A D05-Dec-20171.6 KiB

PolicySecret.c A D05-Dec-20173.8 KiB

PolicySecret_fp.h A D05-Dec-20172.4 KiB

PolicySigned.c A D05-Dec-20176.3 KiB

PolicySigned_fp.h A D05-Dec-20172.4 KiB

PolicyTicket.c A D05-Dec-20173.3 KiB

PolicyTicket_fp.h A D05-Dec-20171.7 KiB

Policy_spt.c A D05-Dec-20174.9 KiB

Policy_spt_fp.h A D05-Dec-2017939

Power.c A D05-Dec-20171.1 KiB

PowerPlat.c A D05-Dec-20171.4 KiB

Power_fp.h A D05-Dec-2017335

PropertyCap.c A D05-Dec-201718.2 KiB

PropertyCap_fp.h A D05-Dec-2017504

Quote.c A D05-Dec-20173 KiB

Quote_fp.h A D05-Dec-20172.2 KiB

README A D05-Dec-20171 KiB

RSAData.c A D05-Dec-201750 KiB

RSAKeySieve.c A D05-Dec-201732 KiB

RSAKeySieve.h A D05-Dec-20173.1 KiB

RSAKeySieve_fp.h A D05-Dec-20171.1 KiB

RSA_Decrypt.c A D05-Dec-20173.3 KiB

RSA_Decrypt_fp.h A D05-Dec-20172.3 KiB

RSA_Encrypt.c A D05-Dec-20172.5 KiB

RSA_Encrypt_fp.h A D05-Dec-20172.3 KiB

ReadClock.c A D05-Dec-2017975

ReadClock_fp.h A D05-Dec-20171.7 KiB

ReadPublic.c A D05-Dec-20171.2 KiB

ReadPublic_fp.h A D05-Dec-20172.2 KiB

Rewrap.c A D05-Dec-20175.2 KiB

Rewrap_fp.h A D05-Dec-20172.2 KiB

SelfTest.c A D05-Dec-2017705

SelfTest_fp.h A D05-Dec-20171.5 KiB

SequenceComplete.c A D05-Dec-20173.4 KiB

SequenceComplete_fp.h A D05-Dec-20172.5 KiB

SequenceUpdate.c A D05-Dec-20172.3 KiB

SequenceUpdate_fp.h A D05-Dec-20171.7 KiB

Session.c A D05-Dec-201732.5 KiB

SessionProcess.c A D05-Dec-201778.9 KiB

SessionProcess_fp.h A D05-Dec-20171.5 KiB

Session_fp.h A D05-Dec-20172.6 KiB

SetAlgorithmSet.c A D05-Dec-2017782

SetAlgorithmSet_fp.h A D05-Dec-20171.7 KiB

SetCommandCodeAuditStatus.c A D05-Dec-20172.2 KiB

SetCommandCodeAuditStatus_fp.h A D05-Dec-20171.8 KiB

SetPrimaryPolicy.c A D05-Dec-20172.3 KiB

SetPrimaryPolicy_fp.h A D05-Dec-20171.8 KiB

Shutdown.c A D05-Dec-20172.6 KiB

Shutdown_fp.h A D05-Dec-20171.5 KiB

Sign.c A D05-Dec-20173 KiB

Sign_fp.h A D05-Dec-20172.1 KiB

StartAuthSession.c A D05-Dec-20174.9 KiB

StartAuthSession_fp.h A D05-Dec-20172.6 KiB

Startup.c A D05-Dec-20175.2 KiB

Startup_fp.h A D05-Dec-20171.5 KiB

StirRandom.c A D05-Dec-2017432

StirRandom_fp.h A D05-Dec-20171.6 KiB

TPMB.h A D05-Dec-20171,008

TPMCmdp.c A D05-Dec-20176.3 KiB

TPMCmds.c A D05-Dec-20172.2 KiB

TPM_Types.h A D05-Dec-20175 KiB

TcpServer.c A D05-Dec-201716.5 KiB

TestParms.c A D05-Dec-2017511

TestParms_fp.h A D05-Dec-20171.6 KiB

Ticket.c A D05-Dec-20176.5 KiB

Ticket_fp.h A D05-Dec-20171.6 KiB

Time.c A D05-Dec-20177.3 KiB

Time_fp.h A D05-Dec-2017759

Tpm.h A D05-Dec-2017645

TpmFail.c A D05-Dec-201711.9 KiB

TpmFail_fp.h A D05-Dec-2017547

TpmTcpProtocol.h A D05-Dec-20172.7 KiB

Unique.c A D05-Dec-20171.7 KiB

Unique_fp.h A D05-Dec-2017479

Unseal.c A D05-Dec-20171.2 KiB

Unseal_fp.h A D05-Dec-20172.1 KiB

VendorString.h A D05-Dec-20172.3 KiB

VerifySignature.c A D05-Dec-20172.2 KiB

VerifySignature_fp.h A D05-Dec-20172.4 KiB

ZGen_2Phase.c A D05-Dec-20173.3 KiB

ZGen_2Phase_fp.h A D05-Dec-20172.3 KiB

_TPM_Hash_Data.c A D05-Dec-20171.4 KiB

_TPM_Hash_Data_fp.h A D05-Dec-2017437

_TPM_Hash_End.c A D05-Dec-20171.9 KiB

_TPM_Hash_End_fp.h A D05-Dec-2017309

_TPM_Hash_Start.c A D05-Dec-20172.3 KiB

_TPM_Hash_Start_fp.h A D05-Dec-2017317

_TPM_Init.c A D05-Dec-2017725

bits.h A D05-Dec-2017480

marshal_fp.h A D05-Dec-20171.7 KiB

marshal_test.c A D05-Dec-201713.5 KiB

parsep3 A D05-Dec-20172.1 KiB

parsep4 A D05-Dec-20172.2 KiB

stubs_ecc.c A D05-Dec-2017818

stubs_hash.c A D05-Dec-201710.7 KiB

stubs_sym.c A D05-Dec-2017744

swap.h A D05-Dec-20173.4 KiB

tpm_generated.c A D05-Dec-2017237.7 KiB

tpm_generated.h A D05-Dec-201762.1 KiB

tpm_types.h A D05-Dec-201752.9 KiB

README

1This repository contains source code derived from the TCG TPM 2.0 library
2specification
3
4(http://www.trustedcomputinggroup.org/resources/tpm_library_specification)
5
6The specification consists of four separate PDF files, two of them, part 3 and
7part 4 contain sample C code.
8
9To extract the C code from PDF files, first they were converted to text using
10the pdftotext utility available in poppler-utils Ubuntu package:
11
12pdftotext -eol unix -layout 'TPM/2.0/TPM Rev 2.0 Part 3 - Commands 01.16-code.pdf' part3.txt
13pdftotext -eol unix -layout 'TPM Rev 2.0 Part 4 - Supporting Routines 01.16-code.pdf' part4.txt
14
15A newline needed to be added to each of the text files to make sure the last
16function in the file is processed properly.
17
18echo >> part3.txt
19echo >> part4.txt
20
21Then the two scripts included in this directory for references were used to
22pull out code from the text files. The two files format source code
23differently, the easiest way to pull out the code is to use two different
24scripts:
25
26./parsep3 part3.txt
27./parsep4 part4.txt
28
29See LICENSE file for details.
30