Commit Graph

336 Commits

Author SHA1 Message Date
surtur d257b4b113
add README.md [skip ci] 2022-09-07 10:10:10 +02:00
surtur 055fba29fe
fmtlib: bump submodule to version 9.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-06 20:45:22 +02:00
surtur 5e2e6c264d
fmtlib: bump submodule to version 9.0.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-09 15:43:28 +02:00
surtur 1cb4c841c5
chore: copyright current year
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:53:16 +01:00
surtur 7551c1e9b2
ci: pull dep images in separate steps
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:49:56 +01:00
surtur 3702bf1524
ci: update submodules using alpine/git image
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:41:26 +01:00
surtur 987bfe673e
meson: add '-DNDEBUG' on release builds
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-03 17:33:14 +01:00
surtur 2d1f10cc59
meson: add warning_level,buildtype
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-10 16:08:00 +01:00
surtur 4c82b531d8
meson: rm commented stuff 2022-02-10 15:58:32 +01:00
surtur f0cd3317d8
meson: reflect project version bump 2022-02-08 22:41:02 +01:00
surtur d236c73dee
fortuna: rethrow on error in ctor 2022-02-08 00:40:11 +01:00
surtur 619cb523af
pool: rm event_str remnants 2022-02-07 23:44:17 +01:00
surtur 29f7ebd529
sfm: new seed_f_path "/var/tmp/.fortuna.seed" 2022-02-07 23:16:03 +01:00
surtur 4176de2e12
fix(SeedFileManager): 6-byte seed file issue
there was a reggression in a series of commits that led to this issue,
mainly revolving around the switch from hex-encoded output to raw bytes.
the result was a seed file in which just the first 6 bytes were updated.
this is now fixed

refs:
c4dcab3046
revert c9398a0bf4
2022-02-07 23:00:01 +01:00
surtur 5d1d25ecb4
pool: rm unused strsource, using vect<char> anyway 2022-02-07 03:25:21 +01:00
surtur 7626158f76
add basic meson.build file 2022-02-03 21:39:35 +01:00
surtur 1ec70d1161
fortuna,generator({fmt}) print with colours 2022-02-03 04:52:19 +01:00
surtur ffca8a8d37
main: use moar_random_data() 2022-02-03 03:15:53 +01:00
surtur 2c215967cd
fortuna: correctly decrement in moar_random_data() 2022-02-03 03:14:55 +01:00
surtur a6f9fb5e8c
chance: add lil_demo() fun 2022-02-03 03:05:09 +01:00
surtur ffd0180578
chore(generator): collapse 2 try-catch blocks 2022-02-03 02:56:28 +01:00
surtur 348b921795
generator: add const qualifier to vars where sound 2022-02-03 02:41:47 +01:00
surtur c4dcab3046
generator: stop hex-encoding bytes in do_crypto()
in fortuna, print the random bytes as they come, without a newline, to
stdout. the idea is it can be directly piped to, say, dieharder, for,
e.g. testing purposes. also print info msg to stderr as is now customary
throughout the program.
2022-02-03 03:35:11 +01:00
surtur 3fe5c06c49
fortuna: add moar_random_data() fun 2022-02-03 02:10:06 +01:00
surtur fab8e72975
chore(generator): rm comment [skip ci] 2022-02-03 02:06:19 +01:00
surtur 1da24b13da
{,generate_}random_data: use const uint64_t 2022-02-03 01:53:53 +01:00
surtur bec124e7c8
fortuna: throw on PRNG init failure 2022-02-03 01:48:56 +01:00
surtur 226f264fcd
cmake: add more diagnostic warning flags 2022-02-03 01:43:21 +01:00
surtur e2f540664b
fix(-Wuseless-cast) rm a cast in UrandomEntropySrc 2022-02-03 01:26:06 +01:00
surtur 8cfb49e486
fix(-Wsuggest-override): override virtual base fun 2022-02-03 01:17:47 +01:00
surtur baaf4f6db0
fix: -Wnon-virtual-dtor 2022-02-03 01:11:39 +01:00
surtur 8cafbc7706
fix: -Wextra-semi 2022-02-03 00:49:40 +01:00
surtur a3daa722da
chore: print info msgs to stderr 2022-02-03 00:37:20 +01:00
surtur 0e4d1aeef0
cmake: enable building with '-pedantic' 2022-01-30 23:00:13 +01:00
surtur 80fcb13e8b
generator: use least-significant-byte-first ctr 2022-01-30 22:56:08 +01:00
surtur c6bf1c7f52
generator: use de_hex() 2022-01-30 22:40:21 +01:00
surtur fa9dc26f66
Util: add de_hex() fun 2022-01-30 21:56:20 +01:00
surtur dc1ab343eb
rename: set_gen() -> set_gen_ptr() 2022-01-30 20:48:08 +01:00
surtur 01238c805a
generator: change exit(1) -> throw 2022-01-30 00:00:20 +01:00
surtur df4c9d7bdb
accumulator: add noexcept where reasonable 2022-01-29 23:54:26 +01:00
surtur 74f8af7bfc
accumulator: rm unused pools_service() 2022-01-27 23:59:56 +01:00
surtur 19ea0076a3
accumulator: rm unused accumulator_service() 2022-01-27 23:59:38 +01:00
surtur 1a02256b2b
generator: add ctr_inc() fun 2022-01-27 22:54:53 +01:00
surtur 715523eb1a
generator: add std::array<std::byte, 16> counter 2022-01-27 22:48:58 +01:00
surtur c9218e47e8
chore(main): rm unused var 2022-01-27 21:22:50 +01:00
surtur 71f61085dd
cmake: change -mtune generic -> native 2022-01-27 21:19:50 +01:00
surtur ad6c01daaa
remove unused event_scheduler 2022-01-27 20:46:27 +01:00
surtur 2b1349b256
cmake: add -fno-signed-zeros, -ffunction-sections 2022-01-27 20:32:57 +01:00
surtur d99ef986bf
cmake: add -Wvla in Debug builds 2022-01-27 20:28:16 +01:00
surtur a1beb2893d
generator: make sure not to return data unseeded 2022-01-26 22:59:37 +01:00