Home
last modified time | relevance | path

Searched refs:curveID (Results 1 – 25 of 61) sorted by relevance

123

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Ecdaa/
DCommit.c94 if(!CryptEccGetParameter(&p, 'p', parms->curveID)) in TPM2_Commit()
99 if(!CryptGenerateR(&r, NULL, parms->curveID, &eccKey->name)) in TPM2_Commit()
131 if(!CryptEccIsPointOnCurve(parms->curveID, pP2)) in TPM2_Commit()
143 if(!CryptEccIsPointOnCurve(parms->curveID, pP1)) in TPM2_Commit()
154 parms->curveID, in TPM2_Commit()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_ECC_Parameters.c17 TPMI_ECC_CURVE curveID) in Tss2_Sys_ECC_Parameters_Prepare() argument
29 rval = Tss2_MU_UINT16_Marshal(curveID, ctx->cmdBuffer, in Tss2_Sys_ECC_Parameters_Prepare()
65 TPMI_ECC_CURVE curveID, in Tss2_Sys_ECC_Parameters() argument
72 rval = Tss2_Sys_ECC_Parameters_Prepare(sysContext, curveID); in Tss2_Sys_ECC_Parameters()
DTss2_Sys_EC_Ephemeral.c17 TPMI_ECC_CURVE curveID) in Tss2_Sys_EC_Ephemeral_Prepare() argument
29 rval = Tss2_MU_UINT16_Marshal(curveID, ctx->cmdBuffer, in Tss2_Sys_EC_Ephemeral_Prepare()
70 TPMI_ECC_CURVE curveID, in Tss2_Sys_EC_Ephemeral() argument
78 rval = Tss2_Sys_EC_Ephemeral_Prepare(sysContext, curveID); in Tss2_Sys_EC_Ephemeral()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DZGen_2Phase.c89 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
93 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
98 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
107 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
DEC_Ephemeral.c58 if(!CryptGenerateR(&r, NULL, in->curveID, NULL)) in TPM2_EC_Ephemeral()
61 result = CryptEccPointMultiply(&out->Q.point, in->curveID, NULL, &r, in TPM2_EC_Ephemeral()
DECDH_KeyGen.c70 keyPublic->parameters.eccDetail.curveID); in TPM2_ECDH_KeyGen()
75 keyPublic->parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
DECC_Parameters.c55 if(CryptEccGetParameters(in->curveID, &out->parameters)) in TPM2_ECC_Parameters()
DECDH_ZGen.c77 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_ZGen()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_ECC_Parameters.c68 TPMI_ECC_CURVE curveID, in Esys_ECC_Parameters() argument
74 curveID); in Esys_ECC_Parameters()
140 TPMI_ECC_CURVE curveID) in Esys_ECC_Parameters_Async() argument
144 esysContext, curveID); in Esys_ECC_Parameters_Async()
162 r = Tss2_Sys_ECC_Parameters_Prepare(esysContext->sys, curveID); in Esys_ECC_Parameters_Async()
DEsys_EC_Ephemeral.c67 TPMI_ECC_CURVE curveID, in Esys_EC_Ephemeral() argument
74 curveID); in Esys_EC_Ephemeral()
137 TPMI_ECC_CURVE curveID) in Esys_EC_Ephemeral_Async() argument
141 esysContext, curveID); in Esys_EC_Ephemeral_Async()
159 r = Tss2_Sys_EC_Ephemeral_Prepare(esysContext->sys, curveID); in Esys_EC_Ephemeral_Async()
/external/tpm2-tss/test/integration/
Desys-ecc-parameters.int.c37 TPMI_ECC_CURVE curveID = TPM2_ECC_NIST_P256; in test_esys_ecc_parameters() local
45 curveID, in test_esys_ecc_parameters()
Desys-zgen-2phase.int.c113 .curveID = TPM2_ECC_NIST_P256, in test_esys_zgen_2phase()
151 TPMI_ECC_CURVE curveID = TPM2_ECC_NIST_P256; in test_esys_zgen_2phase() local
159 curveID, in test_esys_zgen_2phase()
Desys-ecdh-keygen.int.c102 .curveID = TPM2_ECC_NIST_P256, in test_esys_ecdh_keygen()
Desys-ecdh-zgen.int.c104 .curveID = TPM2_ECC_NIST_P256, in test_esys_ecdh_zgen()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptEccMain_fp.h137 TPM_ECC_CURVE curveID, // IN: the starting ECC curve
164 TPMI_ECC_CURVE curveID, // IN: the curve for the value
DECC_Parameters_fp.h47 TPMI_ECC_CURVE curveID; member
DEC_Ephemeral_fp.h47 TPMI_ECC_CURVE curveID; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccMain.c223 TPM_ECC_CURVE curveID, // IN: the starting ECC curve in CryptCapGetECCCurve() argument
244 if(curve < curveID) in CryptCapGetECCCurve()
294 TPMI_ECC_CURVE curveID, // IN: the curve for the value in CryptGenerateR() argument
307 if(!CryptEccGetParameter(&n, 'n', curveID)) in CryptGenerateR()
413 parameters->curveID = curve->curveId; in CryptEccGetParameters()
773 CURVE_INITIALIZED(E, publicArea->parameters.eccDetail.curveID); in CryptEccGenerateKey()
DCryptEccCrypt.c89 CURVE_INITIALIZED(E, key->publicArea.parameters.eccDetail.curveID); in CryptEccEncrypt()
167 CURVE_INITIALIZED(E, key->publicArea.parameters.eccDetail.curveID); in CryptEccDecrypt()
DCryptUtil.c570 encryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretEncrypt()
580 encryptKey->publicArea.parameters.eccDetail.curveID); in CryptSecretEncrypt()
591 encryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretEncrypt()
718 decryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretDecrypt()
1627 curveId = params->eccDetail.curveID; in CryptValidateKeys()
DCryptEccSignature.c229 eccKey->publicArea.parameters.eccDetail.curveID, in BnSignEcdaa()
510 CURVE_INITIALIZED(E, signKey->publicArea.parameters.eccDetail.curveID); in CryptEccSign()
766 CURVE_INITIALIZED(E, signKey->publicArea.parameters.eccDetail.curveID); in CryptEccValidateSignature()
/external/tpm2-tss/src/tss2-fapi/
Difapi_profiles.h29 TPMI_ECC_CURVE curveID; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_ECC.c123 CryptEccGetOID(object->publicArea.parameters.eccDetail.curveID); in X509AddPublicECC()
/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go243 for _, curveID := range hello.supportedCurves {
244 if !curvesToSend[curveID] {
247 curve, ok := curveForCurveID(curveID, c.config)
257 curveID = c.config.Bugs.SendCurve
264 group: curveID,
267 keyShares[curveID] = curve
619 for _, curveID := range hello.supportedCurves {
620 if group == curveID {
900 c.curveID = hs.serverHello.keyShare.group
1343 c.curveID = ecdhe.curveID
/external/tpm2-tss/test/helper/
Dtpm_getek_ecc.c77 .curveID = TPM2_ECC_NIST_P256, in main()

123