Directory src/openct/

Directory Created:
2004-06-30 11:37
Total Files:
8
Deleted Files:
0
Lines of Code:
1149

[root]/src/openct

Lines of Code

src/openct/ Lines of Code

Developers

AuthorChangesLines of CodeLines per Change
rousseau55 (100.0%)1460 (100.0%)26.5

Most Recent Commits

rousseau 2010-01-04 15:49 Rev.: 4636

t1_release(): fix compilation warning
openct/proto-t1.c:116: warning: unused parameter �t1�

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1)
rousseau 2009-04-10 09:51 Rev.: 3425

t1_transceive(): receiving a WTX block asking for more time is not a
critical error. Use DEBUG_COMM2 instead of DEBUG_CRITICAL2

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1 -1)
rousseau 2009-01-26 15:41 Rev.: 3293

reformat to ease diff with proto-t1.c from OpenCT

47 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+47 -60)
rousseau 2009-01-26 15:02 Rev.: 3292

rename t1_negociate_ifsd() in t1_negotiate_ifsd() to be in sync with
OpenCT

2 lines of code changed in 2 files:

  • src/openct: proto-t1.c (+1 -1), proto-t1.h (+1 -1)
rousseau 2008-05-28 20:32 Rev.: 2974

update Free Software Foundation mail address

6 lines of code changed in 2 files:

  • src/openct: checksum.h (+3 -3), proto-t1.h (+3 -3)
rousseau 2008-04-29 13:51 Rev.: 2916

t1_transceive(): correctly reply to S(ABORT request) with a S(ABORT
response) instead of a S(RESYNC request)

Thanks to Alon Bar-Lev for the bug report

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1 -1)
rousseau 2006-12-02 19:20 Rev.: 2260

#include "checksum.h"

1 lines of code changed in 1 file:

  • src/openct: checksum.c (+1)
rousseau 2006-09-06 22:06 Rev.: 2152

remove trailing spaces at end of lines

5 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+5 -5)
rousseau 2006-07-03 15:59 Rev.: 2091

use CCID_Receive() with the new API (use NULL as chain_parameter)

3 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+3 -3)
rousseau 2006-05-19 13:56 Rev.: 2046

t1_transceive(): add a overrun debug message if we received more bytes
than we can store.

3 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+3)
rousseau 2006-05-19 13:53 Rev.: 2045

t1_transceive(): add a debug message if we are in state DEAD. The card
must be reset first.

3 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+3)
rousseau 2006-02-06 17:08 Rev.: 1856

export t1_build() and some constants

11 lines of code changed in 2 files:

  • src/openct: proto-t1.c (+1 -10), proto-t1.h (+10)
rousseau 2005-11-29 14:21 Rev.: 1771

remove PCSC/ from the pcsc-lite #include header files since the PCSC/
part is already given by `pkg-config --cflags libpcsclite`

2 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+2 -2)
rousseau 2005-11-24 16:21 Rev.: 1739

t1_xcv(): correct the comment about &rmax

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1 -1)
rousseau 2005-11-24 16:19 Rev.: 1738

t1_xcv(): the second argument of CCID_Receive() is (unsigned int *)
so we can't use &rmax since &rmax is a (size_t *) and may not
be the same on 64-bits architectures for example (iMac G5) */

14 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+14 -3)
rousseau 2005-04-26 16:35 Rev.: 1454

t1_xcv(): increase the read timeout if the card sends and WTX request

18 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+18)
rousseau 2005-04-21 09:41 Rev.: 1427

#include <stdint.h> only if HAVE_STDINT_H is defined.
Some old FreeBSD do not have stdint.h.

Thanks to Tilman Linneweh for the patch

10 lines of code changed in 3 files:

  • src/openct: checksum.c (+3), checksum.h (+3), proto-t1.h (+4 -1)
rousseau 2005-03-14 20:56 Rev.: 1399

change licence from GNU GPL to GNU LGPL

20 lines of code changed in 2 files:

  • src/openct: checksum.h (+10 -10), proto-t1.h (+10 -10)
rousseau 2004-10-19 09:22 Rev.: 1286

Add support of character level communication (CCID_CLASS_CHARACTER).

Thanks to Jeffrey Dai

45 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+45 -12)
rousseau 2004-08-24 09:32 Rev.: 1194

t1_negociate_ifsd: the frame size is 5 only for LRC checksum. The
correct size is (4 + t1->rc_bytes)

2 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+2 -1)
rousseau 2004-07-27 08:42 Rev.: 1103

this code fails EMV test 1771-4 (should be a residue)

8 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+8 -18)
rousseau 2004-07-26 15:41 Rev.: 1102

- debug some cases
- add ISO 7816-3 rule number in comments

48 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+48 -9)
rousseau 2004-07-20 11:19 Rev.: 1087

remove "|| sent_length" in "if (retries == 0 || sent_length)" since it
is an OpenCT code that should not be needed with the new automata.

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1 -1)
rousseau 2004-07-20 11:16 Rev.: 1086

update the copyright, add my name to reflect the same change in OpenCT

3 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+3)
rousseau 2004-07-19 15:32 Rev.: 1084

BUG: I forgot to initialise the t1.lun field. It failed to work with
more than one readers and a T=1 card in a TPDU reader.

4 lines of code changed in 2 files:

  • src/openct: proto-t1.c (+3 -1), proto-t1.h (+1 -1)
rousseau 2004-07-19 11:36 Rev.: 1083

in resync: we set retries = 1 since when we return in the loop we have
retries--;
Without this retries goes negative and the test 'if (retries == 0)' will
not become true again before a looooong time.

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1)
rousseau 2004-07-15 16:52 Rev.: 1075

use "uint8_t *" instead of "unsigned char *" in the prototype of
t1_state_t.checksum field.

2 lines of code changed in 1 file:

  • src/openct: proto-t1.h (+2 -2)
rousseau 2004-07-15 11:31 Rev.: 1071

remove a useless break; after a goto;

0 lines of code changed in 1 file:

  • src/openct: proto-t1.c (-1)
rousseau 2004-07-15 11:19 Rev.: 1070

in t1_transceive() and t1_negociate_ifsd() dad argument is unsigned.

4 lines of code changed in 2 files:

  • src/openct: proto-t1.c (+2 -2), proto-t1.h (+2 -2)
rousseau 2004-07-15 11:11 Rev.: 1069

replace "unsigned char *" by "uint8_t *" to use the exact same prototype as in
the functions definition

3 lines of code changed in 1 file:

  • src/openct: checksum.h (+3 -2)
rousseau 2004-07-15 10:24 Rev.: 1064

define internal functions as static

7 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+7 -7)
rousseau 2004-07-15 09:26 Rev.: 1063

remove unused functions

0 lines of code changed in 2 files:

  • src/openct: buffer.c (-96), buffer.h (-9)
rousseau 2004-07-10 15:46 Rev.: 1062

change "previous_block[1]" in "previous_block[PCB]"

6 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+6 -6)
rousseau 2004-07-10 15:32 Rev.: 1061

remove unused struct ifd_protocol_ops

0 lines of code changed in 1 file:

  • src/openct: proto-t1.c (-19)
rousseau 2004-07-10 15:23 Rev.: 1060

IFD_PROTOCOL_MORE -> IFD_PROTOCOL_T1_MORE
IFD_PROTOCOL_STATE -> IFD_PROTOCOL_T1_STATE
renamed to be in line with OpenCT

6 lines of code changed in 2 files:

  • src/openct: proto-t1.c (+4 -4), proto-t1.h (+2 -2)
rousseau 2004-07-09 15:21 Rev.: 1053

mark unused arguments as /*@unused@*/ for splint

1 lines of code changed in 1 file:

  • src/openct: proto-t1.c (+1 -1)
rousseau 2004-07-02 14:06 Rev.: 1021

present where the files come from and what I did

7 lines of code changed in 1 file:

  • src/openct: README (new 7)
rousseau 2004-07-01 13:37 Rev.: 1017

#define IFD_PARITY_ERROR

4 lines of code changed in 1 file:

  • src/openct: proto-t1.h (+4)
rousseau 2004-06-30 11:37 Rev.: 986

use T=1 TPDU code from the OpenCT project <http://www.opensc.org/>;

The state automata was greatly improved to manage "all" the possible
errors cases.

1159 lines of code changed in 7 files:

  • src/openct: LICENSE (new 28), buffer.c (new 169), buffer.h (new 43), checksum.c (new 92), checksum.h (new 31), proto-t1.c (new 727), proto-t1.h (new 69)
Generated by StatSVN 0.7.0