Initial ECDSA implementation.