aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/beos_stats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-10-27 09:08:04 -0400
committerJack Lloyd <[email protected]>2015-10-27 09:08:04 -0400
commit62709ff4cf3bb0fff37b1a1e90bfd5f06a2b2151 (patch)
tree1c98a31885d499c7435bc5ac4274a944b0af9e9c /src/lib/entropy/beos_stats
parent10e1dffc911e16b4aaddee2debe6fbc3415199c2 (diff)
Fix McEliece key gen endian dependency.
The tests which generate McEliece keys using a deterministic RNG and fixed seed failed on PowerPC (or other big endian systems) because the vectors assumed we were creating elements little endian, which is what happend with rng.randomize(&u16, 2) on x86 Fix it to always be little endian. No particular reason to prefer one vs the other here (we're just trying for compatability with ourselves) and choosing little endian avoids having to regen the vectors.
Diffstat (limited to 'src/lib/entropy/beos_stats')
0 files changed, 0 insertions, 0 deletions