Home
last modified time | relevance | path

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

/external/tpm2/
DCommit.c62 p = (TPM2B *)CryptEccGetParameter('p', parms->curveID); in TPM2_Commit()
72 if(!CryptGenerateR(&r, NULL, parms->curveID, &eccKey->name)) in TPM2_Commit()
100 if(!CryptEccIsPointOnCurve(parms->curveID, pP2)) in TPM2_Commit()
113 if(!CryptEccIsPointOnCurve(parms->curveID, pP1)) in TPM2_Commit()
124 parms->curveID, in TPM2_Commit()
DZGen_2Phase.c61 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
65 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
71 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
79 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
DEC_Ephemeral.c29 in->curveID, in TPM2_EC_Ephemeral()
33 CryptEccPointMultiply(&out->Q.t.point, in->curveID, &r, NULL); in TPM2_EC_Ephemeral()
DCryptUtil_fp.h14 TPM_ECC_CURVE curveID, // IN: the starting ECC curve
29 TPM_ECC_CURVE curveID, // IN: The curve for the computation
132 BOOL CryptEccIsPointOnCurve(TPM_ECC_CURVE curveID, // IN: ECC curve ID
140 TPMI_ECC_CURVE curveID, // IN: the curve for the value
238 TPM_RC CryptNewEccKey(TPM_ECC_CURVE curveID, // IN: ECC curve
DCryptUtil.c1229 TPM_ECC_CURVE curveID // IN: id of the curve in CryptEccGetCurveDataPointer() argument
1232 return _cpri__EccGetParametersByCurveId(curveID); in CryptEccGetCurveDataPointer()
1242 TPM_ECC_CURVE curveID // IN: id of the curve in CryptEccGetKeySizeInBits() argument
1245 const ECC_CURVE *curve = CryptEccGetCurveDataPointer(curveID); in CryptEccGetKeySizeInBits()
1327 TPM_ECC_CURVE curveID, // IN: ECC curve ID in CryptEccIsPointOnCurve() argument
1336 if(_cpri__EccIsPointOnCurve(curveID, Q)) in CryptEccIsPointOnCurve()
1349 TPM_ECC_CURVE curveID, // IN: ECC curve in CryptNewEccKey() argument
1356 if(_cpri__GetEphemeralEcc(publicPoint, sensitive, curveID) != CRYPT_SUCCESS) in CryptNewEccKey()
1435 publicArea->parameters.eccDetail.curveID, in CryptGenerateKeyECC()
1475 signKey->publicArea.parameters.eccDetail.curveID, in CryptSignECC()
[all …]
DECDH_KeyGen.c45 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
53 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
DECC_Parameters.c26 if(CryptEccGetParameters(in->curveID, &out->parameters)) in TPM2_ECC_Parameters()
DECC_Parameters_fp.h12 typedef struct { TPMI_ECC_CURVE curveID; } ECC_Parameters_In; member
DEC_Ephemeral_fp.h12 typedef struct { TPMI_ECC_CURVE curveID; } EC_Ephemeral_In; member
DECDH_ZGen.c52 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_ZGen()
DMarshal_ECC_Parameters.c44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in ECC_Parameters_In_Unmarshal()
DMarshal_EC_Ephemeral.c44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in EC_Ephemeral_In_Unmarshal()
DCryptoEngine.h167 UINT32 curveID; // The curve identifier member
DObject_spt.c394 TPM_ECC_CURVE curveID = publicArea->parameters.eccDetail.curveID; in SchemeChecks() local
395 const TPMT_ECC_SCHEME *curveScheme = CryptGetCurveSignScheme(curveID); in SchemeChecks()
Dtpm_types.h1297 TPM_ECC_CURVE curveID; member
1431 TPMI_ECC_CURVE curveID; member
Dtpm_generated.c3039 total_size += TPMI_ECC_CURVE_Marshal(&source->curveID, buffer, size); in TPMS_ECC_PARMS_Marshal()
3056 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in TPMS_ECC_PARMS_Unmarshal()
6016 total_size += TPM_ECC_CURVE_Marshal(&source->curveID, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Marshal()
6034 result = TPM_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Unmarshal()
/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go165 for _, curveID := range hello.supportedCurves {
166 if !curvesToSend[curveID] {
169 curve, ok := curveForCurveID(curveID)
179 curveID = c.config.Bugs.SendCurve
186 group: curveID,
189 keyShares[curveID] = curve
486 for _, curveID := range hello.supportedCurves {
487 if group == curveID {
726 c.curveID = hs.serverHello.keyShare.group
1073 c.curveID = ecdhe.curveID
Dkey_agreement.go434 curveID CurveID member
460 ka.curveID = curveid
499 ka.curveID = curveid
Dhandshake_server.go701 c.curveID = selectedCurve
725 curveID := selectedCurve
727 curveID = config.Bugs.SendCurve
734 group: curveID,
741 group: curveID,
1500 c.curveID = ecdhe.curveID
Dcommon.go1497 for _, curveID := range curves {
1498 defaultCurves[curveID] = true
Dconn.go63 curveID CurveID member
1710 state.CurveID = c.curveID