diff options
author | Pieter Wuille <pieter@wuille.net> | 2023-07-06 14:19:29 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2023-07-26 17:09:23 -0400 |
commit | 990f0f8da92a2d11828a7c05ca93bf0520b2a95e (patch) | |
tree | ff4be5b1637ac8dcf941f339b08bc167ffe84038 /src/pubkey.h | |
parent | c91cedf281e5207fb5fd2ca81feec9760f7c2ed0 (diff) | |
download | bitcoin-990f0f8da92a2d11828a7c05ca93bf0520b2a95e.tar.xz |
Add BIP324Cipher, encapsulating key agreement, derivation, and stream/AEAD ciphers
Co-authored-by: dhruv <856960+dhruv@users.noreply.github.com>
Diffstat (limited to 'src/pubkey.h')
-rw-r--r-- | src/pubkey.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pubkey.h b/src/pubkey.h index 7d37504b01..00defa25a0 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -299,6 +299,9 @@ private: std::array<std::byte, SIZE> m_pubkey; public: + /** Default constructor creates all-zero pubkey (which is valid). */ + EllSwiftPubKey() noexcept = default; + /** Construct a new ellswift public key from a given serialization. */ EllSwiftPubKey(const std::array<std::byte, SIZE>& ellswift) : m_pubkey(ellswift) {} |