114 return Camellia::MakePointer<Camellia>(*
this);
122 return Camellia::MakePointer<Camellia>(std::move(*
this));
132 bool DoEncrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
148 bool DoDecrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
Camellia-CBC crypter.
Definition camellia.hxx:64
Camellia(Secure::Password password)
Construct with a password.
Definition camellia.hxx:74
~Camellia() noexcept
Destructor.
Camellia(Camellia &&other) noexcept=default
Move constructor.
PointerType Move() noexcept override
Move this crypter into a new instance.
Definition camellia.hxx:121
Camellia(const Camellia &other)=default
Copy constructor.
Password-based symmetric crypter.
Definition generic.hxx:57
Shared, wiped container for passwords and raw key material.
Definition password.hxx:104
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