/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/ |
D | CertifyX509.c | 71 OBJECT *signKey = HandleToObject(in->signHandle); in TPM2_CertifyX509() local 96 if(!IsSigningObject(signKey)) in TPM2_CertifyX509() 100 if(!CryptSelectSignScheme(signKey, &in->inScheme)) in TPM2_CertifyX509() 162 (X509AddSigningAlgorithm(NULL, signKey, &in->inScheme) == 0)) in TPM2_CertifyX509() 190 certTBS[SIGNATURE_REF].len = X509AddSigningAlgorithm(&ctxOut, signKey, in TPM2_CertifyX509() 198 digest->size = (INT16)CryptHashStart(&hash, signKey->publicArea.nameAlg); in TPM2_CertifyX509() 209 CryptDigestUpdate2B(&hash, &signKey->name.b); in TPM2_CertifyX509() 276 result = CryptSign(signKey, &in->inScheme, &out->tbsDigest, &out->signature); in TPM2_CertifyX509()
|
D | Attest_spt.c | 124 OBJECT *signKey, // IN: sign object in SignAttestInfo() argument 143 if(signKey == NULL) in SignAttestInfo() 169 result = CryptSign(signKey, scheme, &digest, signature); in SignAttestInfo()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/ |
D | X509_RSA.c | 55 OBJECT *signKey, in X509AddSigningAlgorithmRSA() argument 63 NOT_REFERENCED(signKey); in X509AddSigningAlgorithmRSA() 121 (INT16)signKey->publicArea.unique.rsa.t.size); in X509AddSigningAlgorithmRSA()
|
D | X509_spt.c | 227 OBJECT *signKey, in X509AddSigningAlgorithm() argument 231 switch(signKey->publicArea.type) in X509AddSigningAlgorithm() 235 return X509AddSigningAlgorithmRSA(signKey, scheme, ctx); in X509AddSigningAlgorithm() 239 return X509AddSigningAlgorithmECC(signKey, scheme, ctx); in X509AddSigningAlgorithm()
|
D | X509_ECC.c | 75 OBJECT *signKey, in X509AddSigningAlgorithmECC() argument 82 NOT_REFERENCED(signKey); in X509AddSigningAlgorithmECC()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptEccSignature_fp.h | 75 OBJECT *signKey, // IN: ECC key to sign the hash 106 OBJECT *signKey, // IN: ECC key signed the hash
|
D | X509_RSA_fp.h | 52 OBJECT *signKey,
|
D | X509_ECC_fp.h | 61 OBJECT *signKey,
|
D | Attest_spt_fp.h | 66 OBJECT *signKey, // IN: sign object
|
D | X509_spt_fp.h | 91 OBJECT *signKey,
|
D | CryptUtil_fp.h | 353 OBJECT *signKey, // IN: signing key
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptEccSignature.c | 504 OBJECT *signKey, // IN: ECC key to sign the hash in CryptEccSign() argument 510 CURVE_INITIALIZED(E, signKey->publicArea.parameters.eccDetail.curveID); in CryptEccSign() 511 ECC_INITIALIZED(bnD, &signKey->sensitive.sensitive.ecc.b); in CryptEccSign() 534 bnD, digest, scheme, signKey, rand); in CryptEccSign() 762 OBJECT *signKey, // IN: ECC key signed the hash in CryptEccValidateSignature() argument 766 CURVE_INITIALIZED(E, signKey->publicArea.parameters.eccDetail.curveID); in CryptEccValidateSignature() 769 POINT_INITIALIZED(ecQ, &signKey->publicArea.unique.ecc); in CryptEccValidateSignature()
|
D | CryptUtil.c | 56 OBJECT *signKey, // IN: HMAC key sign the hash in CryptHmacSign() argument 64 &signKey->sensitive.sensitive.bits.b); in CryptHmacSign() 81 OBJECT *signKey, // IN: HMAC key signed the hash in CryptHMACVerifySignature() argument 88 &signKey->publicArea.parameters.keyedHashDetail.scheme; in CryptHMACVerifySignature() 106 CryptHmacSign(&test, signKey, hashData); in CryptHMACVerifySignature() 1424 OBJECT *signKey, // IN: signing key in CryptSign() argument 1437 if((signature->sigAlg == TPM_ALG_NULL) || (signKey == NULL)) in CryptSign() 1446 switch(signKey->publicArea.type) in CryptSign() 1450 result = CryptRsaSign(signature, signKey, digest, NULL); in CryptSign() 1458 result = CryptEccSign(signature, signKey, digest, in CryptSign() [all …]
|