/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Signature/ |
D | Sign.c | 65 OBJECT *signObject = HandleToObject(in->keyHandle); in TPM2_Sign() local 68 if(!IsSigningObject(signObject)) in TPM2_Sign() 72 if(IS_ATTRIBUTE(signObject->publicArea.objectAttributes, TPMA_OBJECT, x509sign)) in TPM2_Sign() 77 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_Sign() 82 || IS_ATTRIBUTE(signObject->publicArea.objectAttributes, in TPM2_Sign() 107 result = CryptSign(signObject, &in->inScheme, &in->digest, &out->signature); in TPM2_Sign()
|
D | VerifySignature.c | 57 OBJECT *signObject = HandleToObject(in->keyHandle); in TPM2_VerifySignature() local 62 if(!IS_ATTRIBUTE(signObject->publicArea.objectAttributes, TPMA_OBJECT, sign)) in TPM2_VerifySignature() 75 || signObject->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_VerifySignature() 86 TicketComputeVerified(hierarchy, &in->digest, &signObject->name, in TPM2_VerifySignature()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/ |
D | Attest_spt.c | 51 OBJECT *signObject = HandleToObject(signHandle); in FillInAttestInfo() local 56 if(signObject == NULL) in FillInAttestInfo() 73 attest->qualifiedSigner = signObject->qualifiedName; in FillInAttestInfo() 84 if((signObject == NULL) in FillInAttestInfo() 85 || (!signObject->attributes.epsHierarchy in FillInAttestInfo() 86 && !signObject->attributes.ppsHierarchy)) in FillInAttestInfo()
|
D | GetTime.c | 62 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetTime() local 64 if(!IsSigningObject(signObject)) in TPM2_GetTime() 66 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_GetTime() 84 return SignAttestInfo(signObject, &in->inScheme, &timeInfo, &in->qualifyingData, in TPM2_GetTime()
|
D | GetSessionAuditDigest.c | 64 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetSessionAuditDigest() local 66 if(!IsSigningObject(signObject)) in TPM2_GetSessionAuditDigest() 68 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_GetSessionAuditDigest() 90 return SignAttestInfo(signObject, &in->inScheme, &auditInfo, in TPM2_GetSessionAuditDigest()
|
D | Quote.c | 58 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_Quote() local 60 if(!IsSigningObject(signObject)) in TPM2_Quote() 62 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_Quote() 94 return SignAttestInfo(signObject, &in->inScheme, "ed, &in->qualifyingData, in TPM2_Quote()
|
D | Certify.c | 58 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_Certify() local 61 if(!IsSigningObject(signObject)) in TPM2_Certify() 63 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_Certify() 90 return SignAttestInfo(signObject, &in->inScheme, &certifyInfo, in TPM2_Certify()
|
D | GetCommandAuditDigest.c | 63 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetCommandAuditDigest() local 65 if(!IsSigningObject(signObject)) in TPM2_GetCommandAuditDigest() 67 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_GetCommandAuditDigest() 88 result = SignAttestInfo(signObject, &in->inScheme, &auditInfo, in TPM2_GetCommandAuditDigest()
|
D | CertifyCreation.c | 61 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_CertifyCreation() local 63 if(!IsSigningObject(signObject)) in TPM2_CertifyCreation() 65 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_CertifyCreation() 93 return SignAttestInfo(signObject, &in->inScheme, &certifyInfo, in TPM2_CertifyCreation()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/ |
D | NV_Certify.c | 70 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_NV_Certify() local 72 if(!IsSigningObject(signObject)) in TPM2_NV_Certify() 74 if(!CryptSelectSignScheme(signObject, &in->inScheme)) in TPM2_NV_Certify() 137 return SignAttestInfo(signObject, &in->inScheme, &certifyInfo, in TPM2_NV_Certify()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptUtil.c | 1334 OBJECT *signObject, // IN: signing key in CryptSelectSignScheme() argument 1344 if(signObject == NULL) in CryptSelectSignScheme() 1353 publicArea = &signObject->publicArea; in CryptSelectSignScheme() 1497 OBJECT *signObject = HandleToObject(keyHandle); in CryptValidateSignature() local 1498 TPMT_PUBLIC *publicArea = &signObject->publicArea; in CryptValidateSignature() 1513 result = CryptRsaValidateSignature(signature, signObject, digest); in CryptValidateSignature() 1520 result = CryptEccValidateSignature(signature, signObject, digest); in CryptValidateSignature() 1525 if(signObject->attributes.publicOnly) in CryptValidateSignature() 1528 result = CryptHMACVerifySignature(signObject, digest, signature); in CryptValidateSignature()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptUtil_fp.h | 331 OBJECT *signObject, // IN: signing key
|