mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-19 09:25:28 +00:00
b597ae5a94
- 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. |
||
---|---|---|
.. | ||
Catch2@dba29b60d6 | ||
config | ||
crypto | ||
dns | ||
hive | ||
mocks | ||
net | ||
nodedb | ||
path | ||
peerstats | ||
router | ||
routing | ||
service | ||
util | ||
win32 | ||
check_main.cpp | ||
CMakeLists.txt | ||
readme.md | ||
test_llarp_encrypted_frame.cpp | ||
test_llarp_router_contact.cpp | ||
test_util.cpp | ||
test_util.hpp |
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.