any answers to this?

On Tue, Jun 12, 2012 at 10:28 AM, helpcrypto helpcrypto
<[email protected]> wrote:
> More news.
> According to "8.1.1.2.7 Card capabilities" from 7816-4, theres a byte
> which can be masked to ------yzt
> Where yzt give the resulting number of logical channels.
>
> If im not wrong, using 3B6f00008066b0070101770753023124829000 we get:
> 82->10000010b
>                -> 3 additional channels (00,01,02,03) [channel numbering is 
> managed by card]
>
> So, happy me:
>
> 00 A4 08 00 04 50 00 50 32 (SEL TOKEN_INFO)
> 00 70 00 00 01 (open #1) -> 01 90 00 :D
> //do foo
> 00 70 00 00 01 (open #2) -> 02 90 00
> //do bar
> 00 70 00 00 01 (open #3) -> 03 90 00
> //do foobar
> 00 70 00 00 01 (open #4) ->err!
>
> So my math seem to work. Am i correct?
>
> The problem im now having is this:
> 00 70 00 00 01 -> 01 90 00
> 01 A4 08 00 04 50 00 50 32 -> 6E 00
> Even if i select first AID, i get 6A 82
>
> Shouldnt CLA be set 01 to use that logical channel?
>
> Thank you all.

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to