Code example for ECFieldF2m

0
             
            if (curveF2m.isTrinomial())
            { 
                ks = new int[] { curveF2m.getK1() };
                 
                return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed);
            } 
            else 
            { 
                ks = new int[] { curveF2m.getK3(), curveF2m.getK2(), curveF2m.getK1() };
 
                return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed);
            }  
        } 
 
    } 
     
    private static ECPoint convertPoint(
        org.bouncycastle.math.ec.ECPoint  g)
    { 
Contextual code suggestions in your IDE  Get Codota for Java