Home
last modified time | relevance | path

Searched refs:curveParams (Results 1 – 25 of 31) sorted by relevance

12

/dports/java/bouncycastle15/crypto-169/prov/src/main/java/org/bouncycastle/jce/
H A DECKeyUtil.java81 X9ECParameters curveParams; in publicToExplicitParameters() local
89 if (curveParams.hasSeed()) in publicToExplicitParameters()
93 curveParams.getCurve(), in publicToExplicitParameters()
95 curveParams.getN(), in publicToExplicitParameters()
96 curveParams.getH()); in publicToExplicitParameters()
101 curveParams = new X9ECParameters( in publicToExplicitParameters()
183 X9ECParameters curveParams; in privateToExplicitParameters() local
191 if (curveParams.hasSeed()) in privateToExplicitParameters()
195 curveParams.getCurve(), in privateToExplicitParameters()
197 curveParams.getN(), in privateToExplicitParameters()
[all …]
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.3/org/bouncycastle/jce/
H A DECKeyUtil.java81 X9ECParameters curveParams; in publicToExplicitParameters() local
89 if (curveParams.hasSeed()) in publicToExplicitParameters()
93 curveParams.getCurve(), in publicToExplicitParameters()
95 curveParams.getN(), in publicToExplicitParameters()
96 curveParams.getH()); in publicToExplicitParameters()
101 curveParams = new X9ECParameters( in publicToExplicitParameters()
183 X9ECParameters curveParams; in privateToExplicitParameters() local
191 if (curveParams.hasSeed()) in privateToExplicitParameters()
195 curveParams.getCurve(), in privateToExplicitParameters()
197 curveParams.getN(), in privateToExplicitParameters()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams;
78 curveParams = ecCurve_map[params->name];
79 CHECK_OK(curveParams);
80 params->fieldID.size = curveParams->size;
87 params->curve.a.len = curveParams->scalarSize;
91 params->base.len = curveParams->pointSize;
93 params->order.len = curveParams->scalarSize;
95 params->cofactor = curveParams->cofactor;
238 const ECCurveBytes *curveParams;
249 return curveParams->scalarSize;
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/freebl/
H A Decdecode.c73 const ECCurveBytes *curveParams; in gf_populate_params_bytes() local
78 curveParams = ecCurve_map[params->name]; in gf_populate_params_bytes()
79 CHECK_OK(curveParams); in gf_populate_params_bytes()
80 params->fieldID.size = curveParams->size; in gf_populate_params_bytes()
87 params->curve.a.len = curveParams->scalarSize; in gf_populate_params_bytes()
91 params->base.len = curveParams->pointSize; in gf_populate_params_bytes()
93 params->order.len = curveParams->scalarSize; in gf_populate_params_bytes()
95 params->cofactor = curveParams->cofactor; in gf_populate_params_bytes()
238 const ECCurveBytes *curveParams; in EC_GetPointSize() local
249 return curveParams->scalarSize; in EC_GetPointSize()
[all …]
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.4/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DAlgorithmParametersSpi.java69 X9ECParameters curveParams = ECNamedCurveTable.getByName(curveName); in engineInit() local
71 …urveParameterSpec(curveName, curveParams.getCurve(), curveParams.getG(), curveParams.getN(), curve… in engineInit()
75 X9ECParameters curveParams = X9ECParameters.getInstance(params.getParameters()); in engineInit() local
77 …erSpec = new ECParameterSpec(curveParams.getCurve(), curveParams.getG(), curveParams.getN(), curve… in engineInit()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/freebl/
H A Decdecode.c126 const ECCurveParams *curveParams; in gf_populate_params() local
133 curveParams = ecCurve_map[params->name]; in gf_populate_params()
134 CHECK_OK(curveParams); in gf_populate_params()
135 params->fieldID.size = curveParams->size; in gf_populate_params()
146 curveParams->curvea)); in gf_populate_params()
152 strcat(genenc, curveParams->genx); in gf_populate_params()
153 strcat(genenc, curveParams->geny); in gf_populate_params()
156 curveParams->order)); in gf_populate_params()
157 params->cofactor = curveParams->cofactor; in gf_populate_params()
299 const ECCurveParams *curveParams; in EC_GetPointSize() local
[all …]
/dports/ftp/sftpgo/sftpgo-2.2.0/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/
H A Dellipticadaptor.go42 var curveParams = CurveParams{ var
54 return &curveParams
147 if len(k) > curveParams.ByteSize {
149 tmpK.Mod(tmpK, curveParams.N)
242 P: curveParams.P,
243 N: curveParams.N,
245 Gx: curveParams.Gx,
246 Gy: curveParams.Gy,
247 BitSize: curveParams.BitSize,
H A Dgenstatics.go31 doublingPoints := make([]JacobianPoint, curveParams.BitSize)
33 bigAffineToJacobian(curveParams.Gx, curveParams.Gy, &q)
34 for i := 0; i < curveParams.BitSize; i++ {
41 curveByteSize := curveParams.BitSize / 8
109 nSqrt := sqrt(curveParams.N)
110 u, v := new(big.Int).Set(curveParams.N), new(big.Int).Set(endomorphismLambda)
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c113 const ECCurveParams *curveParams; in gf_populate_params() local
120 curveParams = ecCurve_map[params->name]; in gf_populate_params()
121 CHECK_OK(curveParams); in gf_populate_params()
122 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
129 curveParams->irr, kmflag)); in gf_populate_params()
132 curveParams->irr, kmflag)); in gf_populate_params()
135 curveParams->curvea, kmflag)); in gf_populate_params()
137 curveParams->curveb, kmflag)); in gf_populate_params()
141 strcat(genenc, curveParams->genx); in gf_populate_params()
142 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c114 const ECCurveParams *curveParams; in gf_populate_params() local
121 curveParams = ecCurve_map[params->name]; in gf_populate_params()
122 CHECK_OK(curveParams); in gf_populate_params()
123 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
130 curveParams->irr, kmflag)); in gf_populate_params()
133 curveParams->irr, kmflag)); in gf_populate_params()
136 curveParams->curvea, kmflag)); in gf_populate_params()
138 curveParams->curveb, kmflag)); in gf_populate_params()
142 strcat(genenc, curveParams->genx); in gf_populate_params()
143 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c113 const ECCurveParams *curveParams; in gf_populate_params() local
120 curveParams = ecCurve_map[params->name]; in gf_populate_params()
121 CHECK_OK(curveParams); in gf_populate_params()
122 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
129 curveParams->irr, kmflag)); in gf_populate_params()
132 curveParams->irr, kmflag)); in gf_populate_params()
135 curveParams->curvea, kmflag)); in gf_populate_params()
137 curveParams->curveb, kmflag)); in gf_populate_params()
141 strcat(genenc, curveParams->genx); in gf_populate_params()
142 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c114 const ECCurveParams *curveParams; in gf_populate_params() local
121 curveParams = ecCurve_map[params->name]; in gf_populate_params()
122 CHECK_OK(curveParams); in gf_populate_params()
123 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
130 curveParams->irr, kmflag)); in gf_populate_params()
133 curveParams->irr, kmflag)); in gf_populate_params()
136 curveParams->curvea, kmflag)); in gf_populate_params()
138 curveParams->curveb, kmflag)); in gf_populate_params()
142 strcat(genenc, curveParams->genx); in gf_populate_params()
143 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c114 const ECCurveParams *curveParams; in gf_populate_params() local
121 curveParams = ecCurve_map[params->name]; in gf_populate_params()
122 CHECK_OK(curveParams); in gf_populate_params()
123 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
130 curveParams->irr, kmflag)); in gf_populate_params()
133 curveParams->irr, kmflag)); in gf_populate_params()
136 curveParams->curvea, kmflag)); in gf_populate_params()
138 curveParams->curveb, kmflag)); in gf_populate_params()
142 strcat(genenc, curveParams->genx); in gf_populate_params()
143 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.crypto.ec/share/native/libsunec/impl/
H A Decdecode.c114 const ECCurveParams *curveParams; in gf_populate_params() local
121 curveParams = ecCurve_map[params->name]; in gf_populate_params()
122 CHECK_OK(curveParams); in gf_populate_params()
123 if ((strlen(curveParams->genx) + strlen(curveParams->geny)) > 2 * 2 * MAX_ECKEY_LEN) { in gf_populate_params()
130 curveParams->irr, kmflag)); in gf_populate_params()
133 curveParams->irr, kmflag)); in gf_populate_params()
136 curveParams->curvea, kmflag)); in gf_populate_params()
138 curveParams->curveb, kmflag)); in gf_populate_params()
142 strcat(genenc, curveParams->genx); in gf_populate_params()
143 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/security/ec/impl/
H A Decdecode.c113 const ECCurveParams *curveParams; in gf_populate_params() local
120 curveParams = ecCurve_map[params->name]; in gf_populate_params()
121 CHECK_OK(curveParams); in gf_populate_params()
122 params->fieldID.size = curveParams->size; in gf_populate_params()
126 curveParams->irr, kmflag)); in gf_populate_params()
129 curveParams->irr, kmflag)); in gf_populate_params()
132 curveParams->curvea, kmflag)); in gf_populate_params()
134 curveParams->curveb, kmflag)); in gf_populate_params()
138 strcat(genenc, curveParams->genx); in gf_populate_params()
139 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/security/ec/impl/
H A Decdecode.c113 const ECCurveParams *curveParams; in gf_populate_params() local
120 curveParams = ecCurve_map[params->name]; in gf_populate_params()
121 CHECK_OK(curveParams); in gf_populate_params()
122 params->fieldID.size = curveParams->size; in gf_populate_params()
126 curveParams->irr, kmflag)); in gf_populate_params()
129 curveParams->irr, kmflag)); in gf_populate_params()
132 curveParams->curvea, kmflag)); in gf_populate_params()
134 curveParams->curveb, kmflag)); in gf_populate_params()
138 strcat(genenc, curveParams->genx); in gf_populate_params()
139 strcat(genenc, curveParams->geny); in gf_populate_params()
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/consensys/gnark-crypto/ecc/bls12-377/twistededwards/eddsa/
H A Deddsa.go136 curveParams := twistededwards.GetEdwardsCurve()
157 res.R.ScalarMul(&curveParams.Base, &blindingFactorBigInt)
190 Mod(&bs, &curveParams.Order)
204 curveParams := twistededwards.GetEdwardsCurve()
241 curveParams.Cofactor.ToBigInt(&bCofactor)
243 lhs.ScalarMul(&curveParams.Base, &bs).
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/consensys/gnark-crypto/ecc/bn254/twistededwards/eddsa/
H A Deddsa.go136 curveParams := twistededwards.GetEdwardsCurve()
157 res.R.ScalarMul(&curveParams.Base, &blindingFactorBigInt)
190 Mod(&bs, &curveParams.Order)
204 curveParams := twistededwards.GetEdwardsCurve()
241 curveParams.Cofactor.ToBigInt(&bCofactor)
243 lhs.ScalarMul(&curveParams.Base, &bs).
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/consensys/gnark-crypto/ecc/bw6-761/twistededwards/eddsa/
H A Deddsa.go145 curveParams := twistededwards.GetEdwardsCurve()
166 res.R.ScalarMul(&curveParams.Base, &blindingFactorBigInt)
199 Mod(&bs, &curveParams.Order)
213 curveParams := twistededwards.GetEdwardsCurve()
250 curveParams.Cofactor.ToBigInt(&bCofactor)
252 lhs.ScalarMul(&curveParams.Base, &bs).
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/consensys/gnark-crypto/ecc/bls12-381/twistededwards/eddsa/
H A Deddsa.go136 curveParams := twistededwards.GetEdwardsCurve()
157 res.R.ScalarMul(&curveParams.Base, &blindingFactorBigInt)
190 Mod(&bs, &curveParams.Order)
204 curveParams := twistededwards.GetEdwardsCurve()
241 curveParams.Cofactor.ToBigInt(&bCofactor)
243 lhs.ScalarMul(&curveParams.Base, &bs).

12