Home GnuPG
Diffusion GnuPG 95a3bffeaf07

scd: PC/SC pinpad input improvement.
95a3bffeaf07Unpublished

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.
  • Signed-off-by: NIIBE Yutaka

Details

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

Event Timeline

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