Hi all,

The GetPublicElement() method of the 
CryptoPP::ECDSA<CryptoPP::ECP>::PublicKey class returns a value of type 
CryptoPP::ECP::Point, which represents the elliptic curve point that is the 
public key.
This public key consists of two integers, x and y, that, if I am correct, 
are always 32 bytes in size (though their MinEncodedSize could be less if 
the leading byte is zero).

However, in my application I would like to be able to get this size (32 
bytes) from the CryptoPP API somewhere, to reduce the number of magic 
constants in my code.
Is this exported somewhere? I have not been able to find it, but that may 
be my fault.

Thanks in advance,
Tom Smeding

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to