Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/tests/security/spec/
DECParameterSpecTest.java29 EllipticCurve curve; field in ECParameterSpecTest
37 curve = new EllipticCurve(new ECFieldF2m(2), BigInteger.valueOf(1), in setUp()
40 ecps = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); in setUp()
44 curve = null; in tearDown()
64 assertEquals("wrong elliptic curve", curve, ecps.getCurve()); in test_constructorLjava_security_spec_EllipticCurveLjava_security_spec_ECPointLjava_math_BigIntegerI()
80 new ECParameterSpec(curve, null, BigInteger.valueOf(1), 1); in test_constructorLjava_security_spec_EllipticCurveLjava_security_spec_ECPointLjava_math_BigIntegerI()
88 new ECParameterSpec(curve, ecpoint, null, 1); in test_constructorLjava_security_spec_EllipticCurveLjava_security_spec_ECPointLjava_math_BigIntegerI()
96 new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(-1), 1); in test_constructorLjava_security_spec_EllipticCurveLjava_security_spec_ECPointLjava_math_BigIntegerI()
104 new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), -1); in test_constructorLjava_security_spec_EllipticCurveLjava_security_spec_ECPointLjava_math_BigIntegerI()
115 assertEquals("wrong elliptic curve", curve, ecps.getCurve()); in test_GetCurve()
DECPublicKeySpecTest.java39 EllipticCurve curve = new EllipticCurve(new ECFieldF2m(2), BigInteger in setUp() local
43 params = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); in setUp()
DECPrivateKeySpecTest.java41 EllipticCurve curve = new EllipticCurve(new ECFieldF2m(2), BigInteger in setUp() local
45 ecparams = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); in setUp()
/libcore/ojluni/src/main/java/java/security/spec/
DECParameterSpec.java42 private final EllipticCurve curve; field in ECParameterSpec
60 public ECParameterSpec(EllipticCurve curve, ECPoint g, in ECParameterSpec() argument
62 if (curve == null) { in ECParameterSpec()
77 this.curve = curve; in ECParameterSpec()
88 return curve; in getCurve()
DEllipticCurve.java173 EllipticCurve curve = (EllipticCurve) obj; in equals() local
174 if ((field.equals(curve.field)) && in equals()
175 (a.equals(curve.a)) && in equals()
176 (b.equals(curve.b))) { in equals()
/libcore/ojluni/annotations/hiddenapi/java/security/spec/
DECParameterSpec.java35 java.security.spec.EllipticCurve curve, in ECParameterSpec() argument
68 private final java.security.spec.EllipticCurve curve; field in ECParameterSpec
71 curve = null;
/libcore/ojluni/annotations/mmodule/java/security/spec/
DECParameterSpec.annotated.java33 public ECParameterSpec(java.security.spec.EllipticCurve curve, java.security.spec.ECPoint g, java.m… in ECParameterSpec() argument