LibCrypto: Clean up #include directives

This change aims to improve the speed of incremental builds.
This commit is contained in:
Pavel Shliak 2024-11-21 02:10:48 +04:00 committed by Alexander Kalenik
parent cd14b215d1
commit 8d13115d9a
Notes: github-actions[bot] 2024-11-21 13:09:39 +00:00
19 changed files with 6 additions and 19 deletions

View file

@ -8,7 +8,6 @@
#include <AK/Time.h>
#include <AK/Types.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>
namespace Crypto::ASN1 {

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/BitmapView.h>
#include <AK/Result.h>
#include <AK/Types.h>
#include <LibCrypto/ASN1/ASN1.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>

View file

@ -6,9 +6,8 @@
#pragma once
#include <AK/ByteBuffer.h>
#include <AK/Span.h>
#include <LibCrypto/ASN1/ASN1.h>
#include <LibCrypto/ASN1/DER.h>
namespace Crypto {

View file

@ -10,7 +10,6 @@
#include <AK/ByteString.h>
#include <AK/Endian.h>
#include <AK/Types.h>
#include <LibCrypto/Hash/HashFunction.h>
namespace Crypto::Authentication {

View file

@ -6,9 +6,8 @@
*/
#include "UnsignedBigIntegerAlgorithms.h"
#include <AK/BigIntBase.h>
#include <AK/BuiltinWrappers.h>
#include <AK/NumericLimits.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>
namespace Crypto {

View file

@ -7,7 +7,6 @@
#include "UnsignedBigIntegerAlgorithms.h"
#include <AK/BigIntBase.h>
#include <AK/BuiltinWrappers.h>
namespace Crypto {

View file

@ -9,7 +9,6 @@
#include <AK/Concepts.h>
#include <AK/Span.h>
#include <AK/String.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>
namespace Crypto {

View file

@ -9,7 +9,6 @@
#pragma once
#include <AK/BigIntBase.h>
#include <AK/ByteBuffer.h>
#include <AK/ByteString.h>
#include <AK/Concepts.h>
#include <AK/Span.h>

View file

@ -5,7 +5,6 @@
*/
#include <AK/Array.h>
#include <AK/NumericLimits.h>
#include <AK/Span.h>
#include <AK/Types.h>
#include <LibCrypto/Checksum/CRC32.h>

View file

@ -8,7 +8,6 @@
#pragma once
#include <AK/ByteString.h>
#include <AK/Vector.h>
#include <LibCrypto/Cipher/Cipher.h>
#include <LibCrypto/Cipher/Mode/CBC.h>
#include <LibCrypto/Cipher/Mode/CTR.h>

View file

@ -6,7 +6,7 @@
#pragma once
#include <AK/ByteBuffer.h>
#include <AK/Span.h>
namespace Crypto::Cipher {

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/Optional.h>
#include <AK/Span.h>
#include <AK/Types.h>

View file

@ -6,8 +6,6 @@
#pragma once
#include <AK/Random.h>
namespace Crypto::Curves {
class Curve25519 {

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/ByteBuffer.h>
#include <LibCrypto/Curves/EllipticCurve.h>
namespace Crypto::Curves {

View file

@ -5,7 +5,6 @@
*/
#include <AK/ByteReader.h>
#include <AK/Endian.h>
#include <AK/Random.h>
#include <LibCrypto/Curves/Curve25519.h>
#include <LibCrypto/Curves/X25519.h>

View file

@ -5,6 +5,7 @@
*/
#include <AK/Debug.h>
#include <AK/Random.h>
#include <LibCrypto/BigInt/Algorithms/UnsignedBigIntegerAlgorithms.h>
#include <LibCrypto/NumberTheory/ModularFunctions.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/Random.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>
namespace Crypto::NumberTheory {

View file

@ -7,6 +7,7 @@
#include <AK/Debug.h>
#include <AK/Endian.h>
#include <AK/MemoryStream.h>
#include <AK/Random.h>
#include <LibCore/EventLoop.h>
#include <LibCore/Timer.h>
#include <LibTLS/TLSv12.h>

View file

@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Format.h>
#include <LibCrypto/ASN1/PEM.h>
#include <stddef.h>
#include <stdint.h>