- Clear, practical tutorial style text with real-world applications
- First book on TPM for embedded designers
- Provides a sound foundation on the TPM, helping designers take advantage of hardware security based on sound TCG standards
- Covers all the TPM basics, discussing in detail the TPM Key Hierarchy and the Trusted Platform Module specification
- Presents a methodology to enable designers and developers to successfully integrate the TPM into an embedded design and verify the TPM's operation on a specific platform
- This sound foundation on the TPM provides clear, practical tutorials with detailed real-world application examples
- The author is reknowned for training embedded systems developers to successfully implement the TPM worldwide
Inhaltsverzeichnis
1;Front Cover;1 2;Trusted Platform Module Basics: Using TPM in Embedded Systems;4 3;Copyright Page;5 4;Contents;6 5;Acknowledgments;12 6;Introduction;14 7;Chapter 1: TCG Prerequisites;18 7.1;1.1 The Trusted Computing Group;18 7.2;1.2 The TCG Specification Suite;18 7.3;1.3 The PC Specific Specification and the Embedded Design;19 7.4;1.4 The TSS Specification Version 1.1;26 8;Chapter 2: Cryptographic Basics;28 8.1;2.1 The Symmetric and Asymmetric Keys;28 8.2;2.2 Using RSA to Encrypt Private Information;31 8.3;2.3 Using RSA to Sign and Verify Signatures;33 9;Chapter 3: Overview of the TPM Architecture;38 9.1;3.1 The TPM CPU or Microcontroller;38 9.2;3.2 Asymmetric Functional Block Requirements;39 9.3;3.3 TPM Memory Blocks;42 9.4;3.4 Platform Configuration Registers;43 9.5;3.5 Hardware Power Management and Tamper Circuitry;44 9.6;3.6 The TPM, System-on-a-Chip;45 10;Chapter 4: Root-of-Trustthe TPM Endorsement Key;48 10.1;4.1 Root-of-Trust;48 10.2;4.2 The Endorsement Key;49 10.3;4.3 X509 Certificate;50 10.4;4.4 Security and the EK;52 11;Chapter 5: Key Hierarchy and Key Management;56 11.1;5.1 TPM-Specific Key Hierarchy;56 11.2;5.2 Types of Keys Found within the TPM;57 11.3;5.3 Typical PC-Based Key Hierarchy;59 11.4;5.4 Key Flags and Their Meaning;61 11.5;5.5 Key Cryptographic Algorithm Definition;63 11.6;5.6 Putting It All Together;66 11.7;5.7 Key Migration and Archiving;67 12;Chapter 6: Platform Configuration Registers;70 12.1;6.1 What in the World Is a Platform Configuration Register?;70 12.2;6.2 How PCR Values Are Initialized;74 12.3;6.3 How PCRs Govern TPM Command Execution;78 12.4;6.4 Other PCR Tidbits;80 13;Chapter 7: TPM Command Message Overview;82 13.1;7.1 Non-authorized TPM Command Messages;82 13.2;7.2 Single Authorized TPM Command Messages;84 13.3;7.3 Dual Authorized TPM Command Messages;86 14;Chapter 8: Rolling Nonces and Anti-replay Protection;90 15;Chapter 9: Command Authorization, Typical;100 15.1;9.1 TPM Authorization Overview;100 15.2;9.2 The TPM Authorizat
ion Input/Output Block(s);101 15.3;9.3 Types of Command Authorization(s);103 15.4;9.4 Object Independent Authorization Protocol;105 15.5;9.5 Calculating the Authorization Digest;107 15.6;9.6 Object Specific Authorization Protocol;112 15.7;9.7 Command Authorization Examples, Typical;117 16;Chapter 10: Command Authorization, Atypical;134 16.1;10.1 Exception Case, the Deferred Authorization Protocol;134 16.2;10.2 Exception Case, Non-authorized Command Execution of Normally Authorized Commands;140 16.3;10.3 Exception Case, the EncAuth;146 17;Chapter 11: Initialization and Low-Level Command Suite;150 17.1;11.1 Determining TPM Compliance State;150 17.2;11.2 TPM Initialization Regarding Compliance State;152 17.3;11.3 The Compliance Endorsement Key;154 18;Chapter 12: Compliance Vectors and Their Purpose;156 18.1;12.1 The Compliance RSA Keying Material;156 18.2;12.2 The Compliance Nonces, Secrets, and Random Numbers;160 18.3;12.3 The Compliance PCR Digest Values;162 19;Chapter 13: Establishing a TPM Owner;166 19.1;13.1 The TPM_CreateEndorsementKeyPair Command;166 19.2;13.2 The TPM_ReadPubek Command;171 19.3;13.3 The TPM_TakeOwnership Command;173 20;Chapter 14: Owner-Authorized Command Suite;184 20.1;14.1 The TPM_GetCapabilityOwner;185 20.2;14.2 The TPM_DisablePubekRead;190 20.3;14.3 The TPM_OwnerReadPubek;192 20.4;14.4 The TPM_OwnerClear;193 20.5;14.5 The TPM_DisableOwnerClear;195 20.6;14.6 The TPM_OwnerSetDisable;196 20.7;14.7 The TPM_ChangeAuthOwner;196 20.8;14.8 The TPM_AuthorizeMigrationKey;199 21;Chapter 15: The Key Management Command Suite;204 21.1;15.1 The TPM_CreateWrapKey Command;205 21.2;15.2 The TPM_LoadKey Command;216 21.3;15.3 The TPM_EvictKey Command;219 21.4;15.4 The TPM_GetPubKey Command;220 22;Chapter 16: The RSA Encryption and Decryption Command Suite;224 22.1;16.1 The TSS_Bind or Tspi_Data_Bind (TSS Specification);225 22.2;16.2 The TPM_UnBind Command;229 22.3;16.3 The TPM_Seal Command;231 22.4;16.4 The TPM_UnSeal Command;235 23;Chapter 17: The TPM Signatur
e Command;240 24;Chapter 18: The RNG Command Suite;246 24.1;18.1 The TPM_GetRandom;247 24.2;18.2 The TPM_StirRandom;248 25;Chapter 19: The PCR Command Suite;250 25.1;19.1 The TPM_PcrRead;251 25.2;19.2 The TPM_Extend;253 25.3;19.3 The TPM_Quote;255 26;Chapter 20: The TPM Capability and Self-Test Command Suite;260 26.1;20.1 The TPM_GetCapability;261 26.2;20.2 The TPM_GetCapabilitySigned;268 26.3;20.3 The TPM_SelfTestFull;270 26.4;20.4 The TPM_GetTestResult;272 26.5;20.5 The TPM_CertifySelfTest;272 27;Chapter 21: The Key Migration and Secret Management Suite;276 27.1;21.1 The TPM_CreateMigrationBlob;276 27.2;21.2 The TPM_ConvertMigrationKey;281 27.3;21.3 The TPM_ChangeAuth;283 28;Chapter 22: The Trusted Device Driver;286 28.1;22.1 The TDDL Interface;287 28.2;22.2 The Tddli_Open;288 28.3;22.3 The Tddli_Close;289 28.4;22.4 The Tddli_Cancel;289 28.5;22.5 The Tddli_GetCapability;291 28.6;22.6 The Tddli_SetCapability;292 28.7;22.7 The Tddli_GetStatus;293 28.8;22.8 The Tddli_TransmitData;294 29;Chapter 23: TPM System Deployment Initialization;296 30;Chapter 24: Migrating to Version 1.2 of the TPM;304 30.1;24.1 TCG Version 1.2-Based Platform Workgroups;305 30.2;24.2 EK Properties;308 30.3;24.3 Extended Context Storage and Restoration;310 30.4;24.4 Available Counters;311 30.5;24.5 Transport Protection Encrypted Command(s);313 30.6;24.6 Summary;316 31;Chapter 25: Example One: TPM Ownership;318 32;Chapter 26: More Command Examples;334 32.1;26.1 TPM_CreateWrapKey Using Compliance Key 0;334 32.2;26.2 TPM_Sign Using Compliance Key 2;344 32.3;26.3 TPM_UnBind Using Compliance Key Handle 4;349 33;Index;362 33.1;A;362 33.2;B;362 33.3;C;362 33.4;D;363 33.5;E;363 33.6;H;363 33.7;I;363 33.8;K;364 33.9;L;364 33.10;M;364 33.11;N;364 33.12;O;364 33.13;P;365 33.14;R;365 33.15;S;366 33.16;T;366 33.17;U;368 33.18;V;368 33.19;W;368 33.20;X;368