Commit Graph

12 Commits (f4f5ab01092e524a7628825ed9687ee2e2e5f949)

Author SHA1 Message Date
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.
8 months ago
Jeff Becker 4508c59cd3
redo includes to be consistent 1 year ago
Jeff 1eba0f836e
replace LLARP_PROTO_VERSION macro 2 years ago
Jeff Becker 60bfdacc23
get rid of the rest of gtest/gmock 3 years ago
lyyn ece91e87fc
Migrate tests from gtest to catch2 3 years ago
Michael 83bd9227a7
Move exit messages 5 years ago
Michael a62655d501
Move tests to use top-level LlarpTest 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
Michael 9ee525a006
Fix shadowing warnings 5 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 5 years ago
Michael 79157414f3
Split crypto.hpp into 3 different files 6 years ago
Michael fa2b466ffe
Reorganise tests to mirror source layout 6 years ago