doing ECDSA, NOT TESTED