add ECDSA support
Merge branch 'fxdupont-ecdsa-dsa'