views:

116

answers:

0

Hi,

I'm implementing an authentication protocol using ECDSA on javacard. The funniest thing I noticed was the "secure random number genrator" takes 700ms for execution.

This can be considered as percfectly number. But after I load the applet to the card for the first time this time is 150ms. ECDSA signature therefore takes 228ms for initial signature, but the later signatures took 900ms.

To populate random geneator only solution is making an ECDSA verification. Then I can sign with ECDSA or obtain a random number easily. Executing an RSA verification does not help.

Do I need a specific chip? Is there any way of contributing to entropy source on javacard?