Commit Graph
11 Commits
Author SHA1 Message Date
Adrien Béraud 616d6fe4b8 update copyright date 2020-01-03 15:14:32 -05:00
Adrien Béraud f418b3651f update copyright date 2019-03-16 12:37:23 -04:00
Adrien Beraud 73bcebf355 license cleanup 2017-04-10 01:43:20 +02:00
Simon Désaulniers b03a8b5b50 update license notice (2017) 2017-01-13 17:27:29 -05:00
Adrien Béraud e00c8e9598 update copyright headers for 2016 2016-01-07 18:02:35 -05:00
Adrien Béraud 62583557c0 rng: code cleanup 2015-12-17 15:31:41 -05:00
Adrien Béraud 7e346cfcb8 update license terms
* removed OpenSSL exception
  (OpenDHT doesn't make use of OpenSSL)
* properly capitalize "Savoir-faire Linux"
2015-11-08 16:06:30 -05:00
Adrien Béraud f3eb11270d rng: static initialisation of hasRdrand() 2015-08-24 16:38:40 +02:00
Adrien Béraud d2c57b867d update copyright headers 2015-07-10 23:25:43 -04:00
Adrien Béraud 0497154f7f random_device: support RDSEED and fallback to pseudo rng
Pseudo random numbers are not ideal but still better than zeros.

Use time-seeded PRNG as a basis and XOR-mix with real random numbers if available.
2015-05-31 09:19:24 -04:00
cberaud 41406833a8 add crypto::random_device 2015-05-15 19:57:04 +05:30