114 return AES_GCM::MakePointer<AES_GCM>(*
this);
122 return AES_GCM::MakePointer<AES_GCM>(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;
AES-GCM crypter.
Definition aes_gcm.hxx:64
AES_GCM(const AES_GCM &other)=default
Copy constructor.
AES_GCM(Secure::Password password)
Construct with a password.
Definition aes_gcm.hxx:74
PointerType Move() noexcept override
Move this crypter into a new instance.
Definition aes_gcm.hxx:121
AES_GCM(AES_GCM &&other) noexcept=default
Move constructor.
~AES_GCM() noexcept
Destructor.
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