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 f48927738d
All checks were successful
continuous-integration/drone/push Build is passing
sfm: assert checkup_interval < seed_write_interval
2022-01-23 20:27:14 +01:00
lib chore: update fmt submodule to c2850055 2022-01-21 05:39:24 +01:00
.clang-format clang-format: BinPack{Arguments,Parameters}: false 2022-01-13 06:04:18 +01:00
.clang-tidy
.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
.gitignore add proper SeedFileManager implementation 2022-01-09 11:58:38 +01:00
.gitmodules
.pre-commit-config.yaml chore(.pre-commit-config.yaml): bump hook versions 2022-01-21 05:44:28 +01:00
accumulator.cpp accumulator: rm commented std::move(&gen) 2022-01-22 21:42:44 +01:00
accumulator.h fortuna: properly handle reseeds 2022-01-22 18:36:51 +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 sfm: assert checkup_interval < seed_write_interval 2022-01-23 20:27:14 +01:00
fortuna.h fortuna: thread -> jthread; add die_point latch 2022-01-23 20:07:49 +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: build in tmp when not in CI 2022-01-21 19:14:55 +01:00
pool.cpp pool: make all_ok atomic 2022-01-22 21:33:49 +01:00
pool.h pool: add call_once to initialize_pool() mem. fun 2022-01-22 21:17:36 +01:00
seed_file_management.cpp sfm: add get_write_interval() const member func. 2022-01-23 20:18:59 +01:00
seed_file_management.h sfm: assert checkup_interval < seed_write_interval 2022-01-23 20:27:14 +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