aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/rdrand
Commit message (Collapse)AuthorAgeFilesLines
* Remove "Dirty hack" for multiple defines in lex_me_harder()Simon Warta2017-04-021-1/+3
|
* Remove <source> block from info.txt filesJack Lloyd2016-12-081-4/+0
| | | | | | Kind of a vestigial thing from an earlier iteration of the module design, and never useful to specify anymore since taking all the cpp files is what you want exactly 100% of the time.
* Add RDRAND_RNGJack Lloyd2016-07-192-39/+9
| | | | | | | | For those that are willing to trust uninspectible hardware. :) Changes RDRAND entropy source to call RDRAND_RNG Add --rdrand flag to rng cmdlet
* Revamp entropy pollingJack Lloyd2016-07-172-17/+20
| | | | | Remove Entropy_Accumulator, instead have entropy sources directly add entropy to the RNG.
* Trivial warning fixesJack Lloyd2016-03-091-1/+1
|
* Merge GH #373 RDRAND/RDSEED logic changesJack Lloyd2016-03-061-17/+18
|\ | | | | | | The Intel RNG may fail if heavily contended, so retry as needed.
| * move logic back into poll()Daniel Neus2016-01-261-30/+18
| | | | | | | | prevents filtering out any 0x00000000 outputs from RDRAND/RDSEED
| * review changesDaniel Neus2015-12-212-21/+22
| | | | | | | | | | | | | | | | * no spaces around if(), for() etc * snake_case for plain functions * anonymous namespace function instead private and static * don't propagate failed poll to the calling application * RdRand retires configurable in build.h
| * RdRand and RdSeed logic changesDaniel Neus2015-12-202-18/+30
| | | | | | | | | | * Make it configurable how often RdRand and RdSeed is polled * Make it configurable how many RdSeed retries are executed
* | Add final attribute to many classesJack Lloyd2016-01-101-1/+1
|/ | | | | | | In some cases this can offer better optimization, via devirtualization. And it lets the user know the class is not intended for derivation. Some discussion in GH #402
* Move estimate of RDRAND/RDSEED entropy to build.hJack Lloyd2015-12-191-11/+1
| | | | GH #370 for background
* Enable RdRand on Windows/MSVCDaniel Neus2015-12-161-0/+1
|
* New reseed_with_sources call on RNGsJack Lloyd2015-11-241-2/+2
| | | | | | | | | | | | | Provides an easier way for an application to configure a list of entropy sources they'd like to use, or add a custom entropy source to their seeding. Exposes some toggles for the global/default entropy sources to build.h Adds basic entropy tests which runs the polls and does sanity checking on the results, including compression tests if available. These are less useful for the CSPRNG outputs but a good check for the ones producing plain ASCII like the /proc reader.
* entropy: Add missing overridesDaniel Seither2015-07-301-2/+2
|
* Fix typosSimon Warta2015-07-241-1/+1
| | | | Thanks to @vlajos https://github.com/vlajos/misspell_fixer
* Avoid 0-defining BOTAN_USE_GCC_INLINE_ASMsimon2015-05-311-1/+1
| | | | GH #103
* Remove the shared IO buffer from EntropySource_Accumulator.lloyd2015-03-181-14/+10
| | | | Instead each source that needs a buffer maintains their own.
* Ensure all files have copyright and license info.lloyd2015-01-102-2/+2
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Move lib into srclloyd2014-01-103-0/+110