The second example of code in readme should use an ECConfig object, instead of OCConfig, therefore the correct code is:
public ECExample() {
// Pre-allocate all helper structures
ecc = new ECConfig((short) 256);
// Pre-allocate standard SecP256r1 curve and two EC points on this curve
...
}
The second example of code in readme should use an
ECConfig
object, instead ofOCConfig
, therefore the correct code is: