Add ECDSA test files.
Add support for ECDSA public keys.
Remove dead code.