mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-01 14:42:05 +00:00
This patchset adds a simple SignedBigInteger that is entirely defined in terms of UnsignedBigInteger. It also adds a NumberTheory::Power function, which is terribly inefficient, but since the use of exponentiation is very much discouraged for large inputs, no particular attempts were made to make it more performant.
12 lines
237 B
CMake
12 lines
237 B
CMake
set(SOURCES
|
|
BigInt/UnsignedBigInteger.cpp
|
|
BigInt/SignedBigInteger.cpp
|
|
Cipher/AES.cpp
|
|
Hash/MD5.cpp
|
|
Hash/SHA1.cpp
|
|
Hash/SHA2.cpp
|
|
PK/RSA.cpp
|
|
)
|
|
|
|
serenity_lib(LibCrypto crypto)
|
|
target_link_libraries(LibCrypto LibC)
|