147 bool DoSign(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
163 bool DoVerify(
std::span<const
std::
byte> input,
std::string_view signature) const noexcept override;
172 bool DoVerify(
Buffer::Consumer consumer,
std::string_view signature,
ReadMode mode) const noexcept override;
Ed25519 keypair.
Definition ed25519.hxx:71
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:79
ED25519(const KeyPair::ED25519 &keypair)
Construct by cloning an Ed25519 keypair.
Definition ed25519.hxx:86
ED25519(KeyPair::ED25519 &&keypair)
Construct by moving an Ed25519 keypair.
Definition ed25519.hxx:93
PointerType Clone() const noexcept override
Clone this signer.
PointerType Move() noexcept override
Move this signer into a new instance.
Generic(const Generic &other)=default
Copy constructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Signers of the Crypto module.
Crypto module of the StormByte suite.
Definition aead.hxx:53
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