2021-05-13 07:44:35 +00:00
|
|
|
add_compile_options(-Wvla)
|
|
|
|
|
2020-05-06 15:40:06 +00:00
|
|
|
set(SOURCES
|
2021-02-14 11:20:42 +00:00
|
|
|
ASN1/ASN1.cpp
|
|
|
|
ASN1/DER.cpp
|
|
|
|
ASN1/PEM.cpp
|
2020-11-11 09:47:23 +00:00
|
|
|
Authentication/GHash.cpp
|
2022-04-06 22:16:32 +00:00
|
|
|
Authentication/Poly1305.cpp
|
2021-05-10 18:55:25 +00:00
|
|
|
BigInt/Algorithms/BitwiseOperations.cpp
|
|
|
|
BigInt/Algorithms/Division.cpp
|
|
|
|
BigInt/Algorithms/GCD.cpp
|
|
|
|
BigInt/Algorithms/ModularInverse.cpp
|
|
|
|
BigInt/Algorithms/ModularPower.cpp
|
|
|
|
BigInt/Algorithms/Multiplication.cpp
|
|
|
|
BigInt/Algorithms/SimpleOperations.cpp
|
2020-06-04 18:16:18 +00:00
|
|
|
BigInt/SignedBigInteger.cpp
|
2020-08-15 21:20:33 +00:00
|
|
|
BigInt/UnsignedBigInteger.cpp
|
2020-07-29 18:24:54 +00:00
|
|
|
Checksum/Adler32.cpp
|
|
|
|
Checksum/CRC32.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Cipher/AES.cpp
|
2022-04-10 11:39:56 +00:00
|
|
|
Cipher/ChaCha20.cpp
|
2022-04-16 09:33:09 +00:00
|
|
|
Curves/Curve25519.cpp
|
2022-04-16 18:47:38 +00:00
|
|
|
Curves/Ed25519.cpp
|
2022-03-02 20:03:45 +00:00
|
|
|
Curves/SECP256r1.cpp
|
2022-02-13 00:01:31 +00:00
|
|
|
Curves/X25519.cpp
|
2022-02-18 15:41:23 +00:00
|
|
|
Curves/X448.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Hash/MD5.cpp
|
|
|
|
Hash/SHA1.cpp
|
|
|
|
Hash/SHA2.cpp
|
2020-08-15 21:20:33 +00:00
|
|
|
NumberTheory/ModularFunctions.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
PK/RSA.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
serenity_lib(LibCrypto crypto)
|
2022-01-08 21:44:47 +00:00
|
|
|
target_link_libraries(LibCrypto LibC LibCore)
|