Closed Knogle closed 8 months ago
I didn't like the statistical results, so i have implemented the substract-and-carry version of a lagged fibonacci generator.
https://en.wikipedia.org/wiki/Subtract_with_carry
During testing, it has better results than ISAAC-64, it's on par with MT19937.
Looking good, 16 drive test underway. About 5 hrs to completion.
https://github.com/martijnvanbrummelen/nwipe/assets/22084881/df0a3cc9-a7d5-41d5-8ed7-f0bb7bc4967c
Just a couple of errors for correction.
and
Thanks a lot, fixed that!
Looks great, thanks. 16 drive test passed.
Last problem, formatting does not pass.
-/* The global options struct. */
-nwipe_options_t nwipe_options;
+ /* The global options struct. */
+ nwipe_options_t nwipe_options;
int nwipe_options_parse( int argc, char** argv )
{
Sorry, if you could fix that. Once corrected are you happy with this branch being merged? I don't see any issues so looks good from my perspective.
opps, another problem that is affecting compile, a stray character in options.c
gcc -DHAVE_CONFIG_H -I. -I.. -O0 -g -Wall -Wextra -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MT options.o -MD -MP -MF $depbase.Tpo -c -o options.o options.c &&\
mv -f $depbase.Tpo $depbase.Po
options.c:1:1: error: stray ‘\’ in program
1 | \/*
| ^
make[2]: *** [Makefile:500: options.o] Error 1
Sounds good to me! Should be fixed now. Could you run a full test maybe for XORo as well?
Sounds good to me! Should be fixed now. Could you run a full test maybe for XORo as well?
Yes, I'll start the xoro test this evening.
Just presenting one more option. Last one i'd like to implement, is a crypto-secure PRNG like AES-CTR.