Remove unused ECDSA code (#507)