Le 27/03/2011 18:50, Frank Morgner a écrit :
> On Sunday, March 27 at 10:23AM, Viktor TARASOV wrote:
>> Le 25/03/2011 23:07, Frank Morgner a écrit :
>>> The smart cards I worked with, that used SM implemented more or less
>>> what is defined in ISO 7816. The Wiki states, that GlobalPlatform SCP01
>>> uses a different SM protocol. What exactly does differ from ISO 7816?
>> keyset format; session key derivation data; session keys calculation;
>> SSC/no-SSC; encrypted data format; MAC computation; ...
>>
>> Involved symmetric cryptography is essentially the same: 3DES/CBC
>>
>> For the 'exact' differences you can look through the GP specification,
>> or the actual implementation of the both protocols in the IAS/ECC branch.
> AFAIK, ISO 7816 defines data encoding, input for the cryptographic
> layer and some padding methods.

> Everything you listed would be part of the crypto layer which is not fixed by 
> ISO 7816.
Can you explain yourself ?
Yes, it's another crypto layer, that sits beside the ISO-7816's one and that 
uses the common 'involved cryptography' library.
Which layer to use is defined by the card-driver/opensc-configuration during 
the initialization of the SM context.


> Which file would I have to look at for the GP part of your branch?

do grep 'sm_gp_'


> Greets,
> Frank.

Kind wishes,
Viktor.

>
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel


-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to