/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Hierarchy/ |
D | SetPrimaryPolicy.c | 55 if(in->authPolicy.t.size != CryptHashGetDigestSize(in->hashAlg)) in TPM2_SetPrimaryPolicy() 71 gp.ownerPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 77 gp.endorsementPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 83 gc.platformPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 89 gp.lockoutPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 97 go.ACT_##N.authPolicy = in->authPolicy; \ in TPM2_SetPrimaryPolicy()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | Entity.c | 314 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity in EntityGetAuthPolicy() argument 318 authPolicy->t.size = 0; in EntityGetAuthPolicy() 327 *authPolicy = gp.ownerPolicy; in EntityGetAuthPolicy() 332 *authPolicy = gp.endorsementPolicy; in EntityGetAuthPolicy() 337 *authPolicy = gc.platformPolicy; in EntityGetAuthPolicy() 342 *authPolicy = gp.lockoutPolicy; in EntityGetAuthPolicy() 347 *authPolicy = go.ACT_##N.authPolicy; \ in EntityGetAuthPolicy() 361 *authPolicy = object->publicArea.authPolicy; in EntityGetAuthPolicy() 370 *authPolicy = nvIndex->publicArea.authPolicy; in EntityGetAuthPolicy() 376 hashAlg = PCRGetAuthPolicy(handle, authPolicy); in EntityGetAuthPolicy()
|
/external/tpm2-tss/test/integration/ |
D | sapi-hmac-auth.int.c | 34 TPM2B_DIGEST *authPolicy) in create_policy() argument 77 authPolicy, in create_policy() 98 const TPM2B_DIGEST *authPolicy, in nv_rw_with_session() argument 153 authPolicy, in nv_rw_with_session() 411 TPM2B_DIGEST authPolicy = { 0, }; in test_invoke() local 416 rc = nv_rw_with_session (sys_ctx, &authPolicy, nvAttributes, TPM2_SE_HMAC); in test_invoke() 421 authPolicy.size = TPM2B_SIZE (authPolicy); in test_invoke() 422 rc = create_policy (sys_ctx, &authPolicy); in test_invoke() 426 rc = nv_rw_with_session (sys_ctx, &authPolicy, nvAttributes, TPM2_SE_POLICY); in test_invoke()
|
D | esys-pcr-auth-value.int.c | 73 TPM2B_DIGEST authPolicy = { in test_esys_pcr_auth_value() local 85 &authPolicy, in test_esys_pcr_auth_value()
|
D | esys-create-fail.int.c | 88 .authPolicy = { in test_esys_create_fail() 126 .authPolicy = { in test_esys_create_fail() 237 .authPolicy = { in test_esys_create_fail()
|
D | esys-create-policy-auth.int.c | 107 .authPolicy = *trialDigest, in test_esys_create_policy_auth() 143 .authPolicy = *trialDigest, in test_esys_create_policy_auth() 221 .authPolicy = { in test_esys_create_policy_auth()
|
D | esys-create-password-auth.int.c | 93 .authPolicy = { in test_esys_create_password_auth() 131 .authPolicy = { in test_esys_create_password_auth() 237 .authPolicy = { in test_esys_create_password_auth()
|
D | esys-save-and-load-context.int.c | 98 .authPolicy = { in test_esys_save_and_load_context() 136 .authPolicy = { in test_esys_save_and_load_context() 242 .authPolicy = { in test_esys_save_and_load_context()
|
D | sapi-policy-authorizeNV.int.c | 90 nv_public.nvPublic.authPolicy.size = 0; in test_invoke() 162 memcpy(in_public.authPolicy.buffer, auth, TPM2_SHA256_DIGEST_SIZE); in test_invoke() 174 in_public.authPolicy.size = TPM2_SHA256_DIGEST_SIZE; in test_invoke()
|
D | esys-create-primary-hmac.int.c | 84 .authPolicy = { in test_esys_create_primary_hmac() 126 .authPolicy = { in test_esys_create_primary_hmac()
|
D | esys-policy-regression.int.c | 176 .authPolicy = { in test_esys_policy_regression() 440 TPM2B_DIGEST authPolicy = { in test_esys_policy_regression() local 450 &authPolicy, in test_esys_policy_regression()
|
D | esys-nv-certify.int.c | 89 .authPolicy = { in test_esys_nv_certify() 158 .authPolicy = { in test_esys_nv_certify()
|
D | sapi-nv-policy-locality.int.c | 97 .authPolicy = { .size = GetDigestSize (TPM2_ALG_SHA1), }, in setup_nv() 123 memcpy (public_info.nvPublic.authPolicy.buffer, in setup_nv()
|
D | esys-duplicate.int.c | 162 .authPolicy = { in test_esys_duplicate() 264 .authPolicy = { in test_esys_duplicate() 298 inPublic2.publicArea.authPolicy = *policyDigestTrial; in test_esys_duplicate()
|
D | esys-create-session-auth.int.c | 110 .authPolicy = { in test_esys_create_session_auth() 148 .authPolicy = { in test_esys_create_session_auth() 350 .authPolicy = { in test_esys_create_session_auth()
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_SetPrimaryPolicy.c | 18 const TPM2B_DIGEST *authPolicy, in Tss2_Sys_SetPrimaryPolicy_Prepare() argument 40 if (!authPolicy) { in Tss2_Sys_SetPrimaryPolicy_Prepare() 48 rval = Tss2_MU_TPM2B_DIGEST_Marshal(authPolicy, ctx->cmdBuffer, in Tss2_Sys_SetPrimaryPolicy_Prepare() 84 const TPM2B_DIGEST *authPolicy, in Tss2_Sys_SetPrimaryPolicy() argument 91 rval = Tss2_Sys_SetPrimaryPolicy_Prepare(sysContext, authHandle, authPolicy, hashAlg); in Tss2_Sys_SetPrimaryPolicy()
|
D | Tss2_Sys_PCR_SetAuthPolicy.c | 18 const TPM2B_DIGEST *authPolicy, in Tss2_Sys_PCR_SetAuthPolicy_Prepare() argument 41 if (!authPolicy) { in Tss2_Sys_PCR_SetAuthPolicy_Prepare() 49 rval = Tss2_MU_TPM2B_DIGEST_Marshal(authPolicy, ctx->cmdBuffer, in Tss2_Sys_PCR_SetAuthPolicy_Prepare() 91 const TPM2B_DIGEST *authPolicy, in Tss2_Sys_PCR_SetAuthPolicy() argument 99 rval = Tss2_Sys_PCR_SetAuthPolicy_Prepare(sysContext, authHandle, authPolicy, hashAlg, pcrNum); in Tss2_Sys_PCR_SetAuthPolicy()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_PCR_SetAuthPolicy.c | 70 const TPM2B_DIGEST *authPolicy, in Esys_PCR_SetAuthPolicy() argument 77 shandle3, authPolicy, hashAlg, pcrNum); in Esys_PCR_SetAuthPolicy() 147 const TPM2B_DIGEST *authPolicy, in Esys_PCR_SetAuthPolicy_Async() argument 154 esysContext, authHandle, authPolicy, hashAlg, pcrNum); in Esys_PCR_SetAuthPolicy_Async() 181 authPolicy, hashAlg, pcrNum); in Esys_PCR_SetAuthPolicy_Async()
|
D | Esys_SetPrimaryPolicy.c | 71 const TPM2B_DIGEST *authPolicy, in Esys_SetPrimaryPolicy() argument 77 shandle3, authPolicy, hashAlg); in Esys_SetPrimaryPolicy() 148 const TPM2B_DIGEST *authPolicy, in Esys_SetPrimaryPolicy_Async() argument 154 esysContext, authHandle, authPolicy, hashAlg); in Esys_SetPrimaryPolicy_Async() 180 authPolicy, hashAlg); in Esys_SetPrimaryPolicy_Async()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/PCR/ |
D | PCR_SetAuthPolicy.c | 63 if(in->authPolicy.t.size != CryptHashGetDigestSize(in->hashAlg)) in TPM2_PCR_SetAuthPolicy() 74 gp.pcrPolicies.policy[groupIndex] = in->authPolicy; in TPM2_PCR_SetAuthPolicy()
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_CreateNv.c | 278 TPM2B_DIGEST * authPolicy = &(miscNv->public.nvPublic.authPolicy); in Fapi_CreateNv_Finish() local 351 authPolicy->size = in Fapi_CreateNv_Finish() 353 memcpy(&authPolicy->buffer[0], in Fapi_CreateNv_Finish() 357 &authPolicy->buffer[0], in Fapi_CreateNv_Finish()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/ |
D | NV_DefineSpace.c | 80 if(in->publicInfo.nvPublic.authPolicy.t.size != 0 in TPM2_NV_DefineSpace() 81 && in->publicInfo.nvPublic.authPolicy.t.size != nameSize) in TPM2_NV_DefineSpace()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | SetPrimaryPolicy_fp.h | 48 TPM2B_DIGEST authPolicy; member
|
D | Entity_fp.h | 86 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity
|
D | PCR_SetAuthPolicy_fp.h | 48 TPM2B_DIGEST authPolicy; member
|