/openjdk7/jdk/src/share/classes/sun/awt/geom/ |
H A D | CurveLink.java | 29 Curve curve; field in class:CurveLink 36 public CurveLink(Curve curve, double ystart, double yend, int etag) { argument 37 this.curve = curve; 41 if (ytop < curve.getYTop() || ybot > curve.getYBot()) { 42 throw new InternalError("bad curvelink ["+ytop+"=>"+ybot+"] for "+curve); 47 return absorb(link.curve, link.ytop, link.ybot, link.etag); 50 public boolean absorb(Curve curve, double ystart, double yend, int etag) { argument 51 if (this.curve ! [all...] |
H A D | Edge.java | 32 Curve curve; field in class:Edge 43 this.curve = c; 49 return curve; 90 int ret = curve.compareTo(other.curve, yrange); 117 return ("Edge["+curve+
|
/openjdk7/jdk/src/share/classes/java/security/spec/ |
H A D | ECParameterSpec.java | 31 * used with elliptic curve cryptography (ECC). 41 private final EllipticCurve curve; field in class:ECParameterSpec 47 * Creates elliptic curve domain parameters based on the 49 * @param curve the elliptic curve which this parameter 54 * @exception NullPointerException if <code>curve</code>, 59 public ECParameterSpec(EllipticCurve curve, ECPoint g, argument 61 if (curve == null) { 62 throw new NullPointerException("curve is null"); 76 this.curve [all...] |
H A D | EllipticCurve.java | 33 * an elliptic curve. 70 * Creates an elliptic curve with the specified elliptic field 73 * @param field the finite field that this elliptic curve is over. 74 * @param a the first coefficient of this elliptic curve. 75 * @param b the second coefficient of this elliptic curve. 87 * Creates an elliptic curve with the specified elliptic field 89 * <code>b</code>, and the <code>seed</code> used for curve generation. 90 * @param field the finite field that this elliptic curve is over. 91 * @param a the first coefficient of this elliptic curve. 92 * @param b the second coefficient of this elliptic curve [all...] |
/openjdk7/jdk/test/java/security/spec/ |
H A D | EllipticCurveMatch.java | 27 * @summary Check EllipticCurve.equals() does not compare seed value of curve. 45 private static EllipticCurve addSeedToCurve(EllipticCurve curve) argument 51 return new EllipticCurve (curve.getField(), curve.getA(), curve.getB(), 70 throw new Exception("Original curve doesn't equal itself"); 73 throw new Exception ("Original curve doesn't equal seeded curve"); 76 throw new Exception ("Seeded curve doesn't equal itself"); 79 throw new Exception ("Seeded curve does [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECParameters.java | 54 * -- which the curve is defined 55 * curve Curve, -- coefficients a and b of the 56 * -- elliptic curve 58 * -- on the elliptic curve 85 public static ECPoint decodePoint(byte[] data, EllipticCurve curve) argument 90 int n = (curve.getField().getFieldSize() + 7 ) >> 3; 102 public static byte[] encodePoint(ECPoint point, EllipticCurve curve) { argument 104 int n = (curve.getField().getFieldSize() + 7) >> 3; 134 // If params does not represent a known named curve, return null. 142 // This can go away once we decide how to expose curve name [all...] |
H A D | NamedCurve.java | 56 private NamedCurve(String name, ObjectIdentifier oid, EllipticCurve curve, argument 58 super(curve, g, n, h); 132 EllipticCurve curve = new EllipticCurve(field, bi(a), bi(b)); 137 NamedCurve params = new NamedCurve(name, oid, curve, g, bi(n), h); 150 // the curve is marked as a default curve. 158 private final static int P = 1; // prime curve 159 private final static int B = 2; // binary curve 160 private final static int PD = 5; // prime curve, mark as default 161 private final static int BD = 6; // binary curve, mar [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Dasher.java | 59 // temporary storage for the current curve 142 // fullCurve is true iff the curve in pts has not been split. 223 // that contains the curve we want to dash in the first type elements 233 int curCurveoff = 0; // initially the current curve is at curCurvepts[0...type] 262 private static boolean pointCurve(float[] curve, int type) { argument 264 if (curve[i] != curve[i-2]) { 272 // t values where the left side of the curve has a specified length. 273 // It does this by subdividing the input curve until a certain error 278 // through the tree when we need the next subdivided curve) [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | JsseJce.java | 387 static ECPoint decodePoint(byte[] encoded, EllipticCurve curve) argument 389 return ECParameters.decodePoint(encoded, curve); 392 static byte[] encodePoint(ECPoint point, EllipticCurve curve) { argument 393 return ECParameters.encodePoint(point, curve);
|
/openjdk7/jdk/src/share/native/sun/security/ec/ |
H A D | ECC_JNI.cpp | 56 SECITEM_FreeItem(&ecparams->curve.a, B_FALSE); 57 SECITEM_FreeItem(&ecparams->curve.b, B_FALSE); 58 SECITEM_FreeItem(&ecparams->curve.seed, B_FALSE); 91 /* bad curve OID */ 201 /* bad curve OID */ 300 /* bad curve OID */ 371 /* bad curve OID */
|
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ec.c | 85 * the curve whose parameters are encoded in params with base point G. 175 /* Set up mp_ints containing the curve coefficients */ 181 SECITEM_TO_MPINT( params->curve.a, &a ); 182 SECITEM_TO_MPINT( params->curve.b, &b ); 244 * point multiplication of that value with the curve's base point. 298 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve.a, 299 &ecParams->curve.a, kmflag)); 300 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve.b, 301 &ecParams->curve.b, kmflag)); 302 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve [all...] |
H A D | ecdecode.c | 54 #include "ecl-curve.h" 130 CHECK_OK(hexString2SECItem(NULL, ¶ms->curve.a, 132 CHECK_OK(hexString2SECItem(NULL, ¶ms->curve.b, 330 * (the NIST K-163 curve) 344 * (the NIST B-163 curve) 364 * (the NIST K-233 curve) 372 * (the NIST B-233 curve) 386 * (the NIST K-283 curve) 394 * (the NIST B-283 curve) 402 * (the NIST K-409 curve) [all...] |
H A D | ecc_impl.h | 192 ECCurve curve; member in struct:ECParamsStr 204 SECItem publicValue; /* elliptic curve point encoded as
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | RenderTests.java | 853 CubicCurve2D curve = new CubicCurve2D.Float(); field in class:RenderTests.FillCubics.Context 868 CubicCurve2D curve = cctx.curve; 874 curve.setCurve(x, y+size/2.0, 882 g2d.fill(curve); 907 CubicCurve2D curve = new CubicCurve2D.Float(); field in class:RenderTests.DrawCubics.Context 922 CubicCurve2D curve = cctx.curve; 928 curve.setCurve(x, y+size/2.0, 936 g2d.draw(curve); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11ECKeyFactory.java | 65 // Check that spec is a known supported curve and convert it to our 79 static ECPoint decodePoint(byte[] encoded, EllipticCurve curve) throws IOException { argument 80 return ECParameters.decodePoint(encoded, curve);
|
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/ |
H A D | README | 235 The img_bwgamma table allows a gamma curve to be placed on the
|