refactor: Sort includes of touched source files

This commit is contained in:
MarcoFalke
2025-06-03 19:51:23 +02:00
parent facb152697
commit fa9ca13f35
42 changed files with 58 additions and 56 deletions

View File

@@ -9,8 +9,8 @@
#include <array>
#include <cstddef>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
#include <utility>
// classes for ChaCha20 256-bit stream cipher developed by Daniel J. Bernstein

View File

@@ -4,8 +4,8 @@
#include <crypto/chacha20poly1305.h>
#include <crypto/common.h>
#include <crypto/chacha20.h>
#include <crypto/common.h>
#include <crypto/poly1305.h>
#include <span.h>
#include <support/cleanse.h>

View File

@@ -7,8 +7,8 @@
#include <crypto/hmac_sha256.h>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A rfc5869 HKDF implementation with HMAC_SHA256 and fixed key output length of 32 bytes (L=32) */
class CHKDF_HMAC_SHA256_L32

View File

@@ -7,8 +7,8 @@
#include <crypto/sha256.h>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A hasher class for HMAC-SHA-256. */
class CHMAC_SHA256

View File

@@ -7,8 +7,8 @@
#include <crypto/sha512.h>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A hasher class for HMAC-SHA-512. */
class CHMAC_SHA512

View File

@@ -8,8 +8,8 @@
#include <span.h>
#include <cassert>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
#define POLY1305_BLOCK_SIZE 16

View File

@@ -5,8 +5,8 @@
#ifndef BITCOIN_CRYPTO_RIPEMD160_H
#define BITCOIN_CRYPTO_RIPEMD160_H
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A hasher class for RIPEMD-160. */
class CRIPEMD160

View File

@@ -5,8 +5,8 @@
#ifndef BITCOIN_CRYPTO_SHA1_H
#define BITCOIN_CRYPTO_SHA1_H
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A hasher class for SHA1. */
class CSHA1

View File

@@ -5,8 +5,8 @@
#ifndef BITCOIN_CRYPTO_SHA256_H
#define BITCOIN_CRYPTO_SHA256_H
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
#include <string>
/** A hasher class for SHA-256. */

View File

@@ -5,8 +5,8 @@
// This is a translation to GCC extended asm syntax from YASM code by Intel
// (available at the bottom of this file).
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
#if defined(__x86_64__) || defined(__amd64__)

View File

@@ -7,8 +7,8 @@
#include <span.h>
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
//! The Keccak-f[1600] transform.
void KeccakF(uint64_t (&st)[25]);

View File

@@ -5,8 +5,8 @@
#ifndef BITCOIN_CRYPTO_SHA512_H
#define BITCOIN_CRYPTO_SHA512_H
#include <cstdlib>
#include <cstdint>
#include <cstdlib>
/** A hasher class for SHA-512. */
class CSHA512