Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add version_cstr (returns const char*) and move tag_size from AEAD to | lloyd | 2015-02-11 | 2 | -1/+2 |
| | | | | Cipher_Mode. Add missing includes in entropy sources, noticed by clang. | ||||
* | Enable OpenSSL for providing ciphers and hashes again. | lloyd | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 10 | -7/+143 |
| | | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available). | ||||
* | Centralize where string.h/cstring is included to mem_ops.h | lloyd | 2015-01-23 | 3 | -4/+2 |
| | | | | See github 42 for background | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 20 | -20/+20 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Add MinGW support for the CryptoAPI RNG. Also disable the dependencies | lloyd | 2014-12-17 | 1 | -0/+1 |
| | | | | | | | | in auto_rng for a working entropy source as in situations where it doesn't work almost none of the library builds. Disable boost by default from the library. Github issue 34. Unrelated - remove long dead Tru64 as a target. | ||||
* | Various small fixes and cleanups, new is_prime util | lloyd | 2014-11-03 | 3 | -12/+19 |
| | |||||
* | Don't bother polling std:: clocks if we have clock_gettime | lloyd | 2014-08-09 | 1 | -32/+22 |
| | |||||
* | Avoid std::chrono::steady_clock, missing in some distro gccs | lloyd | 2014-04-25 | 1 | -1/+0 |
| | |||||
* | Avoid crash if read returns an error. Canonical case is on the blocking device | lloyd | 2014-04-24 | 1 | -1/+2 |
| | | | | | with concurrent readers; if someone else got the entropy first we can get -1/errno=EAGAIN | ||||
* | Add rng command which can dump RNG outputs or raw entropy samples | lloyd | 2014-03-22 | 1 | -2/+2 |
| | |||||
* | Simpify HMAC_RNG reseeding process. Actually update HMAC_DRBG reseed counter. | lloyd | 2014-03-22 | 3 | -57/+19 |
| | |||||
* | Add std::chrono clock poll | lloyd | 2014-02-02 | 1 | -11/+30 |
| | |||||
* | Avoid Windows macro damage. Github issue 13. | lloyd | 2014-02-02 | 1 | -0/+2 |
| | |||||
* | Guess I won't be needing these | lloyd | 2014-01-18 | 1 | -1/+0 |
| | |||||
* | More unique_ptr, also cleanup MGF1 usage | lloyd | 2014-01-18 | 2 | -28/+12 |
| | |||||
* | Move lib into src | lloyd | 2014-01-10 | 30 | -0/+1909 |