Optimized C library for secp256k1 ECDSA