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 04:33:44 +0000 (13:33 +0900)
commitd9f6cc7502793ed41928042cc2f968c8c7effc22
treea9c09a48aa3e6c6faf9826d03a419c0334a10d6f
parent65eb98966a569a91c97d0c23ba5582a9a7558de0
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