Optimized C library for EC operations on curve secp256k1