• Home
  • Raw
  • Download

Lines Matching refs:curveId

47     return eccCurves[i].curveId;  in _cpri__GetCurveIdByIndex()
74 TPM_ECC_CURVE curveId // IN: the curveID in _cpri__EccGetParametersByCurveId() argument
80 if(eccCurves[i].curveId == curveId) in _cpri__EccGetParametersByCurveId()
89 TPM_ECC_CURVE curveId // IN: the curveID in GetCurveData() argument
92 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId); in GetCurveData()
142 TPM_ECC_CURVE curveId, // IN: the ID of the curve in EccCurveInit() argument
147 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in EccCurveInit()
343 TPM_ECC_CURVE curveId, // IN: the curve to use in _cpri__EccPointMultiply() argument
361 if(Qin != NULL && !_cpri__EccIsPointOnCurve(curveId, Qin)) in _cpri__EccPointMultiply()
369 group = EccCurveInit(curveId, context); in _cpri__EccPointMultiply()
466 TPM_ECC_CURVE curveId, // IN: the curve for the computations in _cpri__EccCommitCompute() argument
497 if((group = EccCurveInit(curveId, context)) == NULL) in _cpri__EccCommitCompute()
591 TPM_ECC_CURVE curveId, // IN: the curve selector in _cpri__EccIsPointOnCurve() argument
602 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in _cpri__EccIsPointOnCurve()
667 TPM_ECC_CURVE curveId, // IN: the curve identifier in _cpri__GenerateKeyEcc() argument
679 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in _cpri__GenerateKeyEcc()
739 if( (retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL)) in _cpri__GenerateKeyEcc()
763 TPM_ECC_CURVE curveId // IN: the curve for the key in _cpri__GetEphemeralEcc() argument
767 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in _cpri__GetEphemeralEcc()
778 retVal = _cpri__EccPointMultiply(Qout, curveId, dOut, NULL, NULL); in _cpri__GetEphemeralEcc()
795 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in SignEcdsa() argument
812 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in SignEcdsa()
856 if( _cpri__EccPointMultiply(&R, curveId, &k, NULL, NULL) in SignEcdsa()
952 TPM_ECC_CURVE curveId, // IN: the curve used in signing in EcDaa() argument
961 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in EcDaa()
1066 TPM_ECC_CURVE curveId, // IN: the curve used in signing in SchnorrEcc() argument
1080 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in SchnorrEcc()
1111 || (group = EccCurveInit(curveId, context)) == NULL in SchnorrEcc()
1166 return EcDaa(rOut, sOut, curveId, dIn, NULL, &k); in SchnorrEcc()
1238 TPM_ECC_CURVE curveId, // IN: the curve used in signing in SignSM2() argument
1254 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in SignSM2()
1295 if( _cpri__EccPointMultiply(&p2Br, curveId, &k, NULL, NULL) in SignSM2()
1370 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in _cpri__SignEcc() argument
1381 return SignEcdsa(rOut, sOut, curveId, dIn, digest); in _cpri__SignEcc()
1387 return EcDaa(rOut, sOut, curveId, dIn, digest, kIn); in _cpri__SignEcc()
1392 return SchnorrEcc(rOut, sOut, hashAlg, curveId, dIn, digest, kIn); in _cpri__SignEcc()
1397 return SignSM2(rOut, sOut, curveId, dIn, digest); in _cpri__SignEcc()
1421 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in ValidateSignatureEcdsa() argument
1446 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in ValidateSignatureEcdsa()
1480 || (group = EccCurveInit(curveId, context)) == NULL in ValidateSignatureEcdsa()
1511 if(_cpri__EccPointMultiply(&R, curveId, &U1, Qin, &U2) == CRYPT_SUCCESS) in ValidateSignatureEcdsa()
1547 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in ValidateSignatureEcSchnorr() argument
1559 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in ValidateSignatureEcSchnorr()
1577 if(_cpri__EccPointMultiply(&pE, curveId, sIn, Qin, &minusR) != CRYPT_SUCCESS) in ValidateSignatureEcSchnorr()
1617 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in ValidateSignatureSM2Dsa() argument
1632 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in ValidateSignatureSM2Dsa()
1644 || (group = EccCurveInit(curveId, context)) == NULL) in ValidateSignatureSM2Dsa()
1744 TPM_ECC_CURVE curveId, // IN: the curve used in the signature in _cpri__ValidateSignatureEcc() argument
1757 retVal = ValidateSignatureEcdsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()
1761 retVal = ValidateSignatureEcSchnorr(rIn, sIn, hashAlg, curveId, Qin, in _cpri__ValidateSignatureEcc()
1767 retVal = ValidateSignatureSM2Dsa(rIn, sIn, curveId, Qin, digest); in _cpri__ValidateSignatureEcc()
1820 TPM_ECC_CURVE curveId, // IN: the curve for the computations in C_2_2_MQV() argument
1839 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in C_2_2_MQV()
1862 if((group = EccCurveInit(curveId, context)) == NULL) in C_2_2_MQV()
1965 TPM_ECC_CURVE curveId, // IN: the curve for the computations in SM2KeyExchange() argument
1985 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in SM2KeyExchange()
2003 if((group = EccCurveInit(curveId, context)) == NULL) in SM2KeyExchange()
2075 TPM_ECC_CURVE curveId, // IN: the curve for the computations in C_2_2_ECDH() argument
2088 const ECC_CURVE_DATA *curveData = GetCurveData(curveId); in C_2_2_ECDH()
2097 if((group = EccCurveInit(curveId, context)) == NULL) in C_2_2_ECDH()
2139 TPM_ECC_CURVE curveId, // IN: the curve for the computations in _cpri__C_2_2_KeyExchange() argument
2162 return C_2_2_ECDH(outZ1, outZ2, curveId, dsA, deA, QsB, QeB); in _cpri__C_2_2_KeyExchange()
2166 return C_2_2_MQV(outZ1, curveId, dsA, deA, QsB, QeB); in _cpri__C_2_2_KeyExchange()
2171 return SM2KeyExchange(outZ1, curveId, dsA, deA, QsB, QeB); in _cpri__C_2_2_KeyExchange()