Home
last modified time | relevance | path

Searched refs:cpHashA (Results 1 – 25 of 33) sorted by relevance

12

/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PolicyCpHash.c18 const TPM2B_DIGEST *cpHashA) in Tss2_Sys_PolicyCpHash_Prepare() argument
36 if (!cpHashA) { in Tss2_Sys_PolicyCpHash_Prepare()
43 rval = Tss2_MU_TPM2B_DIGEST_Marshal(cpHashA, ctx->cmdBuffer, in Tss2_Sys_PolicyCpHash_Prepare()
73 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicyCpHash() argument
79 rval = Tss2_Sys_PolicyCpHash_Prepare(sysContext, policySession, cpHashA); in Tss2_Sys_PolicyCpHash()
DTss2_Sys_PolicyTicket.c19 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicyTicket_Prepare() argument
56 if (!cpHashA) { in Tss2_Sys_PolicyTicket_Prepare()
63 rval = Tss2_MU_TPM2B_DIGEST_Marshal(cpHashA, ctx->cmdBuffer, in Tss2_Sys_PolicyTicket_Prepare()
130 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicyTicket() argument
143 cpHashA, policyRef, authName, ticket); in Tss2_Sys_PolicyTicket()
DTss2_Sys_PolicySecret.c20 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicySecret_Prepare() argument
62 if (!cpHashA) in Tss2_Sys_PolicySecret_Prepare()
67 rval = Tss2_MU_TPM2B_DIGEST_Marshal(cpHashA, ctx->cmdBuffer, in Tss2_Sys_PolicySecret_Prepare()
129 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicySecret() argument
140 nonceTPM, cpHashA, policyRef, expiration); in Tss2_Sys_PolicySecret()
DTss2_Sys_PolicySigned.c20 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicySigned_Prepare() argument
63 if (!cpHashA) { in Tss2_Sys_PolicySigned_Prepare()
70 rval = Tss2_MU_TPM2B_DIGEST_Marshal(cpHashA, ctx->cmdBuffer, in Tss2_Sys_PolicySigned_Prepare()
144 const TPM2B_DIGEST *cpHashA, in Tss2_Sys_PolicySigned() argument
158 …rval = Tss2_Sys_PolicySigned_Prepare(sysContext, authObject, policySession, nonceTPM, cpHashA, pol… in Tss2_Sys_PolicySigned()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyCpHash.c66 if(in->cpHashA.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash()
73 || !MemoryEqual2B(&in->cpHashA.b, &session->u1.cpHash.b))) in TPM2_PolicyCpHash()
91 CryptDigestUpdate2B(&hashState, &in->cpHashA.b); in TPM2_PolicyCpHash()
97 session->u1.cpHash = in->cpHashA; in TPM2_PolicyCpHash()
DPolicySigned.c76 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySigned()
117 CryptDigestUpdate2B(&hashState, &in->cpHashA.b); in TPM2_PolicySigned()
137 &in->cpHashA, authTimeout, session); in TPM2_PolicySigned()
151 authTimeout, expiresOnReset, &in->cpHashA, &in->policyRef, in TPM2_PolicySigned()
DPolicy_spt.c51 TPM2B_DIGEST *cpHashA, in PolicyParameterChecks() argument
79 if(cpHashA != NULL && cpHashA->t.size != 0) in PolicyParameterChecks()
82 if(cpHashA->t.size != session->u2.policyDigest.t.size) in PolicyParameterChecks()
88 && !MemoryEqual2B(&cpHashA->b, &session->u1.cpHash.b)) in PolicyParameterChecks()
DPolicyTicket.c92 &in->cpHashA, in TPM2_PolicyTicket()
102 authTimeout, expiresOnReset, &in->cpHashA, &in->policyRef, in TPM2_PolicyTicket()
123 &in->cpHashA, authTimeout, session); in TPM2_PolicyTicket()
DPolicySecret.c74 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySecret()
86 &in->cpHashA, authTimeout, session); in TPM2_PolicySecret()
100 authTimeout, expiresOnReset, &in->cpHashA, &in->policyRef, in TPM2_PolicySecret()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PolicyTicket.c76 const TPM2B_DIGEST *cpHashA, in Esys_PolicyTicket() argument
84 shandle3, timeout, cpHashA, policyRef, authName, in Esys_PolicyTicket()
161 const TPM2B_DIGEST *cpHashA, in Esys_PolicyTicket_Async() argument
170 esysContext, policySession, timeout, cpHashA, policyRef, in Esys_PolicyTicket_Async()
197 cpHashA, policyRef, authName, ticket); in Esys_PolicyTicket_Async()
DEsys_PolicyCpHash.c71 const TPM2B_DIGEST *cpHashA) in Esys_PolicyCpHash() argument
76 shandle3, cpHashA); in Esys_PolicyCpHash()
147 const TPM2B_DIGEST *cpHashA) in Esys_PolicyCpHash_Async() argument
151 esysContext, policySession, cpHashA); in Esys_PolicyCpHash_Async()
177 cpHashA); in Esys_PolicyCpHash_Async()
DEsys_PolicySigned.c82 const TPM2B_DIGEST *cpHashA, in Esys_PolicySigned() argument
92 shandle2, shandle3, nonceTPM, cpHashA, policyRef, in Esys_PolicySigned()
168 const TPM2B_DIGEST *cpHashA, in Esys_PolicySigned_Async() argument
177 esysContext, authObject, policySession, nonceTPM, cpHashA, in Esys_PolicySigned_Async()
209 nonceTPM, cpHashA, policyRef, expiration, in Esys_PolicySigned_Async()
DEsys_PolicySecret.c81 const TPM2B_DIGEST *cpHashA, in Esys_PolicySecret() argument
90 shandle2, shandle3, nonceTPM, cpHashA, policyRef, in Esys_PolicySecret()
165 const TPM2B_DIGEST *cpHashA, in Esys_PolicySecret_Async() argument
173 esysContext, authHandle, policySession, nonceTPM, cpHashA, in Esys_PolicySecret_Async()
205 nonceTPM, cpHashA, policyRef, expiration); in Esys_PolicySecret_Async()
/external/tpm2-tss/test/integration/
Desys-policy-ticket.int.c195 TPM2B_DIGEST cpHashA = {0}; in test_esys_policy_ticket() local
269 &cpHashA, in test_esys_policy_ticket()
296 &cpHashA, in test_esys_policy_ticket()
347 &cpHashA, in test_esys_policy_ticket()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_types.h37 …TPM2B_DIGEST cpHashA; /**< This value will be automatically gene… member
54 TPM2B_DIGEST cpHashA; /**< None */ member
Difapi_policy_execute.c402 + policy->cpHashA.size + policy->policyRef.size; in execute_policy_signed()
416 memcpy(&current_policy->buffer[offset], &policy->cpHashA.buffer[0], in execute_policy_signed()
417 policy->cpHashA.size); in execute_policy_signed()
418 offset += policy->cpHashA.size; in execute_policy_signed()
478 &policy->cpHashA, in execute_policy_signed()
819 &policy->cpHashA, &policy->policyRef, in execute_policy_secret()
Difapi_policy_json_deserialize.c178 memset(&out->cpHashA, 0, sizeof(TPM2B_DIGEST)); in ifapi_json_TPMS_POLICYSIGNED_deserialize()
180 r = ifapi_json_TPM2B_DIGEST_deserialize(jso2, &out->cpHashA); in ifapi_json_TPMS_POLICYSIGNED_deserialize()
262 memset(&out->cpHashA, 0, sizeof(TPM2B_DIGEST)); in ifapi_json_TPMS_POLICYSECRET_deserialize()
264 r = ifapi_json_TPM2B_DIGEST_deserialize(jso2, &out->cpHashA); in ifapi_json_TPMS_POLICYSECRET_deserialize()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DTicket.c143 TPM2B_DIGEST *cpHashA, // IN: input cpHashA in TicketComputeAuth() argument
165 CryptDigestUpdate2B(&hmacState.hashState, &cpHashA->b); in TicketComputeAuth()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DPolicyCpHash_fp.h48 TPM2B_DIGEST cpHashA; member
DPolicyTicket_fp.h49 TPM2B_DIGEST cpHashA; member
DPolicySecret_fp.h50 TPM2B_DIGEST cpHashA; member
DPolicySigned_fp.h50 TPM2B_DIGEST cpHashA; member
DTicket_fp.h75 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
DPolicy_spt_fp.h52 TPM2B_DIGEST *cpHashA,
/external/tpm2-tss/include/tss2/
Dtss2_sys.h1166 const TPM2B_DIGEST *cpHashA,
1182 const TPM2B_DIGEST *cpHashA,
1195 const TPM2B_DIGEST *cpHashA,
1210 const TPM2B_DIGEST *cpHashA,
1221 const TPM2B_DIGEST *cpHashA,
1234 const TPM2B_DIGEST *cpHashA,
1360 const TPM2B_DIGEST *cpHashA);
1369 const TPM2B_DIGEST *cpHashA,

12