a C++ take on Fortuna CSPRNG implementation, as devised by Niels Fergusson and Bruce Schneier in Practical Cryptography 🍀
Go to file
surtur 0ccd60ce1b
Merge branch 'fixing-generator' into add-random-sources
* fixing-generator:
  generator: use a proper uin64_t literal
  chore(generator): erase -> clear
  generator: memcpy -> memmove
  fix(generator): incorrect copying, no protections
2021-12-11 02:35:06 +01:00
lib feat: use fmt instead of iostreams 2021-11-18 22:05:05 +01:00
.clang-format initial commit 2021-10-24 21:29:49 +02:00
.clang-tidy chore(clang-tidy): unify flags 2021-12-10 18:57:25 +01:00
.drone.starlark feat: use fmt instead of iostreams 2021-11-18 22:05:05 +01:00
.gitattributes add .gitattributes file 2021-10-24 21:34:16 +02:00
.gitignore gitignore: add .idea 2021-10-24 21:34:16 +02:00
.gitmodules feat: use fmt instead of iostreams 2021-11-18 22:05:05 +01:00
.pre-commit-config.yaml integrate clang-tidy into cmake 2021-12-05 05:13:07 +01:00
CMakeLists.txt accumulator: add urandom_entropy_src 2021-12-11 02:24:40 +01:00
LICENSE initial commit 2021-10-24 21:29:49 +02:00
Makefile makefile: refactor "clean" target; add "distclean" 2021-12-05 15:27:47 +01:00
accumulator.cpp handle PRNG state in R_state + accumulator basis 2021-12-04 00:40:39 +01:00
accumulator.h accumulator: add add_source 2021-12-11 02:27:52 +01:00
entropy_src.h accumulator: add event_scheduler,entropy_src ifces 2021-12-11 02:12:49 +01:00
event_adder.h add EventAdder interface 2021-12-06 01:02:43 +01:00
event_adder_impl.h chore(event_adder_impl): reuse constant p_size 2021-12-08 04:19:22 +01:00
event_scheduler.h accumulator: add event_scheduler,entropy_src ifces 2021-12-11 02:12:49 +01:00
fortuna.cpp fortuna: erase -> clear 2021-12-11 01:20:34 +01:00
fortuna.h chore(accumulator): make use of init_pool_num 2021-12-09 14:11:39 +01:00
generator.cpp generator: use a proper uin64_t literal 2021-12-11 01:13:01 +01:00
generator.h finalise generator 2021-11-30 14:09:39 +01:00
main.cpp finalise generator 2021-11-30 14:09:39 +01:00
pool.cpp handle PRNG state in R_state + accumulator basis 2021-12-04 00:40:39 +01:00
pool.h chore(pool): stop spamming at initialization 2021-12-08 03:40:08 +01:00
urandom_entropy_src.h accumulator: add urandom_entropy_src 2021-12-11 02:24:40 +01:00