mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
scd,ccid: Add 08e6:34c2 (GEMPC_EZIO).
* scd/ccid-driver.c (ccid_transceive_secure): Add pinpad support for 08e6:34c2 which supports extended APDU exchange. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
926cccef85
commit
c933c15d58
@ -3435,15 +3435,29 @@ ccid_transceive_secure (ccid_driver_t handle,
|
||||
cherry_mode = 1;
|
||||
break;
|
||||
case VENDOR_NXP:
|
||||
if (handle->id_product == CRYPTOUCAN){
|
||||
pininfo->maxlen = 25;
|
||||
enable_varlen = 1;
|
||||
}
|
||||
if (handle->id_product == CRYPTOUCAN)
|
||||
{
|
||||
pininfo->maxlen = 25;
|
||||
enable_varlen = 1;
|
||||
}
|
||||
break;
|
||||
case VENDOR_GEMPC:
|
||||
if (handle->id_product == GEMPC_PINPAD)
|
||||
{
|
||||
pininfo->maxlen = 25;
|
||||
enable_varlen = 1;
|
||||
break;
|
||||
}
|
||||
else if (handle->id_product == GEMPC_EZIO)
|
||||
{
|
||||
enable_varlen = 0;
|
||||
pininfo->minlen = 4;
|
||||
pininfo->maxlen = 8;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if ((handle->id_vendor == VENDOR_GEMPC &&
|
||||
handle->id_product == GEMPC_PINPAD)
|
||||
|| (handle->id_vendor == VENDOR_VEGA &&
|
||||
if ((handle->id_vendor == VENDOR_VEGA &&
|
||||
handle->id_product == VEGA_ALPHA))
|
||||
{
|
||||
enable_varlen = 0;
|
||||
|
@ -83,6 +83,7 @@ enum {
|
||||
#define VASCO_920 0x0920
|
||||
#define GEMPC_PINPAD 0x3478
|
||||
#define GEMPC_CT30 0x3437
|
||||
#define GEMPC_EZIO 0x34c2 /* (!=34c0) Also known as IDBridge CT710 */
|
||||
#define VEGA_ALPHA 0x0008
|
||||
#define CYBERJACK_GO 0x0504
|
||||
#define CRYPTOUCAN 0x81e6
|
||||
|
Loading…
x
Reference in New Issue
Block a user