Home
last modified time | relevance | path

Searched refs:TPMA_CC (Results 1 – 14 of 14) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DCommandCodeAttributes.c127 if(GET_ATTRIBUTE(s_ccAttr[LIBRARY_COMMAND_ARRAY_SIZE], TPMA_CC, in GetClosestCommandIndex()
135 if(GET_ATTRIBUTE(s_ccAttr[COMMAND_COUNT - 1], TPMA_CC, commandIndex) in GetClosestCommandIndex()
149 diff = GET_ATTRIBUTE(s_ccAttr[commandIndex], TPMA_CC, commandIndex) in GetClosestCommandIndex()
177 if(GET_ATTRIBUTE(s_ccAttr[LIBRARY_COMMAND_ARRAY_SIZE - 1], TPMA_CC, in GetClosestCommandIndex()
197 if(GET_ATTRIBUTE(s_ccAttr[0], TPMA_CC, commandIndex) >= searchIndex) in GetClosestCommandIndex()
214 pAssert(max == (sizeof(s_ccAttr) / sizeof(TPMA_CC) in GetClosestCommandIndex()
219 diff = GET_ATTRIBUTE(s_ccAttr[commandIndex], TPMA_CC, in GetClosestCommandIndex()
286 if((GET_ATTRIBUTE(s_ccAttr[commandIndex], TPMA_CC, commandIndex) in CommandCodeToCommandIndex()
288 || (IS_ATTRIBUTE(s_ccAttr[commandIndex], TPMA_CC, V)) != vendor) in CommandCodeToCommandIndex()
322 TPMA_CC, commandIndex); in GetCommandCode()
[all …]
DTableMarshalData.c53 ARRAY_MARSHAL_ENTRY(TPMA_CC),
DMarshal.c725 TPMA_CC_Marshal(TPMA_CC *source, BYTE **buffer, INT32 *size) in TPMA_CC_Marshal()
2499 …result = (UINT16)(result + TPMA_CC_Array_Marshal((TPMA_CC *)(source->commandAttributes), buffer, s… in TPML_CCA_Marshal()
5679 TPMA_CC_Array_Marshal(TPMA_CC *source, BYTE **buffer, INT32 *size, INT32 count) in TPMA_CC_Array_Marshal()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DCommandAudit.c218 TPMA_CC, commandIndex); in CommandAuditCapGetCCList()
219 if(IS_ATTRIBUTE(s_ccAttr[commandIndex], TPMA_CC, V)) in CommandAuditCapGetCCList()
/external/tpm2-tss/src/tss2-mu/
Dtpma-types.c153 TPMA_MARSHAL (TPMA_CC);
154 TPMA_UNMARSHAL(TPMA_CC);
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h748 typedef uint32_t TPMA_CC; typedef
750 #define TPMA_CC_COMMANDINDEX_MASK ((TPMA_CC) 0x0000FFFF) /* indicates the command being selected */
752 #define TPMA_CC_RESERVED1_MASK ((TPMA_CC) 0x003F0000) /* shall be zero */
753 #define TPMA_CC_NV ((TPMA_CC) 0x00400000) /* SET 1 indicates that the command may w…
754 #define TPMA_CC_EXTENSIVE ((TPMA_CC) 0x00800000) /* SET 1 This command could flush any num…
755 #define TPMA_CC_FLUSHED ((TPMA_CC) 0x01000000) /* SET 1 The context associated with any …
756 #define TPMA_CC_CHANDLES_MASK ((TPMA_CC) 0x0E000000) /* indicates the number of the handles in…
758 #define TPMA_CC_RHANDLE ((TPMA_CC) 0x10000000) /* SET 1 indicates the presence of the ha…
759 #define TPMA_CC_V ((TPMA_CC) 0x20000000) /* SET 1 indicates that the command is ve…
760 #define TPMA_CC_RES_MASK ((TPMA_CC) 0xC0000000) /* allocated for software shall be zero */
[all …]
Dtss2_mu.h193 TPMA_CC src,
203 TPMA_CC *dest);
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h1071 #define UINT32_TO_TPMA_CC(a) (*((TPMA_CC *)&(a)))
1077 typedef struct TPMA_CC { // Table 2:37 struct
1087 } TPMA_CC; /* Bits */ argument
1096 typedef UINT32 TPMA_CC; typedef
1099 #define TPMA_CC_commandIndex ((TPMA_CC)0xffff << 0)
1100 #define TPMA_CC_nv ((TPMA_CC)1 << 22)
1101 #define TPMA_CC_extensive ((TPMA_CC)1 << 23)
1102 #define TPMA_CC_flushed ((TPMA_CC)1 << 24)
1104 #define TPMA_CC_cHandles ((TPMA_CC)0x7 << 25)
1105 #define TPMA_CC_rHandle ((TPMA_CC)1 << 28)
[all …]
DGlobal.h1407 extern const TPMA_CC s_ccAttr[];
DCommandAttributeData.h55 const TPMA_CC s_ccAttr [] = {
/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_serialize.h71 ifapi_json_TPMA_CC_serialize(const TPMA_CC in, json_object **jso);
Dtpm_json_serialize.c924 ifapi_json_TPMA_CC_serialize(const TPMA_CC in, json_object **jso) in ifapi_json_TPMA_CC_serialize()
926 static const struct { TPMA_CC in; char *name; } tab[] = { in ifapi_json_TPMA_CC_serialize()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DMarshal_fp.h542 TPMA_CC_Marshal(TPMA_CC *source, BYTE **buffer, INT32 *size);
2375 TPMA_CC_Array_Marshal(TPMA_CC *source, BYTE **buffer, INT32 *size, INT32 count);
/external/tpm2-tss/doc/
Ddoxygen.dox2612 \fn TSS2_RC ifapi_json_TPMA_CC_serialize(const TPMA_CC in, json_object **jso)