Move ECDSA implementation to crypto/ec