/[pcsclite]/trunk/Drivers/ccid/src/commands.c
ViewVC logotype

Log of /trunk/Drivers/ccid/src/commands.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2421 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 22 15:11:49 2007 UTC (6 years, 3 months ago) by rousseau
File length: 44144 byte(s)
Diff to previous 2420 , to selected 2108
CmdXfrBlockTPDU_T0(): set *rx_length to 0 in case of command too long

Revision 2420 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 22 14:15:37 2007 UTC (6 years, 3 months ago) by rousseau
File length: 44108 byte(s)
Diff to previous 2406 , to selected 2108
CmdXfrBlockTPDU_T0(): set *rx_length to 0 if CCID_Transmit() fails

Revision 2406 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 20 13:34:44 2007 UTC (6 years, 3 months ago) by rousseau
File length: 44084 byte(s)
Diff to previous 2404 , to selected 2108
SecurePINModify(): set bNumberMessages in all cases

Revision 2404 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 20 13:23:44 2007 UTC (6 years, 3 months ago) by rousseau
File length: 44085 byte(s)
Diff to previous 2358 , to selected 2108
SecurePINModify(): the GemPC Twin does support different values of
bNumberMessages but all the bMsgIndex? must be present in the CCID
command

Revision 2358 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 27 13:28:26 2007 UTC (6 years, 3 months ago) by rousseau
File length: 43859 byte(s)
Diff to previous 2357 , to selected 2108
T0ProcACK(): use a hack to circumvent the Oz776 firmware bug with
commands of size modulo 64

Revision 2357 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 26 16:57:45 2007 UTC (6 years, 3 months ago) by rousseau
File length: 42878 byte(s)
Diff to previous 2285 , to selected 2108
CmdGetSlotStatus(): the O2MICRO OZ 776 reader sends "card absent or
mute" errors when no card is inserted. We do not log this error since it
is normal execution and just fill the syslog files

Revision 2285 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 25 22:33:58 2006 UTC (6 years, 4 months ago) by rousseau
File length: 42662 byte(s)
Diff to previous 2257 , to selected 2108
many commands: make sure we received at least STATUS_OFFSET+1 bytes
before reading the value of buffer[STATUS_OFFSET]

usb_bulk_read() may return 0 bytes instead of an error when the reader
is just disconnected

Revision 2257 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 2 17:12:22 2006 UTC (6 years, 5 months ago) by rousseau
File length: 41963 byte(s)
Diff to previous 2207 , to selected 2108
warning: initialization discards qualifiers from pointer target type

Revision 2207 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 15 14:33:41 2006 UTC (6 years, 6 months ago) by rousseau
File length: 41957 byte(s)
Diff to previous 2195 , to selected 2108
CmdGetSlotStatus(), CCID_Transmit() and CCID_Receive(): return
IFD_NO_SUCH_DEVICE if the lower communication layer returns
STATUS_NO_SUCH_DEVICE

Revision 2195 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 6 14:36:56 2006 UTC (6 years, 6 months ago) by rousseau
File length: 41701 byte(s)
Diff to previous 2152 , to selected 2108
SecurePINVerify(): the GemPC Pinpad does not support
a bEntryValidationCondition different of 0x02 (validation key pressed)

Revision 2152 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 6 20:06:58 2006 UTC (6 years, 8 months ago) by rousseau
File length: 41390 byte(s)
Diff to previous 2120 , to selected 2108
remove trailing spaces at end of lines

Revision 2120 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 3 10:04:01 2006 UTC (6 years, 9 months ago) by rousseau
File length: 41396 byte(s)
Diff to previous 2110 , to selected 2108
SecurePINVerify()/SecurePINModify(): the USB timeout shall be greater
than the reader timeout so we get the reader answer. I use a margin of
10 seconds.

Thanks to Gerald Richter for the bug report

Revision 2110 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 12 09:52:30 2006 UTC (6 years, 10 months ago) by rousseau
File length: 41390 byte(s)
Diff to previous 2108
CCID_Receive(): check that we received at least enough bytes to test
cmd[STATUS_OFFSET].

usb_bulk_read() will return 0 bytes without error in case of timeout

Revision 2108 - (view) (download) (annotate) - [selected]
Modified Wed Jul 12 08:21:07 2006 UTC (6 years, 10 months ago) by rousseau
File length: 41237 byte(s)
Diff to previous 2098
SetParameters(): do not fail if the command fails to set a parameter
that is not changeable by the CCID

Revision 2098 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 4 07:11:43 2006 UTC (6 years, 10 months ago) by rousseau
File length: 41101 byte(s)
Diff to previous 2096 , to selected 2108
make pcscd detect a buffer overflow when the receiving buffer is too
small instead of silently ignoring the detected problem. This problem
only occured with readers supporting Extended APDU.

Revision 2096 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 14:56:08 2006 UTC (6 years, 10 months ago) by rousseau
File length: 40692 byte(s)
Diff to previous 2095 , to selected 2108
CmdXfrBlock(): remove the unused clean_up_and_return goto label

Revision 2095 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 14:54:59 2006 UTC (6 years, 10 months ago) by rousseau
File length: 40713 byte(s)
Diff to previous 2094 , to selected 2108
CmdXfrBlock(): call CmdXfrBlockAPDU_extended() if the reader supports
Extended APDU

Revision 2094 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 14:21:15 2006 UTC (6 years, 10 months ago) by rousseau
File length: 40649 byte(s)
Diff to previous 2093 , to selected 2108
add CmdXfrBlockAPDU_extended() to support Extended APDU readers

Revision 2093 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 14:03:58 2006 UTC (6 years, 10 months ago) by rousseau
File length: 37143 byte(s)
Diff to previous 2092 , to selected 2108
CCID_Receive(): return the value of bChainParameter in *chain_parameter

Revision 2092 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 14:00:55 2006 UTC (6 years, 10 months ago) by rousseau
File length: 37002 byte(s)
Diff to previous 2091 , to selected 2108
CmdXfrBlockTPDU_T1(): also log the length of the reception buffer

Revision 2091 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 13:59:13 2006 UTC (6 years, 10 months ago) by rousseau
File length: 36983 byte(s)
Diff to previous 2090 , to selected 2108
use CCID_Receive() with the new API (use NULL as chain_parameter)

Revision 2090 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 13:56:42 2006 UTC (6 years, 10 months ago) by rousseau
File length: 36947 byte(s)
Diff to previous 2088 , to selected 2108
CCID_Receive() has a new parameter: chain_parameter

Revision 2088 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 13:44:28 2006 UTC (6 years, 10 months ago) by rousseau
File length: 36915 byte(s)
Diff to previous 2087 , to selected 2108
move the "command length too big" checks from CmdXfrBlock() to
CmdXfrBlockTPDU_T0()

Revision 2087 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 13:36:49 2006 UTC (6 years, 10 months ago) by rousseau
File length: 36907 byte(s)
Diff to previous 2086 , to selected 2108
CCID_Transmit(): log if the transmit buffer is too big

Revision 2086 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 3 13:15:59 2006 UTC (6 years, 10 months ago) by rousseau
File length: 36846 byte(s)
Diff to previous 1986 , to selected 2108
CCID_Receive(): use <= instead of < to detect a reception buffer overrun
and log an error if it occurs

Revision 1986 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 28 06:55:31 2006 UTC (7 years, 1 month ago) by rousseau
File length: 36776 byte(s)
Diff to previous 1984 , to selected 2108
SecurePINVerify() and SecurePINModify(): Make sure
bEntryValidationCondition is valid

The Cherry XX44 keyboard smart card reader crashes when a wrong value is
used

Revision 1984 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 14:39:48 2006 UTC (7 years, 1 month ago) by rousseau
File length: 36236 byte(s)
Diff to previous 1983 , to selected 2108
SecurePINVerify(): debug a debug message. use dw2i(TxBuffer, 15) instead
of just the first byte TxBuffer[15]

Revision 1983 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 14:38:35 2006 UTC (7 years, 1 month ago) by rousseau
File length: 36230 byte(s)
Diff to previous 1982 , to selected 2108
SecurePINModify(): separate the validation test in three different tests
and add a debug message for each test

Revision 1982 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 14:23:30 2006 UTC (7 years, 1 month ago) by rousseau
File length: 35861 byte(s)
Diff to previous 1981 , to selected 2108
SecurePINVerify(): debug a debug message :-)

Revision 1981 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 14:17:58 2006 UTC (7 years, 1 month ago) by rousseau
File length: 35861 byte(s)
Diff to previous 1860 , to selected 2108
SecurePINModify(): circumvent a bug in Cherry XX44 keyboard firmware

Revision 1860 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 15:44:27 2006 UTC (7 years, 3 months ago) by rousseau
File length: 35556 byte(s)
Diff to previous 1859 , to selected 2108
SecurePINVerify/SecurePINModify: get the data from a T=1 TPDU block only
if the exchange was successful (with special treatment for timeout and
cancel cases)

Revision 1859 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 15:26:28 2006 UTC (7 years, 3 months ago) by rousseau
File length: 34982 byte(s)
Diff to previous 1858 , to selected 2108
SecurePINVerify(): move the prologue filing part to be homogenous with
SecurePINModify()

Revision 1858 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 15:23:41 2006 UTC (7 years, 3 months ago) by rousseau
File length: 34930 byte(s)
Diff to previous 1857 , to selected 2108
SecurePINModify(): add support of T=1 cards with TPDU readers

Revision 1857 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 15:14:01 2006 UTC (7 years, 3 months ago) by rousseau
File length: 33701 byte(s)
Diff to previous 1800 , to selected 2108
SecurePINVerify(): add support of T=1 cards with TPDU readers

Revision 1800 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 16 13:45:50 2006 UTC (7 years, 4 months ago) by rousseau
File length: 32441 byte(s)
Diff to previous 1794 , to selected 2108
SecurePINVerify(): bug circumvention for the GemPC Pinpad
(bNumberMessage)

Revision 1794 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 11 10:34:06 2006 UTC (7 years, 4 months ago) by rousseau
File length: 32028 byte(s)
Diff to previous 1793 , to selected 2108
SecurePINModify(): bug circumvention for the GemPC Pinpad

Revision 1793 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 11 10:16:48 2006 UTC (7 years, 4 months ago) by rousseau
File length: 31360 byte(s)
Diff to previous 1790 , to selected 2108
SecurePINModify(): modify the user command to make the SPR 532 and
Cherry ST 2000C firmware happy

Revision 1790 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 11 07:51:13 2006 UTC (7 years, 4 months ago) by rousseau
File length: 30904 byte(s)
Diff to previous 1771 , to selected 2108
allow to select the power on voltage using Info.plist instead of
recompiling the source code

Revision 1771 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 29 12:21:00 2005 UTC (7 years, 5 months ago) by rousseau
File length: 31032 byte(s)
Diff to previous 1747 , to selected 2108
remove PCSC/ from the pcsc-lite #include header files since the PCSC/
part is already given by `pkg-config --cflags libpcsclite`

Revision 1747 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 15:49:00 2005 UTC (7 years, 6 months ago) by rousseau
File length: 31042 byte(s)
Diff to previous 1746 , to selected 2108
SecurePINVerify()/SecurePINModify(): set the response length to 0 in
case of (write) communication error

Revision 1746 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 15:47:10 2005 UTC (7 years, 6 months ago) by rousseau
File length: 30996 byte(s)
Diff to previous 1704 , to selected 2108
SecurePINModify(): set the response length to 0 in case of error in the
command format

Revision 1704 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 15 11:04:07 2005 UTC (7 years, 6 months ago) by rousseau
File length: 30950 byte(s)
Diff to previous 1701 , to selected 2108
SecurePINModify(): set the readTimeout to at least 30 seconds since we
are not waiting after an APDU but after a human (after the reader in
fact).

Revision 1701 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 30 14:44:25 2005 UTC (7 years, 6 months ago) by rousseau
File length: 30708 byte(s)
Diff to previous 1700 , to selected 2108
SecurePINModify(): correct management of bMsgIndex2 and bMsgIndex3

Revision 1700 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 30 14:43:16 2005 UTC (7 years, 6 months ago) by rousseau
File length: 30480 byte(s)
Diff to previous 1677 , to selected 2108
SecurePINModify(): do not copy the ulDataLength field to the CCID frame

Revision 1677 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 27 13:07:38 2005 UTC (7 years, 7 months ago) by rousseau
File length: 30315 byte(s)
Diff to previous 1675 , to selected 2108
CCID_Transmit(): cmd[8-9] is the expected length in character mode only.
It shall be 0x0000 for TPDU and short APDU modes.

Revision 1675 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 26 14:42:26 2005 UTC (7 years, 7 months ago) by rousseau
File length: 30291 byte(s)
Diff to previous 1670 , to selected 2108
SecurePINVerify(): set the readTimeout to at least 30 seconds since we
are not waiting after an APDU but after a human.

Revision 1670 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 20 07:07:26 2005 UTC (7 years, 8 months ago) by rousseau
File length: 29988 byte(s)
Diff to previous 1630 , to selected 2108
SecurePINVerify(): update the size of ulDataLength field as defined in
PCSCv2 part 10, revision 2.01.04, september 2005

Revision 1630 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 09:11:30 2005 UTC (7 years, 8 months ago) by rousseau
File length: 29955 byte(s)
Diff to previous 1600 , to selected 2108
add support of PC/SC v2 part 10 CM_IOCTL_GET_FEATURE_REQUEST
add support of FEATURE_VERIFY_PIN_DIRECT and FEATURE_MODIFY_PIN_DIRECT

remove support of IOCTL_SMARTCARD_VENDOR_VERIFY_PIN (now obsoleted)

Revision 1600 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 3 18:00:47 2005 UTC (7 years, 9 months ago) by rousseau
File length: 26156 byte(s)
Diff to previous 1566 , to selected 2108
CCID_Receive(): log time extension messages at priority COMM instead of
CRITICAL.

Thanks to Martin Paljak for the patch.

Revision 1566 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 4 09:08:27 2005 UTC (7 years, 10 months ago) by rousseau
File length: 26160 byte(s)
Diff to previous 1492 , to selected 2108
CmdPowerOn(): atr_len is unsigned
avoids a "comparison between signed and unsigned" warning

Revision 1492 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 2 11:36:08 2005 UTC (8 years ago) by rousseau
File length: 26146 byte(s)
Diff to previous 1399 , to selected 2108
CmdEscape(): replay the command if we receive STATUS_COMM_NAK

Revision 1399 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 14 18:56:53 2005 UTC (8 years, 2 months ago) by rousseau
File length: 25868 byte(s)
Diff to previous 1311 , to selected 2108
change licence from GNU GPL to GNU LGPL

Revision 1311 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 13 09:35:16 2005 UTC (8 years, 4 months ago) by rousseau
File length: 25846 byte(s)
Diff to previous 1310 , to selected 2108
CmdXfrBlockCHAR_T0(): move a variable declaration at the beginning of
the function since ISO C89 forbids mixed declarations and code

Revision 1310 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 13 09:32:17 2005 UTC (8 years, 4 months ago) by rousseau
File length: 25846 byte(s)
Diff to previous 1301 , to selected 2108
SecurePIN(): proprietary command to add the PIN code in the APDU without
any padding (this is not possible with the CCID specs).

Thanks to Martin Paljak for the patch.

Revision 1301 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 9 21:29:57 2005 UTC (8 years, 4 months ago) by rousseau
File length: 25321 byte(s)
Diff to previous 1299 , to selected 2108
SecurePIN(), CCID_Transmit(), SetParameters(): check that the user
provided command is not too large (avoid a possible buffer overflow)

Revision 1299 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 9 21:26:29 2005 UTC (8 years, 4 months ago) by rousseau
File length: 24999 byte(s)
Diff to previous 1286 , to selected 2108
SecurePIN(): directly use the user buffer passed instead of reversing
the APDU/CCID structure. It is now as described in the CCID
specifications.

Thanks to Martin Paljak. I was wrong.

Revision 1286 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 19 07:22:07 2004 UTC (8 years, 7 months ago) by rousseau
File length: 25831 byte(s)
Diff to previous 1257 , to selected 2108
Add support of character level communication (CCID_CLASS_CHARACTER).

Thanks to Jeffrey Dai

Revision 1257 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 30 14:00:13 2004 UTC (8 years, 7 months ago) by rousseau
File length: 17215 byte(s)
Diff to previous 1227 , to selected 2108
CmdGetSlotStatus(): card absent or mute is not an communication error
(even if the CCID command result indicates a command failure)

Revision 1227 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 8 20:45:19 2004 UTC (8 years, 8 months ago) by rousseau
File length: 17119 byte(s)
Diff to previous 1226 , to selected 2108
CmdPowerOn(): do not use a null terminated C string for the EMV->ISO
switch command since the command is NOT a C string

Revision 1226 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 8 20:41:24 2004 UTC (8 years, 8 months ago) by rousseau
File length: 17119 byte(s)
Diff to previous 1212 , to selected 2108
switch the Cherry xx33 reader in ISO mode if power up in EMV mode fails.
Thanks to St�phane Durand for the bug report.

Revision 1212 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 3 19:39:34 2004 UTC (8 years, 8 months ago) by rousseau
File length: 17069 byte(s)
Diff to previous 1150 , to selected 2108
SetParameters(): returns IFD_NOT_SUPPORTED if the CCID error is "command
not supported".

Revision 1150 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 6 11:13:25 2004 UTC (8 years, 9 months ago) by rousseau
File length: 16971 byte(s)
Diff to previous 1106 , to selected 2108
use (*ccid_descriptor->pbSeq)++ instead of ccid_descriptor->bSeq++

Revision 1106 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 28 08:33:18 2004 UTC (8 years, 9 months ago) by rousseau
File length: 16943 byte(s)
Diff to previous 1092 , to selected 2108
use reader_index instead of lun as reader identification

Revision 1092 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 21 09:00:09 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16560 byte(s)
Diff to previous 1076 , to selected 2108
use bCurrentSlotIndex as the slot number in the CCID commands (instead of 0)

Revision 1076 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 06:31:15 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16330 byte(s)
Diff to previous 1073 , to selected 2108
BUG: CmdPowerOn(): use memmove() instead of memcpy() to copy the ATR
bytes since the source end destination buffers (with a more than 10
bytes long ATR) overlaps.

Bug spotted by splint http://www.splint.org/

Revision 1073 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 14:08:52 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16329 byte(s)
Diff to previous 1068 , to selected 2108
BUG in CmdXfrBlockTPDU_T1(): the t1_transceive() returned value was
stored in an unsigned int and tested if < 0 (error case). Of course the
test was never true.

Revision 1068 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 08:48:59 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16307 byte(s)
Diff to previous 1066 , to selected 2108
i2dw() is not used outside commands.c so declare it static

Revision 1066 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 08:33:37 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16247 byte(s)
Diff to previous 1043 , to selected 2108
CmdXfrBlockTPDU_T0() and CmdXfrBlockTPDU_T1() are internal functions so
declare them static

Revision 1043 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 07:10:17 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15879 byte(s)
Diff to previous 994 , to selected 2108
lun is (unsigned int) instead of (int)

Avoid a warning by splint in #define LunToReaderIndex(Lun) (Lun>>16)
Left operand of >> may be negative (int): lun >> 16

Revision 994 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 13:25:03 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15779 byte(s)
Diff to previous 993 , to selected 2108
CmdXfrBlockTPDU_T1(): use the T=1 TPDU layer from opensc/ instead of towitoko/

Revision 993 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 13:23:42 2004 UTC (8 years, 10 months ago) by rousseau
File length: 16074 byte(s)
Diff to previous 992 , to selected 2108
CCID_Receive() returns IFD_PARITY_ERROR if the error returned by the
reader is 0xFD (parity error) and IFD_COMMUNICATION_ERROR otherwise (so
that the T=1 TPDU layer can recover the error)

Revision 992 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 13:21:18 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15970 byte(s)
Diff to previous 991 , to selected 2108
CCID_Transmit() now has a new "unsigned char bBWI" argument

Revision 991 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 11:53:51 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15905 byte(s)
Diff to previous 990 , to selected 2108
CmdPowerOn(): add a mechanism to allow power on at 1.8V, 3V and then 5V
as specified by ISO 7816. We still use 5V for now to avoid problems with
non ISO compliant cards

Revision 990 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 30 11:52:19 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15513 byte(s)
Diff to previous 905 , to selected 2108
add __FUNCTION__ as argument to ccid_error()

Revision 905 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 26 08:56:52 2004 UTC (9 years ago) by rousseau
File length: 15427 byte(s)
Diff to previous 904 , to selected 2108
set *rx_length to 0 when a ReadPort() error is returned.
The problem was not solved by ccid_usb.c 1.25.

Revision 904 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 26 07:50:07 2004 UTC (9 years ago) by rousseau
File length: 15403 byte(s)
Diff to previous 892 , to selected 2108
bPINOperation is not passed in the user command since the command is
"PIN Verification" and nothing else

Revision 892 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 12:58:43 2004 UTC (9 years ago) by rousseau
File length: 15434 byte(s)
Diff to previous 891 , to selected 2108
recompile using gcc -pedantic and correct:
- some C++ syntax comments
- many signedness "problems"

Revision 891 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 10:02:48 2004 UTC (9 years ago) by rousseau
File length: 15258 byte(s)
Diff to previous 879 , to selected 2108
add support for Secure PIN through SCardControl() (see sample code in examples/)

Revision 879 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 17 14:39:22 2004 UTC (9 years ago) by rousseau
File length: 13472 byte(s)
Diff to previous 659 , to selected 2108
redefined CmdEscape() to pass the CCID message instead of just a tag

Revision 659 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 15:01:08 2004 UTC (9 years, 3 months ago) by rousseau
File length: 13215 byte(s)
Diff to previous 658 , to selected 2108
set received size to 0 in case of error in CmdXfrBlockTPDU_T1

Revision 658 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 14:59:16 2004 UTC (9 years, 3 months ago) by rousseau
File length: 13191 byte(s)
Diff to previous 617 , to selected 2108
in case of error exits CCID_Receive() without copying an nonexistent anwser

Revision 617 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 14:19:02 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13242 byte(s)
Diff to previous 614 , to selected 2108
add SetParameters() CCID command

Revision 614 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 14:09:10 2004 UTC (9 years, 4 months ago) by rousseau
File length: 12150 byte(s)
Diff to previous 613 , to selected 2108
replace CmdXfrBlockTPDU() by CmdXfrBlockTPDU_T0() and CmdXfrBlockTPDU_T1()

Revision 613 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 13:51:40 2004 UTC (9 years, 4 months ago) by rousseau
File length: 10917 byte(s)
Diff to previous 611 , to selected 2108
split CmdXfrBlockShortAPDU() in CCID_Transmit() and CCID_Receive()

Revision 611 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 13:41:01 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13359 byte(s)
Diff to previous 550 , to selected 2108
use an (int *) instead of a PDWORD for rx_length argument

Revision 550 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 4 21:57:19 2003 UTC (9 years, 6 months ago) by rousseau
File length: 13364 byte(s)
Diff to previous 522 , to selected 2108
comment out the automatic GET RESPONSE part. I don't think it should be
in the driver. Maybe in pcscd instead?

Revision 522 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 28 16:51:37 2003 UTC (9 years, 6 months ago) by rousseau
File length: 13351 byte(s)
Diff to previous 407 , to selected 2108
correct a stupid bug that occurs with an APDU with 2 bytes response.

Revision 407 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 10 09:06:41 2003 UTC (9 years, 8 months ago) by rousseau
File length: 13334 byte(s)
Diff to previous 269 , to selected 2108
- support auto voltage at power on if reader support it
- support Gemplus proprietary command to switch reader from TPDU to APDU mode
- use APDU mode if reader support it. make it easy to support extended
  APDU but I have no reader to test this.

Revision 269 - (view) (download) (annotate) - [select for diffs]
Added Tue Aug 12 12:40:23 2003 UTC (9 years, 9 months ago) by rousseau
File length: 6367 byte(s)
Diff to selected 2108
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5