Update documentation
parent
afd9c856ea
commit
0311daf7e2
24
xed25519.h
24
xed25519.h
|
|
@ -320,12 +320,14 @@ protected:
|
||||||
/// prime and binary fields.
|
/// prime and binary fields.
|
||||||
/// \details ed25519PrivateKey is also unusual because the
|
/// \details ed25519PrivateKey is also unusual because the
|
||||||
/// class members of interest are byte arrays and not Integers.
|
/// class members of interest are byte arrays and not Integers.
|
||||||
/// In addition, the byte byte arrays are "little-endian" meaning
|
/// In addition, the byte arrays are little-endian meaning
|
||||||
/// LSB is at element 0 and the MSB is at element 31.
|
/// LSB is at element 0 and the MSB is at element 31.
|
||||||
/// \details If you call GetPrivateExponent() then the little-endian
|
/// If you call \ref ed25519PrivateKey::GetPrivateExponent()
|
||||||
/// byte array is converted to a big-endian Integer so it can be
|
/// "GetPrivateExponent()" then the little-endian byte array is
|
||||||
/// returned the way a caller expects. And calling
|
/// converted to a big-endian Integer() so it can be returned
|
||||||
/// SetPrivateExponent() perfoms a similar internal conversion.
|
/// the way a caller expects. And calling
|
||||||
|
/// \ref ed25519PrivateKey::SetPrivateExponent "SetPrivateExponent()"
|
||||||
|
/// perfoms a similar internal conversion.
|
||||||
/// \since Crypto++ 8.0
|
/// \since Crypto++ 8.0
|
||||||
struct ed25519PrivateKey : public PKCS8PrivateKey
|
struct ed25519PrivateKey : public PKCS8PrivateKey
|
||||||
{
|
{
|
||||||
|
|
@ -575,12 +577,14 @@ protected:
|
||||||
/// prime and binary fields.
|
/// prime and binary fields.
|
||||||
/// \details ed25519PublicKey is also unusual because the
|
/// \details ed25519PublicKey is also unusual because the
|
||||||
/// class members of interest are byte arrays and not Integers.
|
/// class members of interest are byte arrays and not Integers.
|
||||||
/// In addition, the byte byte arrays are "little-endian" meaning
|
/// In addition, the byte arrays are little-endian meaning
|
||||||
/// LSB is at element 0 and the MSB is at element 31.
|
/// LSB is at element 0 and the MSB is at element 31.
|
||||||
/// \details If you call GetPublicElement() then the little-endian
|
/// If you call \ref ed25519PublicKey::GetPublicElement()
|
||||||
/// byte array is converted to a big-endian Integer so it can be
|
/// "GetPublicElement()" then the little-endian byte array is
|
||||||
/// returned the way a caller expects. And calling
|
/// converted to a big-endian Integer() so it can be returned
|
||||||
/// SetPublicElement() perfoms a similar internal conversion.
|
/// the way a caller expects. And calling
|
||||||
|
/// \ref ed25519PublicKey::SetPublicElement "SetPublicElement()"
|
||||||
|
/// perfoms a similar internal conversion.
|
||||||
/// \since Crypto++ 8.0
|
/// \since Crypto++ 8.0
|
||||||
struct ed25519PublicKey : public X509PublicKey
|
struct ed25519PublicKey : public X509PublicKey
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue