/external/tpm2-tss/test/integration/ |
D | esys-policy-regression.int.c | 30 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 …]
|
D | sapi-get-random.int.c | 34 TPM2B_DIGEST randomBytes1 = {sizeof (TPM2B_DIGEST) - 2,}; in test_invoke() 35 TPM2B_DIGEST randomBytes2 = {sizeof (TPM2B_DIGEST) - 2,}; in test_invoke()
|
D | sapi-session-util.c | 112 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 …]
|
D | sapi-util.h | 36 #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,
|
D | esys-policy-template-opt.int.c | 32 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()
|
D | esys-policy-physical-presence-opt.int.c | 32 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()
|
D | session-util.h | 26 TPM2B_DIGEST sessionKey; 27 TPM2B_DIGEST authValueBind; 56 TPM2B_DIGEST *result);
|
/external/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy_types.h | 37 …TPM2B_DIGEST cpHashA; /**< This value will be automatically gene… 54 TPM2B_DIGEST cpHashA; /**< None */ 101 TPM2B_DIGEST cpHash; /**< None */ 111 …TPM2B_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/ |
D | Global.h | 355 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 …]
|
D | TpmTypes.h | 1346 } 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/ |
D | Ticket_fp.h | 61 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
|
D | CryptEccSignature_fp.h | 55 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
|
D | PCR_fp.h | 105 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
|
D | Object_spt_fp.h | 134 TPM2B_DIGEST *creationDigest // OUT: creation digest 321 TPM2B_DIGEST *secret, // IN: secret information 348 TPM2B_DIGEST *secret // OUT: secret information
|
D | CryptEccCrypt_fp.h | 74 TPM2B_DIGEST *c3 // OUT: digest of ephemeral key 93 TPM2B_DIGEST *c3 // IN: digest of ephemeral key
|
D | CryptUtil_fp.h | 229 TPM2B_DIGEST *unique // OUT: unique buffer 355 TPM2B_DIGEST *digest, // IN: The digest being signed 376 TPM2B_DIGEST *digest, // IN: The digest being validated
|
D | Policy_spt_fp.h | 52 TPM2B_DIGEST *cpHashA, 70 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
|
/external/tpm2-tss/include/tss2/ |
D | tss2_sys.h | 234 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 …]
|
D | tss2_esys.h | 362 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 …]
|
D | tss2_tpm2_types.h | 888 } 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 */ 961 …TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. … 968 …TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. … 975 …TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. … 982 …TPM2B_DIGEST digest; /* This shall be the HMAC produced using a proof value of hierarchy. … 1037 …TPM2B_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/ |
D | SessionProcess.c | 258 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/ |
D | TPMT-marshal.c | 31 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()
|
D | TPM2B-marshal.c | 24 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/ |
D | CryptEccSignature.c | 49 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 …]
|
D | Ticket.c | 90 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()
|