Home | History | Annotate | Download | only in tpm2

Lines Matching refs:curveId

47     return eccCurves[i].curveId;
60 // This function returns a pointer to the curve data that is associated with the indicated curveId. If there is no
74 TPM_ECC_CURVE curveId // IN: the curveID
80 if(eccCurves[i].curveId == curveId)
89 TPM_ECC_CURVE curveId // IN: the curveID
92 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId);
142 TPM_ECC_CURVE curveId, // IN: the ID of the curve
147 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
343 TPM_ECC_CURVE curveId, // IN: the curve to use
361 if(Qin != NULL && !_cpri__EccIsPointOnCurve(curveId, Qin))
369 group = EccCurveInit(curveId, context);
447 // If B or M is provided, they must be on the curve defined by curveId. This routine does not check that they
466 TPM_ECC_CURVE curveId, // IN: the curve for the computations
497 if((group = EccCurveInit(curveId, context)) == NULL)
588 TPM_ECC_CURVE curveId, // IN: the curve selector
599 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
664 TPM_ECC_CURVE curveId, // IN: the curve identifier
676 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
736 if( (retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL))
760 TPM_ECC_CURVE curveId // IN: the curve for the key
764 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
775 retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL);
792 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
809 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
853 if( _cpri__EccPointMultiply(&R, curveId, &k, NULL, NULL)
949 TPM_ECC_CURVE curveId, // IN: the curve used in signing
958 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1063 TPM_ECC_CURVE curveId, // IN: the curve used in signing
1077 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1108 || (group = EccCurveInit(curveId, context)) == NULL
1163 return EcDaa(rOut, sOut, curveId, dIn, NULL, &k);
1235 TPM_ECC_CURVE curveId, // IN: the curve used in signing
1251 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1292 if( _cpri__EccPointMultiply(&p2Br, curveId, &k, NULL, NULL)
1367 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1378 return SignEcdsa(rOut, sOut, curveId, dIn, digest);
1384 return EcDaa(rOut, sOut, curveId, dIn, digest, kIn);
1389 return SchnorrEcc(rOut, sOut, hashAlg, curveId, dIn, digest, kIn);
1394 return SignSM2(rOut, sOut, curveId, dIn, digest);
1418 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1443 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1477 || (group = EccCurveInit(curveId, context)) == NULL
1508 if(_cpri__EccPointMultiply(&R, curveId, &U1, Qin, &U2) == CRYPT_SUCCESS)
1544 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1556 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1574 if(_cpri__EccPointMultiply(&pE, curveId, sIn, Qin, &minusR) != CRYPT_SUCCESS)
1614 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1629 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1641 || (group = EccCurveInit(curveId, context)) == NULL)
1741 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1754 retVal = ValidateSignatureEcdsa(rIn, sIn, curveId, Qin, digest);
1758 retVal = ValidateSignatureEcSchnorr(rIn, sIn, hashAlg, curveId, Qin,
1764 retVal = ValidateSignatureSM2Dsa(rIn, sIn, curveId, Qin, digest);
1817 TPM_ECC_CURVE curveId, // IN: the curve for the computations
1836 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
1859 if((group = EccCurveInit(curveId, context)) == NULL)
1962 TPM_ECC_CURVE curveId, // IN: the curve for the computations
1982 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
2000 if((group = EccCurveInit(curveId, context)) == NULL)
2072 TPM_ECC_CURVE curveId, // IN: the curve for the computations
2085 const ECC_CURVE_DATA *curveData = GetCurveData(curveId);
2094 if((group = EccCurveInit(curveId, context)) == NULL)
2136 TPM_ECC_CURVE curveId, // IN: the curve for the computations
2159 return C_2_2_ECDH(outZ1, outZ2, curveId, dsA, deA, QsB, QeB);
2163 return C_2_2_MQV(outZ1, curveId, dsA, deA, QsB, QeB);
2168 return SM2KeyExchange(outZ1, curveId, dsA, deA, QsB, QeB);