On 18/01/07, Andreas Schwier <[EMAIL PROTECTED]> wrote:
> I say flush the protocol sections of ISO-7816 down the toilet and
> come up with a protocol that works for the 21st Century.

like what: TCP/IP ? Don't be unfair, these protocols need to be
implemented in devices with quite limited computing capabilities. They
have to be robust and simple to implement. If you think, that T=1 is to
complex, I suggest to take a look at our T=1 implementation done for the
ECO5000 card reader. In just 700 lines of source it implements a
reliable protocol with error correction, buffer size negotiation,
chaining, timeout handling and clean transmission abortion. Please show
me a simpler protocol that does all this.

The ccid/src/openct/proto-t1.c file I use in my CCID driver [1] is
also 700 lines of code. But I remember it was a nightmare to manage
every ISO 7816 "error" cases. This layer is now solid and I am very
happpy to _not_ have to touch it any more.

I would just say that T=1 is better than T=0 since the APDU size is
not limited to the maximal data the reader or card can manage (like if
the biggest TCP datagram would be limited by the MTU).

But T=1 is not intrinsically faster of more secure than T=0.

Bye,

[1] http://pcsclite.alioth.debian.org/ccid.html

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to