Look at ValidateECDSA() in validat2.cpp for an example of how to construct a curve object using curve parameters (instead of OIDs).

For computing RSA equivalent curve size, the simple answer is to use 2*FactoringWorkFactor(rsaSize). That function is declared in nbtheory.h.

----- Original Message ----- From: "Jeffrey Walton" <[EMAIL PROTECTED]>
To: "Crypto" <[email protected]>
Sent: Thursday, November 09, 2006 2:25 AM
Subject: ECC ECIES and Smaller Curves


Hi All,

The smallest curves available are 112 bits (GF(p)) and 113 bits
(GF(2)).  I'd like to go even smaller - possibly down to 80 or 60
bits. Has anyone attempted this before?

Also, Is it possible to define my curve based on a base class? The
Certicom curves appear to be defined in eccrypto.cpp based on OIDs
(among other things). I don't think there is a 'NULL' OID per se, so
is this against the spirit of ECC and using Wei's Library?

Finally, is there a 'RSA equivalent size' based on a smaller curve.
The documentation I have read is 160 bit ECC ~= 1024 bit RSA.

Jeff



Reply via email to