a C++ take on Fortuna CSPRNG implementation, as devised by Niels Fergusson and Bruce Schneier in Practical Cryptography 🍀
This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
surtur b7c7558e1f
All checks were successful
continuous-integration/drone/push Build is passing
DoTask: timed_mutex -> recursive_timed_mutex
2022-01-21 02:54:15 +01:00
lib fmtlog: bump (manually) to v2.1.1 2022-01-11 04:47:34 +01:00
.clang-format clang-format: BinPack{Arguments,Parameters}: false 2022-01-13 06:04:18 +01:00
.clang-tidy chore(clang-tidy): unify flags 2021-12-10 18:57:25 +01:00
.drone.starlark ci: rm 'build on alpine' step 2022-01-10 05:02:44 +01:00
.editorconfig add .editorconfig [skip ci] 2022-01-10 08:55:07 +01:00
.gitattributes add .gitattributes file 2021-10-24 21:34:16 +02:00
.gitignore add proper SeedFileManager implementation 2022-01-09 11:58:38 +01:00
.gitmodules feat: use fmt instead of iostreams 2021-11-18 22:05:05 +01:00
.pre-commit-config.yaml pre-commit: add check-yaml,edit cppcheck hook 2022-01-06 22:12:50 +01:00
accumulator.cpp chore: consolidate,add try blocks, throw more 2022-01-20 04:03:19 +01:00
accumulator.h feat: "prepare to add proper entropy source" nits 2022-01-17 08:27:24 +01:00
CMakeLists.txt cmake: update clang-tidy options (speed,relevance) 2022-01-20 04:21:47 +01:00
do_task.cpp DoTask: timed_mutex -> recursive_timed_mutex 2022-01-21 02:54:15 +01:00
do_task.h DoTask: timed_mutex -> recursive_timed_mutex 2022-01-21 02:54:15 +01:00
entropy_src.h entropy_src: add ctor,dtor, rm scheduler fun 2022-01-17 07:28:32 +01:00
event_adder_impl.h chore: consolidate,add try blocks, throw more 2022-01-20 04:03:19 +01:00
event_adder.h feat: "prepare to add proper entropy source" nits 2022-01-17 08:27:24 +01:00
event_scheduler_impl.h scheduler: add thread_sleep, use const& param 2022-01-17 04:42:59 +01:00
event_scheduler.h scheduler: add thread_sleep, use const& param 2022-01-17 04:42:59 +01:00
fortuna.cpp fortuna: add mtx_{accu,p_pools}, locks 2022-01-20 08:14:40 +01:00
fortuna.h fortuna: add mtx_{accu,p_pools}, locks 2022-01-20 08:14:40 +01:00
generator.cpp gen: simplify time_to_reseed() return logic 2022-01-20 08:40:42 +01:00
generator.h gen: mtx -> mutable recursive_mtx to all functions 2022-01-20 08:36:02 +01:00
LICENSE
main.cpp fortuna: add generator service 2022-01-03 07:49:53 +01:00
Makefile makefile: smarter clean target - prevent bad stuff 2022-01-13 06:28:45 +01:00
pool.cpp pool: place recursive_mtx at the start of func 2022-01-20 08:44:25 +01:00
pool.h feat: "prepare to add proper entropy source" nits 2022-01-17 08:27:24 +01:00
seed_file_management.cpp chore(sfm): move code inside a try block 2022-01-20 05:45:27 +01:00
seed_file_management.h sfm: fix reads,writes of the seed file, refactor 2022-01-20 05:36:06 +01:00
urandom_entropy_src.cpp chore: consolidate,add try blocks, throw more 2022-01-20 04:03:19 +01:00
urandom_entropy_src.h feat: "prepare to add proper entropy source" nits 2022-01-17 08:27:24 +01:00
util.h Util: add do_sha() for {const,} std::vector<char>& 2022-01-17 04:52:55 +01:00