1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-03 22:48:03 +02:00
gnupg/scd
Werner Koch 9a8d7e41bb
scd: Map some error codes from libusb to ccid-driver error codes.
* scd/ccid-driver.h (CCID_DRIVER_ERR_USB_*): New error codes.
* scd/apdu.h: New SW_HOST error codes.
* scd/apdu.c (host_sw_string): Print them
* scd/ccid-driver.c (map_libusb_error): New.
(ccid_open_usb_reader, bulk_in, abort_cmd): Map libusb error codes.
* scd/iso7816.c (map_sw): Map new codes to gpg-error.
--

This change will help to get low level error conditions from hipher
application code.

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-08-12 16:06:49 +02:00
..
apdu.c scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
apdu.h scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
app-common.h scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-nks.c scd:nks: Implement writecert for the Signature card v2. 2020-07-02 18:35:34 +02:00
app-openpgp.c scd: Silence compiler warning. 2020-07-31 17:03:09 +09:00
app-p15.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-piv.c scd:piv: Allow signing using PSS. 2020-08-10 10:22:42 +02:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app.c scd: Fix Yubikey app switching problem 2020-05-26 16:24:12 +02:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
ccid-driver.h scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c agent: Add option --pss to pksign to be used by smartcards. 2020-08-10 10:22:42 +02:00
iso7816.c scd: Map some error codes from libusb to ccid-driver error codes. 2020-08-12 16:06:49 +02:00
iso7816.h scd:nks: Implement writecert for the Signature card v2. 2020-07-02 18:35:34 +02:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c gpgconf: Further simplify the gpgconf option processing. 2020-03-14 19:12:41 +01:00
scdaemon.h scd: New command DEVINFO. 2020-04-02 15:39:26 +09:00