On 26/08/12 16:15, Andrey Kulikov wrote:
> For ECC the key size is stated to be "size of n in bits" (where n is
the order).
'n' is an order of base point 'G' on EC - i.e. size of private key
(what should be in range [1; n-1]), not public.
Thus, I understand that it is a size of EC private key 'd', what shown
in table 3 in SEC 1.
Correct. This is what is normally referred to when you are talking about
key size within ECC, i.e. in your X509 output it is showing the public
key data associated with a 256 bit private key...even though the public
key data itself is longer (because it is in uncompressed form). Talking
about the bit-length of the public key data is not particularly helpful
because it depends on whether it is in compressed format or not.
By the way this topic is probably better placed on the openssl-users list.
Matt
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]