0

Any recommendations for a c-library implementing elliptic curve cryptography - the smaller the better.

I know openSSL provides it, but I want something as small as possible. It doesn't need any fancy stuff like constant time encryption / decryption / signing either.

Bonus points for nice-looking code.

Nuoji
  • 3,438
  • 2
  • 21
  • 35
  • 1
    An implementation that does not do constant time encryption/decryption/signing is broken, because it may allow (surprisingly effective) attacks like padding oracle attacks. Constant time operations are a basic feature of a cryptographic library, not a fancy addon. – ntoskrnl Jul 02 '13 at 14:21
  • @ntoskrnl Sure, but I just want to read the code - so the smaller the better. – Nuoji Jul 02 '13 at 17:32

1 Answers1

2

LibTomCrypt has a pretty terse ecc module.

zindorsky
  • 1,592
  • 9
  • 9