151 unsigned short m_bits;
ECDH keypair.
Definition ecdh.hxx:71
PointerType Clone() const override
Clone this object.
StormByte::Safe::Optional< Secure::Password > Share(const StormByte::Safe::String &peerPublicKey) const override
Derive a shared secret.
~ECDH() noexcept
Destructor.
ECDH(const ECDH &other)=default
Copy constructor.
ECDH(const KeyPair::ECDH &keypair, unsigned short bits=256)
Construct by cloning an ECDH keypair.
Definition ecdh.hxx:87
PointerType Move() override
Move this object into a new instance.
ECDH(KeyPair::Generic::PointerType keypair, unsigned short bits=256) noexcept
Construct from a keypair pointer.
Definition ecdh.hxx:79
ECDH(KeyPair::ECDH &&keypair, unsigned short bits=256)
Construct by moving an ECDH keypair.
Definition ecdh.hxx:95
ECDH(ECDH &&other) noexcept=default
Move constructor.
Generic(const Generic &other)=default
Copy constructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Key agreement of the Crypto module.
Wiped secrets of the Crypto module (Password, Vault).
Crypto module of the StormByte suite.
Definition aead.hxx:53
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53