Home
last modified time | relevance | path

Searched refs:TPM_CC (Results 1 – 25 of 55) sorted by relevance

123

/external/tpm2/
DImplementation.h527 typedef UINT32 TPM_CC; typedef
528 #define TPM_CC_FIRST (TPM_CC)(0x0000011F)
529 #define TPM_CC_PP_FIRST (TPM_CC)(0x0000011F)
531 #define TPM_CC_NV_UndefineSpaceSpecial (TPM_CC)(0x0000011F)
534 #define TPM_CC_EvictControl (TPM_CC)(0x00000120)
537 #define TPM_CC_HierarchyControl (TPM_CC)(0x00000121)
540 #define TPM_CC_NV_UndefineSpace (TPM_CC)(0x00000122)
543 #define TPM_CC_ChangeEPS (TPM_CC)(0x00000124)
546 #define TPM_CC_ChangePPS (TPM_CC)(0x00000125)
549 #define TPM_CC_Clear (TPM_CC)(0x00000126)
[all …]
DCommandCodeAttributes_fp.h10 AUTH_ROLE CommandAuthRole(TPM_CC commandCode, // IN: command code
14 TPM_CC commandCode, // IN: start command code
18 BOOL CommandIsImplemented(TPM_CC commandCode // IN: command code
20 int DecryptSize(TPM_CC commandCode // IN: commandCode
22 int EncryptSize(TPM_CC commandCode // IN: commandCode
24 BOOL IsReadOperation(TPM_CC command // IN: Command to check
26 BOOL IsSessionAllowed(TPM_CC commandCode // IN: the command to be checked
28 BOOL IsWriteOperation(TPM_CC command // IN: Command to check
DCommandCodeAttributes.c37 TPM_CC commandCode, // IN: command code in CommandAuthRole()
67 TPM_CC commandCode // IN: command code in CommandIsImplemented()
85 TPM_CC commandCode // IN: command code in CommandGetAttribute()
114 TPM_CC commandCode // IN: commandCode in EncryptSize()
138 TPM_CC commandCode // IN: commandCode in DecryptSize()
162 TPM_CC commandCode // IN: the command to be checked in IsSessionAllowed()
176 TPM_CC commandCode in IsHandleInResponse()
193 TPM_CC command // IN: Command to check in IsWriteOperation()
220 TPM_CC command // IN: Command to check in IsReadOperation()
255 TPM_CC commandCode, // IN: start command code in CommandCapGetCCList()
DPP_fp.h11 TPM_CC commandCode, // IN: start command code
15 void PhysicalPresenceCommandClear(TPM_CC commandCode // IN: command code
17 void PhysicalPresenceCommandSet(TPM_CC commandCode // IN: command code
19 BOOL PhysicalPresenceIsRequired(TPM_CC commandCode // IN: command code
DCommandAudit_fp.h11 TPM_CC commandCode, // IN: start command code
15 BOOL CommandAuditClear(TPM_CC commandCode // IN: command code
19 BOOL CommandAuditIsRequired(TPM_CC commandCode // IN: command code
22 BOOL CommandAuditSet(TPM_CC commandCode // IN: command code
DCommandAudit.c77 TPM_CC commandCode // IN: command code in CommandAuditSet()
118 TPM_CC commandCode // IN: command code in CommandAuditClear()
154 TPM_CC commandCode // IN: command code in CommandAuditIsRequired()
184 TPM_CC commandCode, // IN: start command code in CommandAuditCapGetCCList()
233 TPM_CC i; in CommandAuditGetDigest()
DPP.c45 TPM_CC commandCode // IN: command code in PhysicalPresenceCommandSet()
68 TPM_CC commandCode // IN: command code in PhysicalPresenceCommandClear()
101 TPM_CC commandCode // IN: command code in PhysicalPresenceIsRequired()
126 TPM_CC commandCode, // IN: start command code in PhysicalPresenceCapGetCCList()
DSessionProcess_fp.h12 TPM_CC commandCode, // IN: commandCode
18 TPM_CC commandCode, // IN: Command Code
27 TPM_CC commandCode, // IN: Command code
DPolicyCommandCode.c22 TPM_CC commandCode = TPM_CC_PolicyCommandCode; in TPM2_PolicyCommandCode()
45 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyCommandCode()
48 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &in->code); in TPM2_PolicyCommandCode()
DSessionProcess.c210 TPM_CC commandCode, // IN: command code in IsPolicySessionRequired()
261 TPM_CC commandCode, // IN: commandCode in IsAuthValueAvailable()
367 TPM_CC commandCode, // IN: commandCode in IsAuthPolicyAvailable()
465 TPM_CC commandCode, // IN: command code in ComputeCpHash()
487 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in ComputeCpHash()
728 TPM_CC commandCode, // IN: command code in CheckPolicyAuthSession()
869 TPM_CC commandCode, // IN: command code in RetrieveSessionData()
1100 TPM_CC commandCode, // IN: commandCode in CheckAuthSession()
1203 TPM_CC commandCode, // IN: Command code in CheckCommandAudit()
1247 TPM_CC commandCode, // IN: Command code in ParseSessionBuffer()
[all …]
DPolicyPhysicalPresence.c16 TPM_CC commandCode = TPM_CC_PolicyPhysicalPresence; in TPM2_PolicyPhysicalPresence()
33 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyPhysicalPresence()
DPolicyPassword.c17 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyPassword()
34 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyPassword()
DPolicyAuthValue.c17 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyAuthValue()
34 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyAuthValue()
DGetCapability.c89 out->moreData = CommandCapGetCCList((TPM_CC) in->property, in TPM2_GetCapability()
94 out->moreData = PhysicalPresenceCapGetCCList((TPM_CC) in->property, in TPM2_GetCapability()
98 out->moreData = CommandAuditCapGetCCList((TPM_CC) in->property, in TPM2_GetCapability()
DPolicyNvWritten.c23 TPM_CC commandCode = TPM_CC_PolicyNvWritten; in TPM2_PolicyNvWritten()
56 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyNvWritten()
DPolicyNameHash.c24 TPM_CC commandCode = TPM_CC_PolicyNameHash; in TPM2_PolicyNameHash()
52 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyNameHash()
DPolicyCpHash.c24 TPM_CC commandCode = TPM_CC_PolicyCpHash; in TPM2_PolicyCpHash()
55 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyCpHash()
DPolicyOR.c41 TPM_CC commandCode = TPM_CC_PolicyOR; in TPM2_PolicyOR()
52 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyOR()
DPolicyDuplicationSelect.c24 TPM_CC commandCode = TPM_CC_PolicyDuplicationSelect; in TPM2_PolicyDuplicationSelect()
63 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyDuplicationSelect()
DPolicyLocality.c29 TPM_CC commandCode = TPM_CC_PolicyLocality; in TPM2_PolicyLocality()
96 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyLocality()
DPolicyPCR.c28 TPM_CC commandCode = TPM_CC_PolicyPCR; in TPM2_PolicyPCR()
71 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyPCR()
Dtpm_types.h513 TPM_CC commandIndex : 16;
514 TPM_CC reserved16_21 : 6;
515 TPM_CC nv : 1;
516 TPM_CC extensive : 1;
517 TPM_CC flushed : 1;
518 TPM_CC cHandles : 3;
519 TPM_CC rHandle : 1;
520 TPM_CC V : 1;
521 TPM_CC Res : 2;
772 TPM_CC commandCodes[MAX_CAP_CC];
DMemoryLib.c221 TPM_CC command // Command that requires the buffer in MemoryGetActionOutputBuffer()
241 TPM_CC command // Command that requires the buffer in MemoryGetResponseBuffer()
DGetCommandCodeString_fp.h12 const char* GetCommandCodeString(TPM_CC command_code);
/external/tpm2/generator/
Dcommands.txt8 _TYPE TPM_CC
27 _TYPE TPM_CC
46 _TYPE TPM_CC
65 _TYPE TPM_CC
87 _TYPE TPM_CC
108 _TYPE TPM_CC
151 _TYPE TPM_CC
170 _TYPE TPM_CC
216 _TYPE TPM_CC
247 _TYPE TPM_CC
[all …]

123