CMakeLists.txt 969 B

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