Home
last modified time | relevance | path

Searched refs:inPublic (Results 1 – 12 of 12) sorted by relevance

/external/tpm2/
DLoadExternal.c48 if(in->inPublic.t.publicArea.authPolicy.t.size != 0 in TPM2_LoadExternal()
49 && in->inPublic.t.publicArea.authPolicy.t.size != in TPM2_LoadExternal()
50 CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_LoadExternal()
62 if( in->inPublic.t.publicArea.objectAttributes.fixedTPM != CLEAR in TPM2_LoadExternal()
63 || in->inPublic.t.publicArea.objectAttributes.fixedParent != CLEAR in TPM2_LoadExternal()
64 || in->inPublic.t.publicArea.objectAttributes.restricted != CLEAR in TPM2_LoadExternal()
70 result = SchemeChecks(TRUE, TPM_RH_NULL, &in->inPublic.t.publicArea); in TPM2_LoadExternal()
76 ObjectComputeName(&in->inPublic.t.publicArea, &out->name); in TPM2_LoadExternal()
77 skipChecks = (in->inPublic.t.publicArea.nameAlg == TPM_ALG_NULL); in TPM2_LoadExternal()
87 result = ObjectLoad(in->hierarchy, &in->inPublic.t.publicArea, in TPM2_LoadExternal()
DCreatePrimary.c48 if( (in->inPublic.t.publicArea.objectAttributes.sensitiveDataOrigin == SET) in TPM2_CreatePrimary()
57 &in->inPublic.t.publicArea); in TPM2_CreatePrimary()
63 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_CreatePrimary()
74 result = CryptCreateObject(in->primaryHandle, &in->inPublic.t.publicArea, in TPM2_CreatePrimary()
80 FillInCreationData(in->primaryHandle, in->inPublic.t.publicArea.nameAlg, in TPM2_CreatePrimary()
85 out->outPublic = in->inPublic; in TPM2_CreatePrimary()
96 result = ObjectLoad(in->primaryHandle, &in->inPublic.t.publicArea, &sensitive, in TPM2_CreatePrimary()
DCreate.c72 if( (in->inPublic.t.publicArea.objectAttributes.sensitiveDataOrigin == SET) in TPM2_Create()
81 &in->inPublic.t.publicArea); in TPM2_Create()
87 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_Create()
93 result = CryptCreateObject(in->parentHandle, &in->inPublic.t.publicArea, in TPM2_Create()
99 FillInCreationData(in->parentHandle, in->inPublic.t.publicArea.nameAlg, in TPM2_Create()
104 out->outPublic.t.publicArea = in->inPublic.t.publicArea; in TPM2_Create()
DLoad.c63 if(in->inPublic.t.publicArea.objectAttributes.fixedTPM == SET) in TPM2_Load()
71 &in->inPublic.t.publicArea); in TPM2_Load()
77 ObjectComputeName(&in->inPublic.t.publicArea, &out->name); in TPM2_Load()
83 in->inPublic.t.publicArea.nameAlg, in TPM2_Load()
96 result = ObjectLoad(hierarchy, &in->inPublic.t.publicArea, &sensitive, in TPM2_Load()
DLoad_fp.h15 TPM2B_PUBLIC inPublic; member
DLoadExternal_fp.h14 TPM2B_PUBLIC inPublic; member
DCreatePrimary_fp.h15 TPM2B_PUBLIC inPublic; member
DCreate_fp.h15 TPM2B_PUBLIC inPublic; member
DMarshal_LoadExternal.c49 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); in LoadExternal_In_Unmarshal()
DMarshal_Load.c51 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); in Load_In_Unmarshal()
DMarshal_Create.c54 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); in Create_In_Unmarshal()
DMarshal_CreatePrimary.c56 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); in CreatePrimary_In_Unmarshal()