1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

scd: Support VASCO DIGIPASS 920 in the ccid-driver.

* scd/ccid-driver.c (VENDOR_VASCO, VASCO_920): New.
(ccid_transceive_secure): Maximum is 15 for VASCO DIGIPASS 920.
This commit is contained in:
NIIBE Yutaka 2012-01-05 11:43:37 +09:00
parent ce4bdfd46b
commit 048ba1aedc

View File

@ -210,7 +210,8 @@ enum {
VENDOR_OMNIKEY= 0x076b, VENDOR_OMNIKEY= 0x076b,
VENDOR_GEMPC = 0x08e6, VENDOR_GEMPC = 0x08e6,
VENDOR_KAAN = 0x0d46, VENDOR_KAAN = 0x0d46,
VENDOR_FSIJ = 0x234B VENDOR_FSIJ = 0x234b,
VENDOR_VASCO = 0x1a44
}; };
/* Some product ids. */ /* Some product ids. */
@ -220,7 +221,7 @@ enum {
#define SCM_SCR3320 0x5117 #define SCM_SCR3320 0x5117
#define SCM_SPR532 0xe003 #define SCM_SPR532 0xe003
#define CHERRY_ST2000 0x003e #define CHERRY_ST2000 0x003e
#define VASCO_920 0x0920
/* A list and a table with special transport descriptions. */ /* A list and a table with special transport descriptions. */
enum { enum {
@ -3131,6 +3132,9 @@ ccid_transceive_secure (ccid_driver_t handle,
case VENDOR_KAAN: /* Tested with KAAN Advanced (1.02). */ case VENDOR_KAAN: /* Tested with KAAN Advanced (1.02). */
case VENDOR_FSIJ: /* Tested with the gnuk code (2011-01-05). */ case VENDOR_FSIJ: /* Tested with the gnuk code (2011-01-05). */
break; break;
case VENDOR_VASCO: /* Tested with DIGIPASS 920 */
pinlen_max = 15;
break;
case VENDOR_CHERRY: case VENDOR_CHERRY:
/* The CHERRY XX44 keyboard echos an asterisk for each entered /* The CHERRY XX44 keyboard echos an asterisk for each entered
character on the keyboard channel. We use a special variant character on the keyboard channel. We use a special variant