1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/test
Jason Rhinelander f4f5ab0109 "Refactor" aka delete Crypto/CryptoManager
- Get rid of CryptoManager.
- Get rid of Crypto.
- Move all the Crypto instance methods to llarp::crypto functions.
  (None of them needed to be methods at all, so this is simple).
- Move sodium/ntru initialization into static initialization.
- Add llarp::csrng, which is an available llarp::CSRNG instance which is
  a bit easier than needing to construct a `CSRNG rng{};` in various
  places.
- Various related small simplifications/cleanups.
2023-10-24 08:40:18 -07:00
..
Catch2@dba29b60d6 Update Catch2 to latest to fix build on impish 2021-10-17 16:30:43 -03:00
config Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
crypto "Refactor" aka delete Crypto/CryptoManager 2023-10-24 08:40:18 -07:00
dns Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
hive fix up pyllarp parts 2021-03-02 07:20:29 -05:00
mocks Deleted a lot 2023-09-15 14:15:03 -07:00
net Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
nodedb Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
path Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
peerstats Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
router Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
routing "Refactor" aka delete Crypto/CryptoManager 2023-10-24 08:40:18 -07:00
service "Refactor" aka delete Crypto/CryptoManager 2023-10-24 08:40:18 -07:00
util Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
win32 happy new year 2020-01-05 20:40:34 -06:00
check_main.cpp Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
CMakeLists.txt Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
readme.md add directory specific readmes 2022-07-26 09:26:28 -04:00
test_llarp_encrypted_frame.cpp "Refactor" aka delete Crypto/CryptoManager 2023-10-24 08:40:18 -07:00
test_llarp_router_contact.cpp "Refactor" aka delete Crypto/CryptoManager 2023-10-24 08:40:18 -07:00
test_util.cpp Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00
test_util.hpp Updated RpcServer Initialization and Logic 2023-01-24 06:50:46 -08:00

unit tests and such

to enable unit tests, add cmake flag -DWITH_TESTS=ON

unit tests can be built and run with the check target.