scd: Implement decryption for PIV cards.
authorWerner Koch <wk@gnupg.org>
Mon, 11 Feb 2019 14:32:54 +0000 (15:32 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 11 Feb 2019 14:32:54 +0000 (15:32 +0100)
commit43b14b4cc227311aa77b1fc1d9577c5f7d3eda86
treea39c96be2bbba6b03fc5d5e0423dc4ee7b834bc8
parentb2838694402ce0cfc2ef70451bf0e6677b875ca9
scd: Implement decryption for PIV cards.

* scd/app-piv.c (do_decipher): New.
--

Note that ECDH decryption has not been tested due to the lack of ECC
support in gpgsm.

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