SCD: Add option enable-keypad-varlen and support for GEMPC_PINPAD.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 9 Jan 2013 04:24:57 +0000 (13:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 5 Feb 2013 05:05:07 +0000 (14:05 +0900)
commit7c110e997adda6252dbc7c2ff3fce1db3edaff94
treec8da76238b5f1f360072937375d71e95a1b5aae5
parent2dbd347fbe9765e72041857a5922390e01cf95f1
SCD: Add option enable-keypad-varlen and support for GEMPC_PINPAD.

* scd/scdaemon.h (opt): Add enable_keypad_varlen.
* scd/scdaemon.c (cmd_and_opt_values): Add oEnableKeypadVarlen.
(opts, main): Add oEnableKeypadVarlen.
* scd/ccid-driver.c (GEMPC_PINPAD): New.
(ccid_transceive_secure): Add enable_varlen handling.
Enable GEMPC_PINPAD.
--
Note that GEMPC_PINPAD doesn't support variable length keypad input.
The feature of fixed length keypad input will be added soon.
scd/ccid-driver.c
scd/scdaemon.c
scd/scdaemon.h