Home GnuPG
Diffusion GnuPG 755f92e2afaa

scd: PC/SC pinpad input improvement.
755f92e2afaaUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: PC/SC pinpad input improvement.

* scd/apdu.c (struct reader_table_s): Add members: PINMIN, PINMAX, and
PINPAD_VERLEN_SUPPORTED.
(CM_IOCTL_VENDOR_IFD_EXCHANGE, FEATURE_GET_TLV_PROPERTIES,
PCSCv2_PART10_PROPERTY_*): New.
(new_reader_slot): Initialize pinpad_varlen_supported, pinmin, pinmax.
(pcsc_vendor_specific_init): New.
(open_pcsc_reader_direct, open_pcsc_reader_wrapped): Call
pcsc_vendor_specific_init.
(check_pcsc_pinpad): Not detect here but use the result of
pcsc_vendor_specific_init.
(pcsc_pinpad_verify, pcsc_pinpad_modify): Specify bNumberMessage.

(cherry picked from commit 95a3bffeaf07e8bf9487d4b165c336d166236fc1)

  • Signed-off-by: NIIBE Yutaka

Details

Provenance
gniibeAuthored on Aug 30 2013, 4:06 AM
Parents
rG6acb1d06f02c: scd: add support for RSA_CRT and RSA_CRT_N key import.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG755f92e2afaa: scd: PC/SC pinpad input improvement. (authored by NIIBE Yutaka <gniibe@fsij.org>).Aug 30 2013, 4:15 AM