Andreas Jellinghaus wrote:
+ /* need to limit to 248 */
+ if (card->max_send_size > 248)
+ card->max_send_size = 248;
+ if (card->max_recv_size > 248)
+ card->max_recv_size = 248;
+
+
can we put something like this in the generic code for
all cards and drivers? or in the openct specific code?
for example with cryptoflex card, openct, ccid driver (in openct)
some readers work, some won't as soon as I use 2048 bit keys.
with 1024 bit rsa they are all fine.
any suggeston where to place some code like this?
well, it depends on whether this is card 'feature' or a limitation
of the card reader. If it's property of the gemsafe card it should
be put in the card driver if it's a limitation of the reader
we should place it in the reader driver.
Cheers,
Nils
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel