refactor: add missing headers for BIP324 ciphersuite

This commit is contained in:
stratospher committed 2023-08-15 07:30:48 +05:30
1 parent d22d5d925c
commit 93cb8f0380
6 files changed
+9 -5

No files matched your search

+5
View File
@@ -8,14 +8,19 @@
#include <crypto/chacha20.h>
#include <crypto/chacha20poly1305.h>
#include <crypto/hkdf_sha256_32.h>
#include <key.h>
#include <pubkey.h>
#include <random.h>
#include <span.h>
#include <support/cleanse.h>
#include <uint256.h>
#include <algorithm>
#include <assert.h>
#include <cstdint>
#include <cstddef>
#include <iterator>
#include <string>
BIP324Cipher::BIP324Cipher() noexcept
{
+1
View File
@@ -5,6 +5,7 @@
#ifndef BITCOIN_BIP324_H
#define BITCOIN_BIP324_H
#include <array>
#include <cstddef>
#include <optional>
-2
View File
@@ -11,9 +11,7 @@
#include <support/cleanse.h>
#include <assert.h>
#include <cstdint>
#include <cstddef>
#include <iterator>
AEADChaCha20Poly1305::AEADChaCha20Poly1305(Span<const std::byte> key) noexcept : m_chacha20(UCharCast(key.data()))
{
-1
View File
@@ -6,7 +6,6 @@
#define BITCOIN_CRYPTO_CHACHA20POLY1305_H
#include <cstddef>
#include <cstdlib>
#include <stdint.h>
#include <crypto/chacha20.h>
+3 -1
View File
@@ -6,13 +6,15 @@
#include <chainparams.h>
#include <key.h>
#include <pubkey.h>
#include <span.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <array>
#include <vector>
#include <cstddef>
#include <cstdint>
#include <vector>
#include <boost/test/unit_test.hpp>
-1
View File
@@ -11,7 +11,6 @@
#include <test/util/xoroshiro128plusplus.h>
#include <cstdint>
#include <tuple>
#include <vector>
namespace {