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 71f61085dd
All checks were successful
continuous-integration/drone/push Build is passing
cmake: change -mtune generic -> native
2022-01-27 21:19:50 +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: change -mtune generic -> native 2022-01-27 21:19:50 +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 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
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
fortuna.cpp fortuna: run svcs while(continue_running.load()) 2022-01-23 20:47:42 +01:00
fortuna.h fortuna: std::atomic<bool> continue_running 2022-01-23 20:39:11 +01:00
generator.cpp generator: make sure not to return data unseeded 2022-01-26 22:59:37 +01:00
generator.h generator: create permanent Serpent encryption obj 2022-01-26 22:35:45 +01:00
main.cpp add chance namespace; handle signals 2022-01-23 22:22:28 +01:00
pool.cpp fix(pool): properly encode full event 2022-01-24 03:55:19 +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 fix(sfm): use correct size in cast 2022-01-24 19:25:04 +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