CMakeLists.txt 920 B

123456789101112131415161718192021222324252627282930313233343536
  1. add_compile_options(-Wvla)
  2. set(SOURCES
  3. ASN1/ASN1.cpp
  4. ASN1/DER.cpp
  5. ASN1/PEM.cpp
  6. Authentication/GHash.cpp
  7. Authentication/Poly1305.cpp
  8. BigFraction/BigFraction.cpp
  9. BigInt/Algorithms/BitwiseOperations.cpp
  10. BigInt/Algorithms/Division.cpp
  11. BigInt/Algorithms/GCD.cpp
  12. BigInt/Algorithms/ModularInverse.cpp
  13. BigInt/Algorithms/ModularPower.cpp
  14. BigInt/Algorithms/Multiplication.cpp
  15. BigInt/Algorithms/SimpleOperations.cpp
  16. BigInt/SignedBigInteger.cpp
  17. BigInt/UnsignedBigInteger.cpp
  18. Checksum/Adler32.cpp
  19. Checksum/CRC32.cpp
  20. Cipher/AES.cpp
  21. Cipher/ChaCha20.cpp
  22. Curves/Curve25519.cpp
  23. Curves/Ed25519.cpp
  24. Curves/SECP256r1.cpp
  25. Curves/X25519.cpp
  26. Curves/X448.cpp
  27. Hash/MD5.cpp
  28. Hash/SHA1.cpp
  29. Hash/SHA2.cpp
  30. NumberTheory/ModularFunctions.cpp
  31. PK/RSA.cpp
  32. )
  33. serenity_lib(LibCrypto crypto)
  34. target_link_libraries(LibCrypto PRIVATE LibCore)