mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
5963f6f9ff
Since the operations are already complicated and will become even more so soon, let's split them into their own files. We can also integrate the NumberTheory operations that would better fit there into this class as well. This commit doesn't change behaviors, but moves the allocation of some variables into caller classes.
28 lines
705 B
CMake
28 lines
705 B
CMake
add_compile_options(-Wvla)
|
|
|
|
set(SOURCES
|
|
ASN1/ASN1.cpp
|
|
ASN1/DER.cpp
|
|
ASN1/PEM.cpp
|
|
Authentication/GHash.cpp
|
|
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
|
|
BigInt/SignedBigInteger.cpp
|
|
BigInt/UnsignedBigInteger.cpp
|
|
Checksum/Adler32.cpp
|
|
Checksum/CRC32.cpp
|
|
Cipher/AES.cpp
|
|
Hash/MD5.cpp
|
|
Hash/SHA1.cpp
|
|
Hash/SHA2.cpp
|
|
NumberTheory/ModularFunctions.cpp
|
|
PK/RSA.cpp
|
|
)
|
|
|
|
serenity_lib(LibCrypto crypto)
|
|
target_link_libraries(LibCrypto LibC)
|