aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2011-11-28 07:16:38 +0000
committerNIIBE Yutaka <[email protected]>2011-11-28 07:16:38 +0000
commit26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5 (patch)
treeaac121767d2bcf7d987ee412d75ce1184d7fe005 /scd/iso7816.h
parentMerge branch 'master' of git+ssh://playfair.gnupg.org/git/gnupg (diff)
downloadgnupg-26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5.tar.gz
gnupg-26b4a012e3eb3a6ce79a1e53f7cdfbbdf8c8e8f5.zip
PC/SC pinpad support.
Before this change, it is layered like following: iso7816_verify iso7816_verify_kp apdu_send_simple, apdu_send_simple_kp ... After this change, it will be layered like: iso7816_verify iso7816_verify_kp apdu_send_simple apdu_keypad_verify ... and apdu_send_simple_kp will be deprecated. For PC/SC API, we use: SCardControl API to compose CCID PC_to_RDR_Secure message SCardTransmit API to compose CCID PC_to_RDR_XfrBlock message Considering the support of PC/SC, we have nothing to share between _kp version of iso7816_* and no _kp version.
Diffstat (limited to 'scd/iso7816.h')
-rw-r--r--scd/iso7816.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/scd/iso7816.h b/scd/iso7816.h
index a37759dbe..58e81d458 100644
--- a/scd/iso7816.h
+++ b/scd/iso7816.h
@@ -63,9 +63,7 @@ gpg_error_t iso7816_check_keypad (int slot, int command,
iso7816_pininfo_t *pininfo);
gpg_error_t iso7816_verify (int slot,
int chvno, const char *chv, size_t chvlen);
-gpg_error_t iso7816_verify_kp (int slot,
- int chvno, const char *chv, size_t chvlen,
- iso7816_pininfo_t *pininfo);
+gpg_error_t iso7816_verify_kp (int slot, int chvno, iso7816_pininfo_t *pininfo);
gpg_error_t iso7816_change_reference_data (int slot, int chvno,
const char *oldchv, size_t oldchvlen,
const char *newchv, size_t newchvlen);