Question

I was wondering if a smartcard/Javacard is able to perform ElGamal cryptography? Is it implemented anywhere, i.e. is there an API that can be used for such purposes?

Cheers!

Was it helpful?

Solution

The SmartMX family of NXP supports ElGamal, it's in their public data sheets. I don't think I've seen in mentioned in any Java Card implementation though, it's not in the standard so if present, it must be in vendor supplied libs.

Probably any Smart Card with a Montgomery multiplier will be able to support ElGamal relatively efficiently. Then somebody needs to create a library (with side channel protection, certification etc.).

OTHER TIPS

This is certainly not certified and it's not secure against side-channel attacks but if it's for prototyping or side-channel attacks are not in the threat model, here is our implementation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top