On Mon, 14 Mar 2005 11:31:05 +0100, Martin Paljak
<[EMAIL PROTECTED]> wrote:
> Here's an patch against latest ccid/pcsc-lite cvs versions that
> somewhat add support for teletrust class 2 spec style pin operations.

Comments:
- You don't need to use i2dw_be()/dw2i_be() since the value of
IOCTL_FEATURE_VERIFY_PIN_DIRECT is "opaque" for the application. It is
just 4 bytes and the byte order is not important.
- Maybe you could define a structure containing the TVL triplet to
ease the parse of the TLV structure?

> Due to the fact that CCID spec at
> the same time is somewhat lacking proper information about such
> things, the translation between teletrust and ccid blocks is somewhat
> ugly

I confirm the ugliness :-)

Maybe we should wait until PCSC v2 becomes public & final before I include
anything related to secure PIN? (I hope it is compatible with teletrust class 2)
When is PCSC v2 supposed to be ready?

Bye,

-- 
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not "big brother" Google
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to