sshkey: Add encoding for ECDSA keys