Working ecdsa.c