Just update additional information in case someone is still looking for a solution.
OpenCryptoJC lib does provide BigNumbers, EC primitive operations, etc. Thus, you should be able to load your own curve and its parameters.
However, if this curve is not supported by the map, you use lib to perform operations on the curve yourself. This is not trivial though ...
Alternatively, if there is any comparison between the GF (2 ^ n) curve that you want to use and the other GF (p), you can try all the operations in GF (p) and they will display the results back to GF (2 ^ n). This might be easier to do if we assume that such a mapping.
Disclaimer: I am one of the authors of lib . :)
Vasilios Mavroudis
source share