Home
last modified time | relevance | path

Searched refs:authPolicy (Results 1 – 15 of 15) sorted by relevance

/external/tpm2/
DEntity.c249 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity in EntityGetAuthPolicy() argument
261 *authPolicy = gp.ownerPolicy; in EntityGetAuthPolicy()
266 *authPolicy = gp.endorsementPolicy; in EntityGetAuthPolicy()
271 *authPolicy = gc.platformPolicy; in EntityGetAuthPolicy()
276 *authPolicy = gp.lockoutPolicy; in EntityGetAuthPolicy()
290 *authPolicy = object->publicArea.authPolicy; in EntityGetAuthPolicy()
299 *authPolicy = nvIndex.publicArea.authPolicy; in EntityGetAuthPolicy()
305 hashAlg = PCRGetAuthPolicy(handle, authPolicy); in EntityGetAuthPolicy()
DSetPrimaryPolicy.c27 if(in->authPolicy.t.size != CryptGetHashDigestSize(in->hashAlg)) in TPM2_SetPrimaryPolicy()
45 gp.ownerPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy()
51 gp.endorsementPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy()
57 gc.platformPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy()
63 gp.lockoutPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy()
DPCR_SetAuthPolicy.c35 if(in->authPolicy.t.size != CryptGetHashDigestSize(in->hashAlg)) in TPM2_PCR_SetAuthPolicy()
46 gp.pcrPolicies.policy[groupIndex] = in->authPolicy; in TPM2_PCR_SetAuthPolicy()
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()
DNV_DefineSpace.c57 if( in->publicInfo.t.nvPublic.authPolicy.t.size != 0 in TPM2_NV_DefineSpace()
58 && in->publicInfo.t.nvPublic.authPolicy.t.size != nameSize) in TPM2_NV_DefineSpace()
DEntity_fp.h12 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity
DSetPrimaryPolicy_fp.h14 TPM2B_DIGEST authPolicy; member
DPCR_SetAuthPolicy_fp.h14 TPM2B_DIGEST authPolicy; member
DMarshal_SetPrimaryPolicy.c18 result = TPM2B_DIGEST_Unmarshal(&target->authPolicy, buffer, size); in SetPrimaryPolicy_In_Unmarshal()
DMarshal_PCR_SetAuthPolicy.c19 result = TPM2B_DIGEST_Unmarshal(&target->authPolicy, buffer, size); in PCR_SetAuthPolicy_In_Unmarshal()
DSessionProcess.c421 if(nvIndex.publicArea.authPolicy.t.size != 0) in IsAuthPolicyAvailable()
736 TPM2B_DIGEST authPolicy; in CheckPolicyAuthSession() local
752 &authPolicy); in CheckPolicyAuthSession()
754 if(!Memory2BEqual(&session->u2.policyDigest.b, &authPolicy.b)) in CheckPolicyAuthSession()
DObject_spt.c539 if( publicArea->authPolicy.t.size != 0 in PublicAttributesValidation()
540 && ( publicArea->authPolicy.t.size in PublicAttributesValidation()
Dtpm_types.h1463 TPM2B_DIGEST authPolicy; member
1592 TPM2B_DIGEST authPolicy; member
DObject.c420 pAssert(&((*object)->auth) == &objectHash->publicArea.authPolicy); in AllocateSequenceSlot()
Dtpm_generated.c1492 total_size += TPM2B_DIGEST_Marshal(&source->authPolicy, buffer, size); in TPMS_NV_PUBLIC_Marshal()
1513 result = TPM2B_DIGEST_Unmarshal(&target->authPolicy, buffer, size); in TPMS_NV_PUBLIC_Unmarshal()
3294 total_size += TPM2B_DIGEST_Marshal(&source->authPolicy, buffer, size); in TPMT_PUBLIC_Marshal()
3316 result = TPM2B_DIGEST_Unmarshal(&target->authPolicy, buffer, size); in TPMT_PUBLIC_Unmarshal()