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 f6b06cd675
All checks were successful
continuous-integration/drone/push Build is passing
makefile: build in tmp when not in CI
2022-01-21 19:14:55 +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 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 chore(.pre-commit-config.yaml): bump hook versions 2022-01-21 05:44:28 +01:00
CMakeLists.txt cmake: update clang-tidy options (speed,relevance) 2022-01-20 04:21:47 +01:00
LICENSE initial commit 2021-10-24 21:29:49 +02:00
Makefile makefile: build in tmp when not in CI 2022-01-21 19:14:55 +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
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.h feat: "prepare to add proper entropy source" nits 2022-01-17 08:27:24 +01:00
event_adder_impl.h chore: consolidate,add try blocks, throw more 2022-01-20 04:03:19 +01:00
event_scheduler.h scheduler: add thread_sleep, use const& param 2022-01-17 04:42:59 +01:00
event_scheduler_impl.h scheduler: add thread_sleep, use const& param 2022-01-17 04:42:59 +01:00
fortuna.cpp fortuna: fix accu thread joiner check in dtor 2022-01-21 16:03:26 +01:00
fortuna.h fortuna: update the init-latch logic 2022-01-21 06:27:06 +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
main.cpp fortuna: add generator service 2022-01-03 07:49:53 +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 sfm(th): make is_job_running() const 2022-01-21 05:35:47 +01:00
seed_file_management.h sfm(th): make is_job_running() const 2022-01-21 05:35:47 +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