131 return ED25519::MakePointer<ED25519>(*
this);
139 return ED25519::MakePointer<ED25519>(std::move(*
this));
149 bool DoSign(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
165 bool DoVerify(std::span<const std::byte> input, std::string_view signature)
const noexcept override;
Ed25519 keypair.
Definition ed25519.hxx:69
Ed25519 signer.
Definition ed25519.hxx:67
ED25519(ED25519 &&other) noexcept=default
Move constructor.
ED25519(const ED25519 &other)=default
Copy constructor.
~ED25519() noexcept
Destructor.
ED25519(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition ed25519.hxx:77
ED25519(const KeyPair::ED25519 &keypair)
Construct by cloning an Ed25519 keypair.
Definition ed25519.hxx:84
ED25519(KeyPair::ED25519 &&keypair)
Construct by moving an Ed25519 keypair.
Definition ed25519.hxx:91
PointerType Move() noexcept override
Move this signer into a new instance.
Definition ed25519.hxx:138
Abstract signer.
Definition generic.hxx:83
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53