card: New command 'authenticate'.
* tools/card-tool-misc.c (hex_to_buffer): New. * tools/gpg-card-tool.c (get_data_from_file): Change to allow returning a string. (cmd_authenticate): New. (cmds): Add command "authenticate".
- Signed-off-by: Werner Koch <wk@gnupg.org>