Some actual method functions (not enough yet to use the EC library, though), including EC arithmetics derived from Lenka Fibikova's code (with some additional optimizations).