Files
nwipe/src
PartialVolume 76a7be696c Fix non functional isaac prng
Since at least 2013 (the initial nwipe commit),
isaac has never functioned. When the issac prng
was selected in the GUI, nwipe used the mersenne
twister prng instead. Not that you would ever
have known, as there were no log entries saying which
prng was being actively used.

However, I don't believe this was just an nwipe
issue, looking at the code for DBAN's dwipe the
same function nwipe_isaac_read( NWIPE_PRNG_READ_SIGNATURE )
exists as it does in nwipe. In both cases the function
has no code that actually does anything.

This patch populates this function and brings isaac
back to life !

This bug was also responsible for verification errors
when the option prng=isaac was used on the command
line. Worse still, if you used prng=isaac on the
command line then wiped using method=prng, no verification
and no blanking you would expect to see random data. You
don't, instead you would see either all zeros or mainly
zeros because the uninitialised buffer that should have
contained random data instead contained initialised text
data such as partial log entries. This patch and previously
submitted patches fix all these problems related to the
isaac implementation.

A separate commit will fix the GUI prng selection which
was leading everybody to believe isaac was being used
when in fact it was mersenne all along.
2021-05-30 22:30:31 +01:00
..
2021-05-30 22:30:31 +01:00
2020-03-31 15:14:41 +01:00
2020-03-30 16:01:16 +01:00
2021-05-27 08:07:20 +01:00
2020-12-05 00:32:46 +00:00
2021-05-27 08:07:20 +01:00
2020-01-05 13:10:26 -05:00
2020-11-23 12:11:08 +01:00
2021-05-29 21:23:38 +01:00
2020-01-05 19:11:24 -05:00
2021-05-30 22:30:31 +01:00
2021-05-30 22:30:31 +01:00
2021-05-30 22:30:31 +01:00