• Home
Name Date Size #Lines LOC

..--

generator/03-May-2024-115,81083,385

include/tpm2/03-May-2024-573206

.gitignoreD03-May-202414 32

ActivateCredential.cD03-May-20242.9 KiB7736

ActivateCredential_fp.hD03-May-20242.5 KiB5627

AlgorithmCap.cD03-May-20245.6 KiB183151

AlgorithmCap_fp.hD03-May-2024642 2111

Android.mkD03-May-20246.9 KiB306288

Attest_spt.cD03-May-20247.2 KiB184116

Attest_spt_fp.hD03-May-2024979 2417

BaseTypes.hD03-May-2024780 3221

Bits.cD03-May-20241.8 KiB6431

Bits_fp.hD03-May-20241.1 KiB3715

COMMIT-QUEUE.iniD03-May-2024477 1612

Cancel.cD03-May-2024929 5924

Capabilities.hD03-May-2024826 1810

Certify.cD03-May-20242.8 KiB8241

CertifyCreation.cD03-May-20243.2 KiB9143

CertifyCreation_fp.hD03-May-20242.5 KiB6031

Certify_fp.hD03-May-20242.2 KiB5829

ChangeEPS.cD03-May-20241.8 KiB6428

ChangeEPS_fp.hD03-May-20241.6 KiB3816

ChangePPS.cD03-May-20241.7 KiB6229

ChangePPS_fp.hD03-May-20241.6 KiB3816

Clear.cD03-May-20243.4 KiB10653

ClearControl.cD03-May-20241.1 KiB4719

ClearControl_fp.hD03-May-20241.6 KiB4119

Clear_fp.hD03-May-20241.5 KiB3816

Clock.cD03-May-20243.6 KiB13278

ClockRateAdjust.cD03-May-2024426 2010

ClockRateAdjust_fp.hD03-May-20241.7 KiB4119

ClockSet.cD03-May-20241.3 KiB5022

ClockSet_fp.hD03-May-20241.6 KiB4119

CommandAttributeData.cD03-May-202423.2 KiB372303

CommandAudit.cD03-May-20248.1 KiB249127

CommandAudit_fp.hD03-May-20241 KiB2819

CommandCodeAttributes.cD03-May-20248.5 KiB292159

CommandCodeAttributes_fp.hD03-May-20241.2 KiB3223

CommandDispatcher.cD03-May-202437.5 KiB886879

CommandDispatcher_fp.hD03-May-2024892 2312

Commands_fp.hD03-May-20240 10

Commit.cD03-May-20245.2 KiB14370

Commit_fp.hD03-May-20242.2 KiB6031

ContextLoad.cD03-May-20245.8 KiB16885

ContextLoad_fp.hD03-May-20242.2 KiB5021

ContextSave.cD03-May-20247.3 KiB19799

ContextSave_fp.hD03-May-20242.2 KiB5021

Context_spt.cD03-May-20245.4 KiB13175

Context_spt_fp.hD03-May-2024921 2415

CpriCryptPri.cD03-May-20242.3 KiB9556

CpriCryptPri_fp.hD03-May-2024440 156

CpriDataEcc.cD03-May-202419.3 KiB421412

CpriDataEcc.hD03-May-20241.2 KiB3625

CpriECC.cD03-May-202482.9 KiB2,1891,503

CpriECC_fp.hD03-May-20244.7 KiB9787

CpriHash.cD03-May-202433.3 KiB925580

CpriHashData.cD03-May-2024954 3324

CpriHash_fp.hD03-May-20244.8 KiB10391

CpriMisc.cD03-May-20242.3 KiB8142

CpriMisc_fp.hD03-May-2024708 2213

CpriRNG.cD03-May-20244.2 KiB14578

CpriRNG_fp.hD03-May-20241,007 2617

CpriRSA.cD03-May-202453.7 KiB1,393877

CpriRSA_fp.hD03-May-20243.5 KiB7362

CpriSym.cD03-May-202431.5 KiB896562

CpriSym_fp.hD03-May-20245.8 KiB13082

Create.cD03-May-20245.9 KiB12042

CreatePrimary.cD03-May-20244.7 KiB10137

CreatePrimary_fp.hD03-May-20242.5 KiB6334

Create_fp.hD03-May-20242.3 KiB6233

CryptSelfTest.cD03-May-20246.8 KiB192102

CryptSelfTest_fp.hD03-May-2024652 2011

CryptUtil.cD03-May-2024142.8 KiB3,7012,273

CryptUtil_fp.hD03-May-202417.7 KiB371308

CryptoEngine.hD03-May-20248.7 KiB236140

DA.cD03-May-20245.7 KiB16894

DA_fp.hD03-May-2024469 189

DRTM.cD03-May-2024948 5326

DictionaryAttackLockReset.cD03-May-2024886 3615

DictionaryAttackLockReset_fp.hD03-May-20241.7 KiB4017

DictionaryAttackParameters.cD03-May-20241.1 KiB4120

DictionaryAttackParameters_fp.hD03-May-20241.8 KiB4522

Duplicate.cD03-May-20244.1 KiB11963

Duplicate_fp.hD03-May-20242.3 KiB5930

ECC_Parameters.cD03-May-2024772 3215

ECC_Parameters_fp.hD03-May-20242.3 KiB5021

ECDH_KeyGen.cD03-May-20242.3 KiB7138

ECDH_KeyGen_fp.hD03-May-20242.2 KiB5324

ECDH_ZGen.cD03-May-20242.2 KiB6432

ECDH_ZGen_fp.hD03-May-20242.2 KiB5324

EC_Ephemeral.cD03-May-20241,000 4120

EC_Ephemeral_fp.hD03-May-20242.3 KiB5324

EncryptDecrypt.cD03-May-20244 KiB10957

EncryptDecrypt_fp.hD03-May-20242.4 KiB5930

Entity.cD03-May-202415.5 KiB425287

Entity_fp.hD03-May-20241 KiB2819

Entropy.cD03-May-20242.3 KiB6427

EventSequenceComplete.cD03-May-20243.2 KiB9144

EventSequenceComplete_fp.hD03-May-20242.6 KiB5526

EvictControl.cD03-May-20243.9 KiB11355

EvictControl_fp.hD03-May-20241.7 KiB4220

ExecCommand.cD03-May-202415.9 KiB346192

FieldUpgradeData.cD03-May-2024596 2314

FieldUpgradeData_fp.hD03-May-20242.4 KiB5425

FieldUpgradeStart.cD03-May-2024495 2112

FieldUpgradeStart_fp.hD03-May-20241.8 KiB4321

FirmwareRead.cD03-May-2024496 2112

FirmwareRead_fp.hD03-May-20242.2 KiB5021

FlushContext.cD03-May-20241.5 KiB5630

FlushContext_fp.hD03-May-20241.6 KiB3816

GetCapability.cD03-May-20245.5 KiB136103

GetCapability_fp.hD03-May-20242.3 KiB5728

GetCommandAuditDigest.cD03-May-20243.2 KiB9142

GetCommandAuditDigest_fp.hD03-May-20242.6 KiB5930

GetCommandCodeString.cD03-May-202410.3 KiB446439

GetCommandCodeString_fp.hD03-May-2024425 145

GetRandom.cD03-May-2024789 2915

GetRandom_fp.hD03-May-20242.2 KiB5021

GetSessionAuditDigest.cD03-May-20243.4 KiB9444

GetSessionAuditDigest_fp.hD03-May-20242.7 KiB6031

GetTestResult.cD03-May-2024759 2710

GetTestResult_fp.hD03-May-20241.8 KiB4419

GetTime.cD03-May-20242.8 KiB8240

GetTime_fp.hD03-May-20242.2 KiB5829

Global.cD03-May-20244.4 KiB14777

Global.hD03-May-202452.4 KiB1,196412

HMAC.cD03-May-20242.5 KiB7938

HMAC_Start.cD03-May-20242.5 KiB7435

HMAC_Start_fp.hD03-May-20242.2 KiB5425

HMAC_fp.hD03-May-20242.1 KiB5425

Handle.cD03-May-20243.5 KiB11666

HandleProcess.cD03-May-202443.4 KiB1,2811,274

HandleProcess_fp.hD03-May-2024947 2310

Handle_fp.hD03-May-2024561 1910

Hash.cD03-May-20241.4 KiB5432

HashSequenceStart.cD03-May-2024989 3312

HashSequenceStart_fp.hD03-May-20242.4 KiB5425

Hash_fp.hD03-May-20242.1 KiB5728

Hierarchy.cD03-May-20245.9 KiB209145

HierarchyChangeAuth.cD03-May-20241.9 KiB6538

HierarchyChangeAuth_fp.hD03-May-20241.8 KiB4119

HierarchyControl.cD03-May-20244.1 KiB12170

HierarchyControl_fp.hD03-May-20241.7 KiB4220

Hierarchy_fp.hD03-May-2024683 2314

Implementation.hD03-May-202439.1 KiB930841

Import.cD03-May-20249.2 KiB18774

Import_fp.hD03-May-20242.3 KiB5728

IncrementalSelfTest.cD03-May-20241.1 KiB3414

IncrementalSelfTest_fp.hD03-May-20242.4 KiB5122

InternalRoutines.hD03-May-20241.5 KiB7240

LICENSED03-May-20242.5 KiB5139

Load.cD03-May-20244.3 KiB10544

LoadExternal.cD03-May-20244.2 KiB9242

LoadExternal_fp.hD03-May-20242.3 KiB5728

Load_fp.hD03-May-20242.1 KiB5728

Locality.cD03-May-20241.3 KiB4833

LocalityPlat.cD03-May-20241.1 KiB5827

Locality_fp.hD03-May-2024381 145

MakeCredential.cD03-May-20242.2 KiB6428

MakeCredential_fp.hD03-May-20242.4 KiB5728

MakefileD03-May-20248.9 KiB335315

Manufacture.cD03-May-20243.9 KiB12056

Marshal_ActivateCredential.cD03-May-20243.9 KiB10282

Marshal_Certify.cD03-May-20243.6 KiB10282

Marshal_CertifyCreation.cD03-May-20244.1 KiB11191

Marshal_ChangeEPS.cD03-May-20242 KiB6148

Marshal_ChangePPS.cD03-May-20242 KiB6148

Marshal_Clear.cD03-May-20241.9 KiB6047

Marshal_ClearControl.cD03-May-20242.2 KiB6652

Marshal_ClockRateAdjust.cD03-May-20242.3 KiB6652

Marshal_ClockSet.cD03-May-20242.1 KiB6551

Marshal_Commit.cD03-May-20243.8 KiB10787

Marshal_ContextLoad.cD03-May-20243.4 KiB9576

Marshal_ContextSave.cD03-May-20243.3 KiB9273

Marshal_Create.cD03-May-20244 KiB11393

Marshal_CreatePrimary.cD03-May-20244.3 KiB11695

Marshal_DictionaryAttackLockReset.cD03-May-20242.1 KiB6350

Marshal_DictionaryAttackParameters.cD03-May-20242.5 KiB7662

Marshal_Duplicate.cD03-May-20243.8 KiB10585

Marshal_ECC_Parameters.cD03-May-20243.5 KiB9677

Marshal_ECDH_KeyGen.cD03-May-20243.4 KiB9374

Marshal_ECDH_ZGen.cD03-May-20243.4 KiB9777

Marshal_EC_Ephemeral.cD03-May-20243.5 KiB9677

Marshal_EncryptDecrypt.cD03-May-20244 KiB11090

Marshal_EventSequenceComplete.cD03-May-20243.8 KiB9878

Marshal_EvictControl.cD03-May-20242.2 KiB6854

Marshal_FieldUpgradeData.cD03-May-20243.6 KiB9677

Marshal_FieldUpgradeStart.cD03-May-20242.5 KiB7157

Marshal_FirmwareRead.cD03-May-20243.4 KiB9576

Marshal_FlushContext.cD03-May-20242.1 KiB6451

Marshal_GetCapability.cD03-May-20243.8 KiB10586

Marshal_GetCommandAuditDigest.cD03-May-20244 KiB10383

Marshal_GetRandom.cD03-May-20243.3 KiB9576

Marshal_GetSessionAuditDigest.cD03-May-20244.1 KiB10484

Marshal_GetTestResult.cD03-May-20242.8 KiB7356

Marshal_GetTime.cD03-May-20243.6 KiB10282

Marshal_HMAC.cD03-May-20243.4 KiB10080

Marshal_HMAC_Start.cD03-May-20243.6 KiB10181

Marshal_Hash.cD03-May-20243.5 KiB10384

Marshal_HashSequenceStart.cD03-May-20243.7 KiB9980

Marshal_HierarchyChangeAuth.cD03-May-20242.4 KiB6652

Marshal_HierarchyControl.cD03-May-20242.4 KiB7056

Marshal_Import.cD03-May-20243.9 KiB11292

Marshal_IncrementalSelfTest.cD03-May-20243.6 KiB9576

Marshal_Load.cD03-May-20243.5 KiB10281

Marshal_LoadExternal.cD03-May-20243.8 KiB10585

Marshal_MakeCredential.cD03-May-20243.8 KiB10282

Marshal_NV_Certify.cD03-May-20244 KiB11292

Marshal_NV_ChangeAuth.cD03-May-20242.2 KiB6652

Marshal_NV_DefineSpace.cD03-May-20242.4 KiB7056

Marshal_NV_Extend.cD03-May-20242.2 KiB6753

Marshal_NV_GlobalWriteLock.cD03-May-20242.2 KiB6148

Marshal_NV_Increment.cD03-May-20242.1 KiB6249

Marshal_NV_Read.cD03-May-20243.5 KiB10181

Marshal_NV_ReadLock.cD03-May-20242.1 KiB6249

Marshal_NV_ReadPublic.cD03-May-20243.5 KiB9374

Marshal_NV_SetBits.cD03-May-20242.2 KiB6753

Marshal_NV_UndefineSpace.cD03-May-20242.2 KiB6249

Marshal_NV_UndefineSpaceSpecial.cD03-May-20242.3 KiB6350

Marshal_NV_Write.cD03-May-20242.3 KiB7056

Marshal_NV_WriteLock.cD03-May-20242.1 KiB6249

Marshal_ObjectChangeAuth.cD03-May-20243.7 KiB9878

Marshal_PCR_Allocate.cD03-May-20243.7 KiB10080

Marshal_PCR_Event.cD03-May-20243.4 KiB9777

Marshal_PCR_Extend.cD03-May-20242.2 KiB6652

Marshal_PCR_Read.cD03-May-20243.5 KiB9778

Marshal_PCR_Reset.cD03-May-20242 KiB6148

Marshal_PCR_SetAuthPolicy.cD03-May-20242.5 KiB7157

Marshal_PCR_SetAuthValue.cD03-May-20242.3 KiB6652

Marshal_PP_Commands.cD03-May-20242.3 KiB7056

Marshal_PolicyAuthValue.cD03-May-20242.1 KiB6148

Marshal_PolicyAuthorize.cD03-May-20242.7 KiB7864

Marshal_PolicyCommandCode.cD03-May-20242.3 KiB6652

Marshal_PolicyCounterTimer.cD03-May-20242.6 KiB7460

Marshal_PolicyCpHash.cD03-May-20242.2 KiB6652

Marshal_PolicyDuplicationSelect.cD03-May-20242.7 KiB7561

Marshal_PolicyGetDigest.cD03-May-20243.5 KiB9273

Marshal_PolicyLocality.cD03-May-20242.3 KiB6652

Marshal_PolicyNV.cD03-May-20242.4 KiB7561

Marshal_PolicyNameHash.cD03-May-20242.3 KiB6652

Marshal_PolicyNvWritten.cD03-May-20242.3 KiB6652

Marshal_PolicyOR.cD03-May-20242.1 KiB6551

Marshal_PolicyPCR.cD03-May-20242.3 KiB7056

Marshal_PolicyPassword.cD03-May-20242.1 KiB6148

Marshal_PolicyPhysicalPresence.cD03-May-20242.3 KiB6148

Marshal_PolicyRestart.cD03-May-20242.1 KiB6148

Marshal_PolicySecret.cD03-May-20244 KiB11191

Marshal_PolicySigned.cD03-May-20244.1 KiB11595

Marshal_PolicyTicket.cD03-May-20242.7 KiB8268

Marshal_Quote.cD03-May-20243.6 KiB10585

Marshal_RSA_Decrypt.cD03-May-20243.8 KiB10585

Marshal_RSA_Encrypt.cD03-May-20243.8 KiB10585

Marshal_ReadClock.cD03-May-20242.6 KiB7255

Marshal_ReadPublic.cD03-May-20243.5 KiB9475

Marshal_Rewrap.cD03-May-20243.7 KiB10787

Marshal_SelfTest.cD03-May-20242 KiB6350

Marshal_SequenceComplete.cD03-May-20243.9 KiB10282

Marshal_SequenceUpdate.cD03-May-20242.3 KiB6652

Marshal_SetAlgorithmSet.cD03-May-20242.3 KiB6652

Marshal_SetCommandCodeAuditStatus.cD03-May-20242.5 KiB7662

Marshal_SetPrimaryPolicy.cD03-May-20242.4 KiB7056

Marshal_Shutdown.cD03-May-20242 KiB6350

Marshal_Sign.cD03-May-20243.5 KiB10484

Marshal_StartAuthSession.cD03-May-20244.3 KiB11897

Marshal_Startup.cD03-May-20242 KiB6350

Marshal_StirRandom.cD03-May-20242.1 KiB6451

Marshal_TestParms.cD03-May-20242 KiB6451

Marshal_Unseal.cD03-May-20243.2 KiB9172

Marshal_VerifySignature.cD03-May-20243.8 KiB10181

Marshal_ZGen_2Phase.cD03-May-20243.9 KiB11191

MathFunctions.cD03-May-202416.5 KiB531332

MathFunctions_fp.hD03-May-20242.3 KiB4738

MemoryLib.cD03-May-20248.9 KiB271148

MemoryLib_fp.hD03-May-20242 KiB4636

NV.cD03-May-202467.4 KiB1,9061,109

NVMem.cD03-May-20247.7 KiB297158

NV_Certify.cD03-May-20244.2 KiB12156

NV_Certify_fp.hD03-May-20242.4 KiB6132

NV_ChangeAuth.cD03-May-20241.4 KiB5019

NV_ChangeAuth_fp.hD03-May-20241.7 KiB4119

NV_DefineSpace.cD03-May-20246.1 KiB16293

NV_DefineSpace_fp.hD03-May-20241.7 KiB4220

NV_Extend.cD03-May-20242.9 KiB9144

NV_Extend_fp.hD03-May-20241.6 KiB4220

NV_GlobalWriteLock.cD03-May-2024858 3415

NV_GlobalWriteLock_fp.hD03-May-20241.7 KiB3816

NV_Increment.cD03-May-20242.2 KiB7632

NV_Increment_fp.hD03-May-20241.7 KiB4119

NV_Read.cD03-May-20241.8 KiB5621

NV_ReadLock.cD03-May-20242.2 KiB6827

NV_ReadLock_fp.hD03-May-20241.6 KiB4119

NV_ReadPublic.cD03-May-2024712 3114

NV_ReadPublic_fp.hD03-May-20242.3 KiB5324

NV_Read_fp.hD03-May-20242.2 KiB5526

NV_SetBits.cD03-May-20242.5 KiB7834

NV_SetBits_fp.hD03-May-20241.6 KiB4220

NV_UndefineSpace.cD03-May-20241.8 KiB5520

NV_UndefineSpaceSpecial.cD03-May-20241.3 KiB4818

NV_UndefineSpaceSpecial_fp.hD03-May-20241.8 KiB4219

NV_UndefineSpace_fp.hD03-May-20241.7 KiB4119

NV_Write.cD03-May-20242.5 KiB6926

NV_WriteLock.cD03-May-20242.3 KiB7128

NV_WriteLock_fp.hD03-May-20241.7 KiB4119

NV_Write_fp.hD03-May-20241.6 KiB4321

NV_fp.hD03-May-20244 KiB9384

NV_spt.cD03-May-20244.5 KiB12148

NV_spt_fp.hD03-May-2024639 2011

Object.cD03-May-202429.7 KiB896526

ObjectChangeAuth.cD03-May-20242.4 KiB7232

ObjectChangeAuth_fp.hD03-May-20242.4 KiB5526

Object_fp.hD03-May-20244.2 KiB9785

Object_spt.cD03-May-202460.3 KiB1,337816

Object_spt_fp.hD03-May-20247 KiB13393

OsslCryptoEngine.hD03-May-20242.4 KiB7744

PCR.cD03-May-202443 KiB1,290838

PCR_Allocate.cD03-May-20241.7 KiB5521

PCR_Allocate_fp.hD03-May-20242.4 KiB5829

PCR_Event.cD03-May-20241.9 KiB6738

PCR_Event_fp.hD03-May-20242.2 KiB5324

PCR_Extend.cD03-May-20242 KiB6427

PCR_Extend_fp.hD03-May-20241.6 KiB4119

PCR_Read.cD03-May-2024677 2612

PCR_Read_fp.hD03-May-20242.2 KiB5425

PCR_Reset.cD03-May-20241.3 KiB5121

PCR_Reset_fp.hD03-May-20241.6 KiB3816

PCR_SetAuthPolicy.cD03-May-20241.5 KiB5320

PCR_SetAuthPolicy_fp.hD03-May-20241.8 KiB4321

PCR_SetAuthValue.cD03-May-20241.3 KiB4920

PCR_SetAuthValue_fp.hD03-May-20241.7 KiB4119

PCR_fp.hD03-May-20244.5 KiB9578

PP.cD03-May-20245 KiB16083

PPPlat.cD03-May-20241.1 KiB5924

PP_Commands.cD03-May-20241.5 KiB4920

PP_Commands_fp.hD03-May-20241.6 KiB4220

PP_fp.hD03-May-2024827 2415

PRESUBMIT.cfgD03-May-2024242 86

PlatformData.cD03-May-2024744 3711

PlatformData.hD03-May-20241.1 KiB4114

PolicyAuthValue.cD03-May-20241.2 KiB4520

PolicyAuthValue_fp.hD03-May-20241.7 KiB3816

PolicyAuthorize.cD03-May-20243.2 KiB9541

PolicyAuthorize_fp.hD03-May-20241.8 KiB4422

PolicyCommandCode.cD03-May-20241.6 KiB5823

PolicyCommandCode_fp.hD03-May-20241.7 KiB4119

PolicyCounterTimer.cD03-May-20246.5 KiB175111

PolicyCounterTimer_fp.hD03-May-20241.8 KiB4321

PolicyCpHash.cD03-May-20242.1 KiB6927

PolicyCpHash_fp.hD03-May-20241.6 KiB4119

PolicyDuplicationSelect.cD03-May-20242.4 KiB8632

PolicyDuplicationSelect_fp.hD03-May-20241.9 KiB4421

PolicyGetDigest.cD03-May-2024629 2713

PolicyGetDigest_fp.hD03-May-20242.3 KiB5021

PolicyLocality.cD03-May-20243.6 KiB11251

PolicyLocality_fp.hD03-May-20241.7 KiB4119

PolicyNV.cD03-May-20246.8 KiB190115

PolicyNV_fp.hD03-May-20241.7 KiB4523

PolicyNameHash.cD03-May-20242.1 KiB6824

PolicyNameHash_fp.hD03-May-20241.7 KiB4119

PolicyNvWritten.cD03-May-20241.9 KiB6626

PolicyNvWritten_fp.hD03-May-20241.7 KiB4119

PolicyOR.cD03-May-20242.2 KiB6936

PolicyOR_fp.hD03-May-20241.6 KiB4119

PolicyPCR.cD03-May-20242.7 KiB9346

PolicyPCR_fp.hD03-May-20241.6 KiB4220

PolicyPassword.cD03-May-20241.2 KiB4520

PolicyPassword_fp.hD03-May-20241.7 KiB3816

PolicyPhysicalPresence.cD03-May-20241.1 KiB4318

PolicyPhysicalPresence_fp.hD03-May-20241.8 KiB3916

PolicyRestart.cD03-May-2024711 3015

PolicyRestart_fp.hD03-May-20241.6 KiB3816

PolicySecret.cD03-May-20243.8 KiB10450

PolicySecret_fp.hD03-May-20242.4 KiB6031

PolicySigned.cD03-May-20246.3 KiB15262

PolicySigned_fp.hD03-May-20242.4 KiB6132

PolicyTicket.cD03-May-20243.3 KiB8940

PolicyTicket_fp.hD03-May-20241.7 KiB4523

Policy_spt.cD03-May-20244.9 KiB13280

Policy_spt_fp.hD03-May-2024939 2516

Power.cD03-May-20241.1 KiB5925

PowerPlat.cD03-May-20241.4 KiB8139

Power_fp.hD03-May-2024335 156

PropertyCap.cD03-May-202418.2 KiB477316

PropertyCap_fp.hD03-May-2024504 178

Quote.cD03-May-20243 KiB9143

Quote_fp.hD03-May-20242.2 KiB5829

READMED03-May-20241 KiB3020

RSAData.cD03-May-202450 KiB768716

RSAKeySieve.cD03-May-202432 KiB951641

RSAKeySieve.hD03-May-20243.1 KiB8854

RSAKeySieve_fp.hD03-May-20241.1 KiB3020

RSA_Decrypt.cD03-May-20243.2 KiB8236

RSA_Decrypt_fp.hD03-May-20242.3 KiB5526

RSA_Encrypt.cD03-May-20242.5 KiB7234

RSA_Encrypt_fp.hD03-May-20242.3 KiB5526

ReadClock.cD03-May-2024975 3318

ReadClock_fp.hD03-May-20241.7 KiB4116

ReadPublic.cD03-May-20241.2 KiB4918

ReadPublic_fp.hD03-May-20242.2 KiB5425

Rewrap.cD03-May-20245.2 KiB12971

Rewrap_fp.hD03-May-20242.2 KiB5930

SelfTest.cD03-May-2024705 289

SelfTest_fp.hD03-May-20241.5 KiB3816

SequenceComplete.cD03-May-20243.4 KiB11160

SequenceComplete_fp.hD03-May-20242.5 KiB5829

SequenceUpdate.cD03-May-20242.3 KiB8041

SequenceUpdate_fp.hD03-May-20241.7 KiB4119

Session.cD03-May-202432.5 KiB866469

SessionProcess.cD03-May-202478.9 KiB1,9671,276

SessionProcess_fp.hD03-May-20241.5 KiB3728

Session_fp.hD03-May-20242.6 KiB5849

SetAlgorithmSet.cD03-May-2024782 3114

SetAlgorithmSet_fp.hD03-May-20241.7 KiB4119

SetCommandCodeAuditStatus.cD03-May-20242.2 KiB7133

SetCommandCodeAuditStatus_fp.hD03-May-20241.8 KiB4522

SetPrimaryPolicy.cD03-May-20242.3 KiB7544

SetPrimaryPolicy_fp.hD03-May-20241.8 KiB4220

Shutdown.cD03-May-20242.6 KiB8840

Shutdown_fp.hD03-May-20241.5 KiB3816

Sign.cD03-May-20242.8 KiB7839

Sign_fp.hD03-May-20242.1 KiB5526

StartAuthSession.cD03-May-20244.9 KiB12151

StartAuthSession_fp.hD03-May-20242.6 KiB6233

Startup.cD03-May-20245.2 KiB16889

Startup_fp.hD03-May-20241.5 KiB3816

StirRandom.cD03-May-2024432 2010

StirRandom_fp.hD03-May-20241.6 KiB3816

TPMB.hD03-May-20241,008 2914

TPMCmdp.cD03-May-20246.3 KiB286164

TPMCmds.cD03-May-20242.2 KiB9973

TPM_Types.hD03-May-20245 KiB166144

TcpServer.cD03-May-202416.5 KiB558435

TestParms.cD03-May-2024511 2210

TestParms_fp.hD03-May-20241.6 KiB3816

Ticket.cD03-May-20246.5 KiB188109

Ticket_fp.hD03-May-20241.6 KiB4031

Time.cD03-May-20247.3 KiB234139

Time_fp.hD03-May-2024759 2314

Tpm.hD03-May-2024614 2412

TpmFail.cD03-May-202411.9 KiB364252

TpmFail_fp.hD03-May-2024547 189

TpmTcpProtocol.hD03-May-20242.7 KiB8866

Unique.cD03-May-20241.7 KiB5536

Unique_fp.hD03-May-2024479 178

Unseal.cD03-May-20241.2 KiB4620

Unseal_fp.hD03-May-20242.1 KiB5021

VendorString.hD03-May-20242.3 KiB6523

VerifySignature.cD03-May-20242.2 KiB6833

VerifySignature_fp.hD03-May-20242.4 KiB5425

ZGen_2Phase.cD03-May-20243.3 KiB9455

ZGen_2Phase_fp.hD03-May-20242.3 KiB5930

_TPM_Hash_Data.cD03-May-20241.4 KiB4725

_TPM_Hash_Data_fp.hD03-May-2024437 156

_TPM_Hash_End.cD03-May-20241.9 KiB7939

_TPM_Hash_End_fp.hD03-May-2024309 134

_TPM_Hash_Start.cD03-May-20242.3 KiB6628

_TPM_Hash_Start_fp.hD03-May-2024317 134

_TPM_Init.cD03-May-2024725 4117

bits.hD03-May-2024480 146

marshal_fp.hD03-May-20241.7 KiB5240

marshal_test.cD03-May-202413.5 KiB405340

parsep3D03-May-20242.1 KiB7761

parsep4D03-May-20242.2 KiB7965

part3.txtD03-May-2024918.7 KiB19,63614,943

part4.txtD03-May-20241.6 MiB38,36632,791

stubs_ecc.cD03-May-2024818 4131

stubs_hash.cD03-May-202410.7 KiB256185

stubs_sym.cD03-May-2024744 3024

swap.hD03-May-20243.4 KiB6645

tpm_generated.cD03-May-2024237.5 KiB8,4177,957

tpm_generated.hD03-May-202462.1 KiB1,5841,122

tpm_types.hD03-May-202452.8 KiB1,6571,293

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