Home
last modified time | relevance | path

Searched refs:TPM2B_DIGEST (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/tpm2-tss/test/integration/
Desys-policy-regression.int.c30 TPM2B_DIGEST * expected_digest, in cmp_policy_digest()
35 TPM2B_DIGEST *policyDigest; in cmp_policy_digest()
137 TPM2B_DIGEST pcr_digest_zero = { in test_esys_policy_regression()
150 TPM2B_DIGEST expectedPolicyPCR = { in test_esys_policy_regression()
221 TPM2B_DIGEST expectedPolicyNV = { in test_esys_policy_regression()
256 TPM2B_DIGEST expectedPolicyOR = { in test_esys_policy_regression()
292 TPM2B_DIGEST expectedPolicyCounterTimer = { in test_esys_policy_regression()
311 TPM2B_DIGEST expectedPolicyRestart = { in test_esys_policy_regression()
331 TPM2B_DIGEST nameHash = { in test_esys_policy_regression()
343 TPM2B_DIGEST expectedPolicyNameHash = { in test_esys_policy_regression()
[all …]
Dsapi-get-random.int.c34 TPM2B_DIGEST randomBytes1 = {sizeof (TPM2B_DIGEST) - 2,}; in test_invoke()
35 TPM2B_DIGEST randomBytes2 = {sizeof (TPM2B_DIGEST) - 2,}; in test_invoke()
Dsapi-session-util.c112 TPM2B_DIGEST *buffer_list[7]; in compute_session_auth()
113 TPM2B_DIGEST pHash = TPM2B_DIGEST_INIT; in compute_session_auth()
136 buffer_list[i++] = (TPM2B_DIGEST *)&pHash; in compute_session_auth()
137 buffer_list[i++] = (TPM2B_DIGEST *)&session->nonceNewer; in compute_session_auth()
138 buffer_list[i++] = (TPM2B_DIGEST *)&session->nonceOlder; in compute_session_auth()
139 buffer_list[i++] = (TPM2B_DIGEST *)&session->nonceTpmDecrypt; in compute_session_auth()
140 buffer_list[i++] = (TPM2B_DIGEST *)&session->nonceTpmEncrypt; in compute_session_auth()
141 buffer_list[i++] = (TPM2B_DIGEST *)&sessionAttributesByteBuffer; in compute_session_auth()
152 (TPM2B_DIGEST *)&pSessionDataIn->hmac); in compute_session_auth()
347 TPM2B_DIGEST *pHash) in tpm_calc_phash()
[all …]
Dsapi-util.h36 #define TPM2B_DIGEST_INIT TPM2B_NAMED_INIT (TPM2B_DIGEST, buffer)
171 TPM2B_DIGEST *out);
183 TPM2B_DIGEST **buffer_list,
184 TPM2B_DIGEST *out);
217 const TPM2B_DIGEST *authPolicy,
Desys-policy-template-opt.int.c32 TPM2B_DIGEST * expected_digest, in cmp_policy_digest()
37 TPM2B_DIGEST *policyDigest; in cmp_policy_digest()
112 TPM2B_DIGEST templateHash = { in test_esys_policy_template_opt()
131 TPM2B_DIGEST expectedPolicyTemplate = { in test_esys_policy_template_opt()
Desys-policy-physical-presence-opt.int.c32 TPM2B_DIGEST * expected_digest, in cmp_policy_digest()
37 TPM2B_DIGEST *policyDigest; in cmp_policy_digest()
124 TPM2B_DIGEST expectedPolicyPhysicalPresence = { in test_esys_policy_physical_presence_opt()
Dsession-util.h26 TPM2B_DIGEST sessionKey;
27 TPM2B_DIGEST authValueBind;
56 TPM2B_DIGEST *result);
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_types.h37TPM2B_DIGEST cpHashA; /**< This value will be automatically gene…
54 TPM2B_DIGEST cpHashA; /**< None */
101 TPM2B_DIGEST cpHash; /**< None */
111TPM2B_DIGEST nameHash; /**< computed during policy calculation …
138 TPM2B_DIGEST approvedPolicy; /**< None */
170 TPM2B_DIGEST templateHash; /**< None */
180 TPM2B_DIGEST policy; /**< Policy Digest */
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DGlobal.h355 TPM2B_DIGEST cpHash; // the required cpHash value for the
357 TPM2B_DIGEST nameHash; // the required nameHash
358 TPM2B_DIGEST templateHash; // the required template for creation
363 TPM2B_DIGEST auditDigest; // audit session digest
364 TPM2B_DIGEST policyDigest; // policyHash
405 TPM2B_DIGEST a;
406 TPM2B_DIGEST policy[NUM_POLICY_PCR_GROUP];
415 TPM2B_DIGEST auth[NUM_AUTHVALUE_PCR_GROUP];
704 TPM2B_DIGEST ownerPolicy;
705 TPM2B_DIGEST endorsementPolicy;
[all …]
DTpmTypes.h1346 } TPM2B_DIGEST; /* Structure */ typedef
1357 typedef TPM2B_DIGEST TPM2B_NONCE;
1360 typedef TPM2B_DIGEST TPM2B_AUTH;
1363 typedef TPM2B_DIGEST TPM2B_OPERAND;
1432 TPM2B_DIGEST digest;
1438 TPM2B_DIGEST digest;
1444 TPM2B_DIGEST digest;
1450 TPM2B_DIGEST digest;
1502 TPM2B_DIGEST digests[8];
1590 TPM2B_DIGEST pcrDigest;
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DTicket_fp.h61 TPM2B_DIGEST *digest, // IN: digest
75 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
87 TPM2B_DIGEST *digest, // IN: input digest
97 TPM2B_DIGEST *creation, // IN: creation hash
DCryptEccSignature_fp.h55 const TPM2B_DIGEST *digest, // IN: the digest to sign
76 const TPM2B_DIGEST *digest, // IN: digest to sign
94 const TPM2B_DIGEST *digest // IN: the digest that was signed
107 const TPM2B_DIGEST *digest // IN: digest that was signed
DPCR_fp.h105 TPM2B_DIGEST *policy // OUT: policy of PCR
137 const TPM2B_DIGEST *digest // IN: the digest to modify the PCR
227 TPM2B_DIGEST *digest // OUT: digest
DObject_spt_fp.h134 TPM2B_DIGEST *creationDigest // OUT: creation digest
321 TPM2B_DIGEST *secret, // IN: secret information
348 TPM2B_DIGEST *secret // OUT: secret information
DCryptEccCrypt_fp.h74 TPM2B_DIGEST *c3 // OUT: digest of ephemeral key
93 TPM2B_DIGEST *c3 // IN: digest of ephemeral key
DCryptUtil_fp.h229 TPM2B_DIGEST *unique // OUT: unique buffer
355 TPM2B_DIGEST *digest, // IN: The digest being signed
376 TPM2B_DIGEST *digest, // IN: The digest being validated
DPolicy_spt_fp.h52 TPM2B_DIGEST *cpHashA,
70 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
/external/tpm2-tss/include/tss2/
Dtss2_sys.h234 TPM2B_DIGEST *creationHash,
248 TPM2B_DIGEST *creationHash,
326 TPM2B_DIGEST *certInfo);
335 TPM2B_DIGEST *certInfo,
341 const TPM2B_DIGEST *credential,
353 const TPM2B_DIGEST *credential,
642 TPM2B_DIGEST *outHash,
651 TPM2B_DIGEST *outHash,
663 TPM2B_DIGEST *outHMAC);
671 TPM2B_DIGEST *outHMAC,
[all …]
Dtss2_esys.h362 TPM2B_DIGEST **creationHash,
383 TPM2B_DIGEST **creationHash,
482 TPM2B_DIGEST **certInfo);
498 TPM2B_DIGEST **certInfo);
509 const TPM2B_DIGEST *credential,
521 const TPM2B_DIGEST *credential,
965 TPM2B_DIGEST **outHash,
981 TPM2B_DIGEST **outHash,
995 TPM2B_DIGEST **outHMAC);
1010 TPM2B_DIGEST **outHMAC);
[all …]
Dtss2_tpm2_types.h888 } TPM2B_DIGEST; typedef
897 typedef TPM2B_DIGEST TPM2B_NONCE; /* size limited to the same as the digest structure */
900 typedef TPM2B_DIGEST TPM2B_AUTH; /* size limited to the same as the digest structure */
903 typedef TPM2B_DIGEST TPM2B_OPERAND; /* size limited to the same as the digest structure */
924 typedef TPM2B_DIGEST TPM2B_TIMEOUT; /* size limited to the same as the digest structure */
961TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. …
968TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. …
975TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. …
982TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. …
1037TPM2B_DIGEST digests[8]; /* a list of digestsFor TPM2_PolicyOR all digests will have been computed…
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c258 TPM2B_DIGEST policy; in IsPolicySessionRequired()
539 static TPM2B_DIGEST *
545 TPM2B_DIGEST *retVal; in GetCpHashPointer()
551 retVal = (TPM2B_DIGEST *)&command->Hash##CpHash; \ in GetCpHashPointer()
570 static TPM2B_DIGEST *
576 TPM2B_DIGEST *retVal; in GetRpHashPointer()
582 retVal = (TPM2B_DIGEST *)&command->Hash##RpHash; \ in GetRpHashPointer()
602 static TPM2B_DIGEST *
611 TPM2B_DIGEST *cpHash; in ComputeCpHash()
641 static TPM2B_DIGEST *
[all …]
/external/tpm2-tss/test/unit/
DTPMT-marshal.c31 TPM2B_DIGEST *ptr3; in tpmt_marshal_success()
48 ptr3 = (TPM2B_DIGEST *)(buffer + sizeof(tkt.tag) + sizeof(tkt.hierarchy)); in tpmt_marshal_success()
83 TPM2B_DIGEST *ptr3; in tpmt_marshal_success_offset()
101 ptr3 = (TPM2B_DIGEST *)(buffer + 10 + sizeof(tkt.tag) + sizeof(tkt.hierarchy)); in tpmt_marshal_success_offset()
221 TPM2B_DIGEST *ptr3; in tpmt_unmarshal_success()
229 ptr3 = (TPM2B_DIGEST *)(buffer + sizeof(tkt.tag) + sizeof(tkt.hierarchy)); in tpmt_unmarshal_success()
312 TPM2B_DIGEST *ptr3; in tpmt_unmarshal_dest_null_offset_valid()
320 ptr3 = (TPM2B_DIGEST *)(buffer + sizeof(tkt.tag) + sizeof(tkt.hierarchy)); in tpmt_unmarshal_dest_null_offset_valid()
356 TPM2B_DIGEST *ptr3; in tpmt_unmarshal_buffer_size_lt_data_nad_lt_offset()
364 ptr3 = (TPM2B_DIGEST *)(buffer + sizeof(tkt.tag) + sizeof(tkt.hierarchy)); in tpmt_unmarshal_buffer_size_lt_data_nad_lt_offset()
DTPM2B-marshal.c24 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_success()
70 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_success_offset()
123 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_buffer_null_with_offset()
175 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_buffer_null_offset_null()
192 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_buffer_size_lt_data_nad_lt_offset()
220 TPM2B_DIGEST dgst = {0}; in tpm2b_unmarshal_success()
258 TPM2B_DIGEST dgst = {0}; in tpm2b_unmarshal_success_offset()
299 TPM2B_DIGEST dgst = {0}; in tpm2b_unmarshal_buffer_null()
368 TPM2B_DIGEST dgst = {4, {0x00, 0x01, 0x02, 0x03}}; in tpm2b_unmarshal_buffer_size_lt_data_nad_lt_offset()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccSignature.c49 const TPM2B_DIGEST *digest, // IN: digest to adjust in EcdsaDigest()
121 const TPM2B_DIGEST *digest, // IN: the digest to sign in BnSignEcdsa()
214 const TPM2B_DIGEST *digest, // IN: the value to sign (mod 'q') in BnSignEcdaa()
224 TPM2B_DIGEST T; in BnSignEcdaa()
314 const TPM2B_DIGEST *digest, // IN: the digest to sign in BnSignEcSchnorr()
405 const TPM2B_DIGEST *digest, // IN: the digest to sign in BnSignEcSm2()
505 const TPM2B_DIGEST *digest, // IN: digest to sign in CryptEccSign()
584 const TPM2B_DIGEST *digest // IN: the digest that was signed in BnValidateSignatureEcdsa()
644 const TPM2B_DIGEST *digest // IN: the digest that was signed in BnValidateSignatureEcSm2()
713 const TPM2B_DIGEST *digest // IN: the digest that was signed in BnValidateSignatureEcSchnorr()
[all …]
DTicket.c90 TPM2B_DIGEST *digest, // IN: digest in TicketComputeVerified()
143 TPM2B_DIGEST *cpHashA, // IN: input cpHashA in TicketComputeAuth()
204 TPM2B_DIGEST *digest, // IN: input digest in TicketComputeHashCheck()
249 TPM2B_DIGEST *creation, // IN: creation hash in TicketComputeCreation()

12345678910