aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scd: Add more status word values for documentation.Werner Koch2011-12-141-0/+3
|
* scd: Add debug option for reader function calls.Werner Koch2011-12-141-1/+0
| | | | | | | | * scd/scdaemon.h (DBG_READER_VALUE, DBG_READER): New. * scd/apdu.c (apdu_open_reader, apdu_close_reader) (apdu_shutdown_reader, apdu_connect, apdu_disconnect) (apdu_reset, apdu_get_atr, apdu_get_status): Add debug code. (apdu_activate): Remove this unused function.
* PC/SC pinpad support (pinpad input for modify pass phrase with resetcode, by ↵NIIBE Yutaka2011-11-291-4/+0
| | | | admin).
* PC/SC pinpad support (pinpad input for modify pass phrase).NIIBE Yutaka2011-11-291-0/+3
|
* PC/SC pinpad support.NIIBE Yutaka2011-11-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-6/+3
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Detect non operational readers.Werner Koch2011-01-251-2/+2
| | | | Backport from 2.0.
* Add code to better handle unplugging of a reader.Werner Koch2009-07-161-0/+1
|
* Add new prototypesWerner Koch2009-07-131-0/+2
|
* Improved smartcard robustness.Werner Koch2009-05-131-1/+1
|
* Implement decryption for TCOS 3 cards.Werner Koch2009-03-301-4/+6
|
* SCD changes for PC/SC under W32.Werner Koch2008-10-141-2/+12
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-2/+6
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Preparing an interim releaseWerner Koch2005-11-281-1/+8
|
* Basically made Belgian EID cards work.Werner Koch2005-09-051-1/+5
| | | | | | Signature creation has not yet been tested. Also other changes to better cope with T=0 cards.
* Added ID keywords because these files are often used in other packages.Werner Koch2004-10-141-0/+2
|
* Preparing a new release. Updated gettextWerner Koch2004-09-301-0/+1
|
* * configure.ac: Changed tests for libusb to also suuport theWerner Koch2004-08-051-1/+2
| | | | | | | | | | | | | | | | | | stable version 0.1.x. * scdaemon.texi (Card applications): New section. * scdaemon.c (main): New option --disable-application. * app.c (is_app_allowed): New. (select_application): Use it to check for disabled applications. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented.
* (reader_table_s): Add function pointers for the backends.Werner Koch2004-07-161-2/+25
| | | | | | | | | | | | | | | | | | (apdu_close_reader, apdu_get_status, apdu_activate) (send_apdu): Make use of them. (new_reader_slot): Intialize them to NULL. (dump_ccid_reader_status, ct_dump_reader_status): New. (dump_pcsc_reader_status): New. (open_ct_reader, open_pcsc_reader, open_ccid_reader) (open_osc_reader, open_rapdu_reader): Intialize function pointers. (ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu) (error_string): Removed. Replaced by apdu_strerror. (get_ccid_error_string): Removed. (ct_activate_card): Remove the unused loop. (reset_ct_reader): Implemented. (ct_send_apdu): Activate the card if not yet done. (pcsc_send_apdu): Ditto.
* * pcsc-wrapper.c: New.Werner Koch2004-04-201-2/+9
| | | | | | | | * Makefile.am (pkglib_PROGRAMS): Install it here. * apdu.c (writen, readn): New. (open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the pcsc-wrapper if we are using Pth.
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-1/+4
| | | | | smartcard applications.
* * command.c (cmd_checkpin): New.Werner Koch2003-10-211-0/+1
| | | | | | | | | (register_commands): Add command CHECKPIN. * app.c (app_check_pin): New. * app-openpgp.c (check_against_given_fingerprint): New. Factored out that code elsewhere. (do_check_pin): New.
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-1/+2
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+73
'GNUPG-1-9-BRANCH'.