/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_PolicyCpHash.c | 18 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()
|
D | Tss2_Sys_PolicyTicket.c | 19 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()
|
D | Tss2_Sys_PolicySecret.c | 20 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()
|
D | Tss2_Sys_PolicySigned.c | 20 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/ |
D | PolicyCpHash.c | 66 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()
|
D | PolicySigned.c | 76 &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()
|
D | Policy_spt.c | 51 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()
|
D | PolicyTicket.c | 92 &in->cpHashA, in TPM2_PolicyTicket() 102 authTimeout, expiresOnReset, &in->cpHashA, &in->policyRef, in TPM2_PolicyTicket() 123 &in->cpHashA, authTimeout, session); in TPM2_PolicyTicket()
|
D | PolicySecret.c | 74 &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/ |
D | Esys_PolicyTicket.c | 76 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()
|
D | Esys_PolicyCpHash.c | 71 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()
|
D | Esys_PolicySigned.c | 82 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()
|
D | Esys_PolicySecret.c | 81 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/ |
D | esys-policy-ticket.int.c | 195 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/ |
D | ifapi_policy_types.h | 37 …TPM2B_DIGEST cpHashA; /**< This value will be automatically gene… member 54 TPM2B_DIGEST cpHashA; /**< None */ member
|
D | ifapi_policy_execute.c | 402 + policy->cpHashA.size + policy->policyRef.size; in execute_policy_signed() 416 memcpy(¤t_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()
|
D | ifapi_policy_json_deserialize.c | 178 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/ |
D | Ticket.c | 143 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/ |
D | PolicyCpHash_fp.h | 48 TPM2B_DIGEST cpHashA; member
|
D | PolicyTicket_fp.h | 49 TPM2B_DIGEST cpHashA; member
|
D | PolicySecret_fp.h | 50 TPM2B_DIGEST cpHashA; member
|
D | PolicySigned_fp.h | 50 TPM2B_DIGEST cpHashA; member
|
D | Ticket_fp.h | 75 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
|
D | Policy_spt_fp.h | 52 TPM2B_DIGEST *cpHashA,
|
/external/tpm2-tss/include/tss2/ |
D | tss2_sys.h | 1166 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,
|