114 ECC& operator=(const
ECC& other) = default;
121 ECC& operator=(
ECC&& other) noexcept = default;
129 return ECC::MakePointer<ECC>(*
this);
137 return ECC::MakePointer<ECC>(std::move(*
this));
147 bool DoEncrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
163 bool DoDecrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
Keypair-based asymmetric crypter.
Definition generic.hxx:65
Elliptic-curve crypter.
Definition ecc.hxx:65
~ECC() noexcept
Destructor.
ECC(const KeyPair::ECC &keypair)
Construct by cloning an ECC keypair.
Definition ecc.hxx:82
ECC(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition ecc.hxx:75
ECC(KeyPair::ECC &&keypair)
Construct by moving an ECC keypair.
Definition ecc.hxx:89
PointerType Move() noexcept override
Move this crypter into a new instance.
Definition ecc.hxx:136
ECC(const ECC &other)=default
Copy constructor.
ECC(ECC &&other) noexcept=default
Move constructor.
ECC keypair.
Definition ecc.hxx:69
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