Fifth step in converting to C: ecdsa