Implement ECDSA signing