Home
last modified time | relevance | path

Searched refs:TPMA_LOCALITY (Results 1 – 25 of 27) sorted by relevance

12

/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DLocality.c43 TPMA_LOCALITY
48 TPMA_LOCALITY locality_attributes; in LocalityGetAttributes()
51 MemorySet(&locality_attributes, 0, sizeof(TPMA_LOCALITY)); in LocalityGetAttributes()
55 SET_ATTRIBUTE(locality_attributes, TPMA_LOCALITY, TPM_LOC_ZERO); in LocalityGetAttributes()
58 SET_ATTRIBUTE(locality_attributes, TPMA_LOCALITY, TPM_LOC_ONE); in LocalityGetAttributes()
61 SET_ATTRIBUTE(locality_attributes, TPMA_LOCALITY, TPM_LOC_TWO); in LocalityGetAttributes()
64 SET_ATTRIBUTE(locality_attributes, TPMA_LOCALITY, TPM_LOC_THREE); in LocalityGetAttributes()
67 SET_ATTRIBUTE(locality_attributes, TPMA_LOCALITY, TPM_LOC_FOUR); in LocalityGetAttributes()
DMarshal.c684 TPMA_LOCALITY_Unmarshal(TPMA_LOCALITY *target, BYTE **buffer, INT32 *size) in TPMA_LOCALITY_Unmarshal()
689 TPMA_LOCALITY_Marshal(TPMA_LOCALITY *source, BYTE **buffer, INT32 *size) in TPMA_LOCALITY_Marshal()
5542 …result = (UINT16)(result + TPMA_LOCALITY_Marshal((TPMA_LOCALITY *)&(source->locality), buffer, siz… in TPMS_CREATION_DATA_Marshal()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyLocality.c51 BYTE marshalBuffer[sizeof(TPMA_LOCALITY)]; in TPM2_PolicyLocality()
52 BYTE prevSetting[sizeof(TPMA_LOCALITY)]; in TPM2_PolicyLocality()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PolicyLocality.c18 TPMA_LOCALITY locality) in Tss2_Sys_PolicyLocality_Prepare()
64 TPMA_LOCALITY locality, in Tss2_Sys_PolicyLocality()
/external/tpm2-tss/src/tss2-mu/
Dtpma-types.c155 TPMA_MARSHAL (TPMA_LOCALITY);
156 TPMA_UNMARSHAL(TPMA_LOCALITY);
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DLocality_fp.h48 TPMA_LOCALITY
DPolicyLocality_fp.h48 TPMA_LOCALITY locality;
DMarshal_fp.h498 TPMA_LOCALITY_Unmarshal(TPMA_LOCALITY *target, BYTE **buffer, INT32 *size);
506 TPMA_LOCALITY_Marshal(TPMA_LOCALITY *source, BYTE **buffer, INT32 *size);
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PolicyLocality.c71 TPMA_LOCALITY locality) in Esys_PolicyLocality()
147 TPMA_LOCALITY locality) in Esys_PolicyLocality_Async()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h707 typedef UINT8 TPMA_LOCALITY; typedef
709 #define TPMA_LOCALITY_TPM2_LOC_ZERO ((TPMA_LOCALITY) 0x00000001)
710 #define TPMA_LOCALITY_TPM2_LOC_ONE ((TPMA_LOCALITY) 0x00000002)
711 #define TPMA_LOCALITY_TPM2_LOC_TWO ((TPMA_LOCALITY) 0x00000004)
712 #define TPMA_LOCALITY_TPM2_LOC_THREE ((TPMA_LOCALITY) 0x00000008)
713 #define TPMA_LOCALITY_TPM2_LOC_FOUR ((TPMA_LOCALITY) 0x00000010)
714 #define TPMA_LOCALITY_EXTENDED_MASK ((TPMA_LOCALITY) 0x000000E0) /* If any of these bits is set …
1751 TPMA_LOCALITY locality; /* the locality at which the object was created */
Dtss2_mu.h207 TPMA_LOCALITY src,
217 TPMA_LOCALITY *dest);
Dtss2_sys.h1275 TPMA_LOCALITY locality);
1284 TPMA_LOCALITY locality,
Dtss2_esys.h1889 TPMA_LOCALITY locality);
1898 TPMA_LOCALITY locality);
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h909 #define UINT8_TO_TPMA_LOCALITY(a) (*((TPMA_LOCALITY *)&(a)))
915 typedef struct TPMA_LOCALITY { // Table 2:33 struct
922 } TPMA_LOCALITY; /* Bits */ typedef
931 typedef UINT8 TPMA_LOCALITY; typedef
933 #define TPMA_LOCALITY_TPM_LOC_ZERO ((TPMA_LOCALITY)1 << 0)
934 #define TPMA_LOCALITY_TPM_LOC_ONE ((TPMA_LOCALITY)1 << 1)
935 #define TPMA_LOCALITY_TPM_LOC_TWO ((TPMA_LOCALITY)1 << 2)
936 #define TPMA_LOCALITY_TPM_LOC_THREE ((TPMA_LOCALITY)1 << 3)
937 #define TPMA_LOCALITY_TPM_LOC_FOUR ((TPMA_LOCALITY)1 << 4)
939 #define TPMA_LOCALITY_Extended ((TPMA_LOCALITY)0x7 << 5)
[all …]
DGlobal.h344 TPMA_LOCALITY commandLocality; // command locality (policy session)
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_types.h64 TPMA_LOCALITY locality; /**< None */
Dtpm_json_deserialize.c1077 ifapi_json_TPMA_LOCALITY_deserialize(json_object *jso, TPMA_LOCALITY *out) in ifapi_json_TPMA_LOCALITY_deserialize()
1079 struct { TPMA_LOCALITY in; char *name; } tab[] = { in ifapi_json_TPMA_LOCALITY_deserialize()
1093 memset(out, 0, sizeof(TPMA_LOCALITY)); in ifapi_json_TPMA_LOCALITY_deserialize()
1132 *out |= (TPMA_LOCALITY)(i64<<5); in ifapi_json_TPMA_LOCALITY_deserialize()
1157 *out = (TPMA_LOCALITY) i64; in ifapi_json_TPMA_LOCALITY_deserialize()
Dtpm_json_deserialize.h67 ifapi_json_TPMA_LOCALITY_deserialize(json_object *jso, TPMA_LOCALITY *out);
Dtpm_json_serialize.h68 ifapi_json_TPMA_LOCALITY_serialize(const TPMA_LOCALITY in, json_object **jso);
Dtpm_json_serialize.c877 ifapi_json_TPMA_LOCALITY_serialize(const TPMA_LOCALITY in, json_object **jso) in ifapi_json_TPMA_LOCALITY_serialize()
879 static const struct { TPMA_LOCALITY in; char *name; } tab[] = { in ifapi_json_TPMA_LOCALITY_serialize()
/external/tpm2-tss/test/integration/
Dsapi-nv-policy-locality.int.c50 TPMA_LOCALITY locality = TPMA_LOCALITY_TPM2_LOC_THREE | in create_policy_session()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c1038 BYTE sessionLocality[sizeof(TPMA_LOCALITY)]; in CheckPolicyAuthSession()
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c920 TPMA_LOCALITY locality; in CreateNVIndex()
/external/tpm2-tss/doc/
Ddoxygen.dox689 …YS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMA_LOCALITY locality)
690 …YS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMA_LOCALITY locality)
2613 \fn TSS2_RC ifapi_json_TPMA_LOCALITY_serialize(const TPMA_LOCALITY in, json_object **jso)
2863 \fn TSS2_RC ifapi_json_TPMA_LOCALITY_deserialize(json_object *jso, TPMA_LOCALITY *out)
/external/tpm2-tss/test/unit/
Desys-tpm-rcs.c1605 TPMA_LOCALITY locality = TPMA_LOCALITY_TPM2_LOC_ZERO; in test_PolicyLocality()

12