scd: Allow generating ECC curves on PIV cards.
authorWerner Koch <wk@gnupg.org>
Fri, 8 Feb 2019 10:53:34 +0000 (11:53 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 8 Feb 2019 10:53:34 +0000 (11:53 +0100)
commitb349adc5c0d00d2fc405a45bd078f1580b5610cc
treec10fba550d9956074286bcb42521ed414aa575c0
parente2f18023b3b3b7e55b35218f65e37448d1011172
scd: Allow generating ECC curves on PIV cards.

* scd/app-piv.c (genkey_parse_ecc): New.
(get_keygrip_by_tag): Call that one.
(do_readkey): Call that one.
* scd/command.c (cmd_genkey): Add option --algo.

Signed-off-by: Werner Koch <wk@gnupg.org>
scd/app-piv.c
scd/command.c