Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/security/spec/
DECFieldFpTest.java28 import java.security.spec.ECFieldFp;
47 new ECFieldFp(BigInteger.valueOf(23L)); in testECFieldFp01()
57 new ECFieldFp(BigInteger.valueOf(21L)); in testECFieldFp02()
67 new ECFieldFp(BigInteger.valueOf(-1L)); in testECFieldFp03()
81 new ECFieldFp(BigInteger.valueOf(0L)); in testECFieldFp04()
95 new ECFieldFp(null); in testECFieldFp05()
109 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testHashCode01()
128 assertTrue(new ECFieldFp(BigInteger.valueOf(23L)).hashCode() == in testHashCode02()
129 new ECFieldFp(BigInteger.valueOf(23L)).hashCode()); in testHashCode02()
138 assertEquals(5, new ECFieldFp(BigInteger.valueOf(23L)).getFieldSize()); in testGetFieldSize()
[all …]
DEllipticCurveTest.java25 import java.security.spec.ECFieldFp;
44 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01()
60 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01()
78 ECFieldFp f = null; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
90 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
101 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02()
125 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
138 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
150 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
162 f = new ECFieldFp(BigInteger.valueOf(23L)); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03()
[all …]
/libcore/ojluni/src/main/java/java/security/spec/
DECFieldFp.java40 public class ECFieldFp implements ECField { class
52 public ECFieldFp(BigInteger p) { in ECFieldFp() method in ECFieldFp
85 if (obj instanceof ECFieldFp) { in equals()
86 return (p.equals(((ECFieldFp)obj).p)); in equals()
DEllipticCurve.java54 if (field instanceof ECFieldFp) { in checkValidity()
55 BigInteger p = ((ECFieldFp)field).getP(); in checkValidity()
/libcore/luni/src/test/java/tests/security/interfaces/
DUtil.java19 import java.security.spec.ECFieldFp;
77 new ECFieldFp(BigInteger.valueOf(23)),
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java43 import java.security.spec.ECFieldFp;
3349 …final ECParameterSpec spec = new ECParameterSpec(new EllipticCurve(new ECFieldFp(p), a, b), new EC… in getNamedCurveEcPublicKey()
/libcore/
Dopenjdk_java_files.mk663 ojluni/src/main/java/java/security/spec/ECFieldFp.java \