Home | History | Annotate | Download | only in tpm2

Lines Matching refs:in

37    CreatePrimary_In    *in,                  // IN: input parameter list
47 // the size of the data object in inSensitive.
48 if( (in->inPublic.t.publicArea.objectAttributes.sensitiveDataOrigin == SET)
49 != (in->inSensitive.t.sensitive.data.t.size == 0 ))
53 // Check attributes in input public area. TPM_RC_ATTRIBUTES, TPM_RC_KDF,
56 result = PublicAttributesValidation(FALSE, in->primaryHandle,
57 &in->inPublic.t.publicArea);
62 if( MemoryRemoveTrailingZeros(&in->inSensitive.t.sensitive.userAuth)
63 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg))
72 // before anything in the template is allowed to be changed.
74 result = CryptCreateObject(in->primaryHandle, &in->inPublic.t.publicArea,
75 &in->inSensitive.t.sensitive,&sensitive);
79 // Fill in creation data
80 FillInCreationData(in->primaryHandle, in->inPublic.t.publicArea.nameAlg,
81 &in->creationPCR, &in->outsideInfo, &out->creationData,
85 out->outPublic = in->inPublic;
87 // Fill in private area for output
91 TicketComputeCreation(EntityGetHierarchy(in->primaryHandle), &out->name,
96 result = ObjectLoad(in->primaryHandle, &in->inPublic.t.publicArea, &sensitive,
97 &out->name, in->primaryHandle, TRUE, &out->objectHandle);