Directory src/

Directory Created:
2003-08-12 14:40
Total Files:
30
Deleted Files:
10
Lines of Code:
11335

[root]/src
        directory in repo openct (8 files, 1149 lines)
        directory in repo towitoko (7 files, 1237 lines)

Lines of Code

src/ Lines of Code

Developers

AuthorChangesLines of CodeLines per Change
rousseau1091 (100.0%)16940 (100.0%)15.5

Most Recent Commits

rousseau 2010-09-20 10:13 Rev.: 5263

Rename to add the number in the file name. The file shall be _after_
91-permissions.rules on Debian.

See http://permalink.gmane.org/gmane.linux.hotplug.devel/16139

43 lines of code changed in 2 files:

  • src: 92_pcscd_ccid.rules (new 43), pcscd_ccid.rules (del)
rousseau 2010-09-14 11:29 Rev.: 5252

SecurePINVerify() & SecurePINModify(): Accept big and little endian byte
orders for multibytes fields

The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32()
any more and just use the normal byte order of the architecture.

Thanks to Douglas E. Engert for the patch
http://archives.neohapsis.com/archives/dev/muscle/2010-q3/0145.html

50 lines of code changed in 1 file:

  • src: commands.c (+50)
rousseau 2010-09-13 15:00 Rev.: 5251

Use GROUP= instead of RUN+= to avoid a race

See the thread "Use GROUP= in a rule matching an interface of the
device?" on linux-hotplug@vger.kernel.org mailing list
http://www.spinics.net/lists/hotplug/msg04165.html

2 lines of code changed in 1 file:

  • src: pcscd_ccid.rules (+2 -2)
rousseau 2010-09-04 16:41 Rev.: 5244

Add a ENV{DEVTYPE}!="usb_device" rule as suggested by Marco d'Itri

1 lines of code changed in 1 file:

  • src: pcscd_ccid.rules (+1)
rousseau 2010-09-02 14:56 Rev.: 5223

Change the group ownership of the device to "pcscd" when a reader is
connected

14 lines of code changed in 1 file:

  • src: pcscd_ccid.rules (+14 -12)
rousseau 2010-09-02 14:50 Rev.: 5222

Add $Id$

1 lines of code changed in 1 file:

  • src: pcscd_ccid.rules (+1)
rousseau 2010-09-02 14:47 Rev.: 5221

Factorize teh SUBSYSTEMS=="usb" test

13 lines of code changed in 1 file:

  • src: pcscd_ccid.rules (+13 -12)
rousseau 2010-08-31 10:58 Rev.: 5206

ifdhandler.c: In function �IFDHPolling�:
ifdhandler.c:328: warning: unused variable �ret�

0 lines of code changed in 1 file:

  • src: ifdhandler.c (-1)
rousseau 2010-08-31 10:55 Rev.: 5205

Convert the return value from libusb code to IFD_* in InterruptRead()
instead of IFDHPolling().

We do not return IFD_NO_SUCH_DEVICE any more. This value will be
returned by the next libusb_*() call

4 lines of code changed in 2 files:

  • src: ccid_usb.c (+3 -1), ifdhandler.c (+1 -6)
rousseau 2010-08-26 11:32 Rev.: 5188

IFDHSetCapabilities(): remove dead comments

0 lines of code changed in 1 file:

  • src: ifdhandler.c (-5)
rousseau 2010-08-26 10:58 Rev.: 5185

Include config.h before any other local includes to the configuration
defined in config.h is used.

This is just a preventive change.

5 lines of code changed in 5 files:

  • src: ccid_serial.c (+1 -1), ccid_usb.c (+1 -1), commands.c (+1 -1), ifdhandler.c (+1 -1), utils.c (+1)
rousseau 2010-08-24 11:46 Rev.: 5182

ccid_open_hack_pre(): call InterruptRead() only if the device has an
interrupt pipe endpoint (3 in total)

2 lines of code changed in 1 file:

  • src: ccid.c (+2 -1)
rousseau 2010-08-23 11:03 Rev.: 5176

ccid_open_hack_pre(): use InterruptRead() with a timeout of 100ms
instead of 10ms to give more time to the device to respond.

This allows the Gemalto SG CCID to always start correctly, not just once
in a while.

2 lines of code changed in 1 file:

  • src: ccid.c (+2 -2)
rousseau 2010-08-23 10:35 Rev.: 5174

ccid_open_hack_pre(): Do not disable the call to InterruptRead() on Mac
OS X. We now use libusb-1.0 and the timeout should work.

This allows the Gemalto SG CCID to work under Mac OS X.

0 lines of code changed in 1 file:

  • src: ccid.c (-4)
rousseau 2010-08-19 16:54 Rev.: 5165

Use the new Info.plist parser API

2466 lines of code changed in 5 files:

  • src: Makefile.am (+3 -1), ccid_usb.c (+41 -41), ifdhandler.c (+14 -5), simclist.c (new 1437), simclist.h (new 971)
rousseau 2010-08-19 15:58 Rev.: 5164

OpenSerialByName(): TOKEN_MAX_VALUE_SIZE is no more defined in parser.h

Use MAX_DEVICENAME defined as 255 in pcscd.h

2 lines of code changed in 1 file:

  • src: ccid_serial.c (+2 -1)
rousseau 2010-08-17 11:47 Rev.: 5153

Do not hardcode the libusb-1.0 include header path (remove the
libusb-1.0/ part)

2 lines of code changed in 2 files:

  • src: ccid_usb.c (+1 -1), ccid_usb.h (+1 -1)
rousseau 2010-08-01 19:15 Rev.: 5090

Install the serial configuration find in /etc/reader.conf.d/libccidtwin
instead of /etc/reader.conf.
pcscd (>= 1.6.0) will parse all the files from /etc/reader.conf.d/

2 lines of code changed in 1 file:

  • src: Makefile.am (+2 -7)
rousseau 2010-08-01 18:46 Rev.: 5083

Do not #include "ccid_usb.h"
Compilation fails on Mac OS X for the libccidtwin library

0 lines of code changed in 2 files:

  • src: ccid.c (-1), commands.c (-1)
rousseau 2010-07-29 15:30 Rev.: 5078

add get_IFSC() to get the IFSC value from the ATR.

IFSC is not just the value of TAi (i>2)
For example "3B 80 81 1F 07 19" has a TA3 but it is not the IFSC since
T=15 is defined in TD2 so before TA3

44 lines of code changed in 1 file:

  • src: ifdhandler.c (+44 -24)
rousseau 2010-07-29 12:06 Rev.: 5077

libusb <= 1.0.8 does not implement a reference counter in
libusb_init()/libusb_exit() for the default context.

We then use our own and unique libusb context.

10 lines of code changed in 1 file:

  • src: ccid_usb.c (+10 -5)
rousseau 2010-07-27 12:46 Rev.: 5076

check the return value of libusb_get_active_config_descriptor()

5 lines of code changed in 1 file:

  • src: parse.c (+5)
rousseau 2010-07-27 11:49 Rev.: 5075

parse do need some parts of libccid

5 lines of code changed in 2 files:

  • src: Makefile.am (+1 -1), parse.c (+4)
rousseau 2010-07-27 10:54 Rev.: 5074

parse do not need to be linked with libccid

1 lines of code changed in 1 file:

  • src: Makefile.am (+1 -1)
rousseau 2010-07-26 15:37 Rev.: 5072

ccid_open_hack_post(): update the Gemalto proprietary command to switch
in EMV mode. 0xA0 was an old value no more used on new products.

2 lines of code changed in 1 file:

  • src: ccid.c (+2 -2)
rousseau 2010-07-01 14:04 Rev.: 5052

ccid_parse_interface_descriptor(): document "USB Wake up signaling
supported on card insertion and removal" in dwFeatures

2 lines of code changed in 1 file:

  • src: parse.c (+2)
rousseau 2010-06-29 14:00 Rev.: 5043

OpenUSBByName(): use DEBUG_CRITICAL() instead of printf() to log an
error

1 lines of code changed in 1 file:

  • src: ccid_usb.c (+1 -1)
rousseau 2010-06-22 14:58 Rev.: 5034

WriteUSB() & ReadUSB(): also display the value returned by libusb. The
error is not always reported by the kernel so errno is not significant.

4 lines of code changed in 1 file:

  • src: ccid_usb.c (+4 -4)
rousseau 2010-06-22 14:56 Rev.: 5033

Add DEBUG_CRITICAL5() function

2 lines of code changed in 1 file:

  • src: debug.h (+2)
rousseau 2010-06-22 11:27 Rev.: 5028

Add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous
libusb API to be able to stop a transfer.

We are now "polling" for card movements every 1 hour or once an event
is detected on the interrupt endpoint of the device.

Another gain is that the driver will terminate "instantly" after pcscd
request instead of after a maximum of 2 seconds (previous polling
timeout).

125 lines of code changed in 3 files:

  • src: ccid_usb.c (+90 -8), ccid_usb.h (+1), ifdhandler.c (+34 -1)
rousseau 2010-06-22 11:18 Rev.: 5027

Use ctx instead of NULL to keep the information that this parameter is
the libusb context.

7 lines of code changed in 1 file:

  • src: ccid_usb.c (+7 -4)
rousseau 2010-06-22 11:13 Rev.: 5026

OpenUSBByName(): call libusb_exit() if we can't use the reader

CloseUSB(): call libusb_exit() before exiting

5 lines of code changed in 1 file:

  • src: ccid_usb.c (+5)
rousseau 2010-06-21 16:50 Rev.: 5025

OpenUSBByName(): free the libusb allocated list & devices when we are
done with it

3 lines of code changed in 1 file:

  • src: ccid_usb.c (+3)
rousseau 2010-06-21 16:44 Rev.: 5024

OpenUSBByName(): call libusb_init() just before the next libusb call

2 lines of code changed in 1 file:

  • src: ccid_usb.c (+2 -2)
rousseau 2010-06-17 15:28 Rev.: 5014

use PROTOCOL_CCID instead of 0 when checking bInterfaceProtocol

2 lines of code changed in 2 files:

  • src: ccid.c (+1 -1), ifdhandler.c (+1 -1)
rousseau 2010-06-17 15:18 Rev.: 5013

Rename ICCD_A in PROTOCOL_ICCD_A, ICCD_B in PROTOCOL_ICCD_B and add
PROTOCOL_CCID for plain CCID

21 lines of code changed in 4 files:

  • src: ccid.c (+2 -2), ccid.h (+3 -2), commands.c (+12 -12), ifdhandler.c (+4 -4)
rousseau 2010-06-17 14:34 Rev.: 5012

get_end_points(): use LIBUSB_ENDPOINT_DIR_MASK instead of
LIBUSB_TRANSFER_TYPE_MASK to get the direction of an endpoint.

.bulk_out field were never set and then not working (No such file or
directory)

2 lines of code changed in 1 file:

  • src: ccid_usb.c (+2 -2)
rousseau 2010-06-17 14:24 Rev.: 5011

WriteUSB() & ReadUSB(): the same function libusb_bulk_transfer() is now
ued to read and write to a USB device. So I use "write failed" and "read
failed" instead of the libusb function name to log an error.

2 lines of code changed in 1 file:

  • src: ccid_usb.c (+2 -2)
rousseau 2010-06-17 11:51 Rev.: 5010

WriteUSB(), ReadUSB() & InterruptRead(): display strerror(errno) instead
of just the code returned by the libusb_*_transfer() function

6 lines of code changed in 1 file:

  • src: ccid_usb.c (+6 -6)
rousseau 2010-06-14 16:02 Rev.: 4993

use libusb-1.0/libusb.h instead of usb.h (from libusb-0.1)

14 lines of code changed in 1 file:

  • src: ccid_usb.c (+14 -7)

(733 more)

Generated by StatSVN 0.7.0