Added ECDSA code