Jack Grigg
bf6a138304
Address review comments
7 years ago
Jack Grigg
207924a1d5
Remove OpenSSL PRNG reseeding
Per https://download.libsodium.org/doc/generating_random_data/ reseeding the
default libsodium PRNG is not required.
8 years ago
Jack Grigg
13124da0b6
Update comment
8 years ago
Scott
e5df7ee78e
Update random.h
While I'm making an argument for better consistency, I might as well be self-consistent.
8 years ago
Simon
38276c6ba2
Add GenIdentity, an identity function for MappedShuffle.
We use this function in z_sendmany as part of the fix for #1779 .
8 years ago
Jack Grigg
aa36398b27
Add more assertions, throw if find_output params are invalid
8 years ago
Jack Grigg
0382417fee
Implement MappedShuffle for tracking the permutation of an array
8 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Michael Ford
78253fcbad
Remove references to X11 licence
10 years ago
Pavel Janík
3a05ba1bfc
Fix typo in doxygen comment.
10 years ago
Wladimir J. van der Laan
65e3a1e762
Make sure that GetRandomBytes never fails
We're using GetRandomBytes in several contexts where it's either
unwieldy to return an error, or an error would mean a fatal exception
anyhow.
@gmaxwell checked OpenSSL a while ago and discovered that it never
actually fails, but it can't hurt to be a bit paranoid here.
10 years ago
Pieter Wuille
20e01b1a03
Apply clang-format on some infrequently-updated files
10 years ago
Philip Kaufmann
6354935c48
move rand functions from util to new random.h/.cpp
10 years ago