Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move DataSource to utils and rewrite PEM encoding to avoid filters | Jack Lloyd | 2015-10-14 | 1 | -1/+0 |
| | | | | | Removes filters as as an internal dependency pretty much entirely (outside of some dusty corners in misc). | ||||
* | Avoid concatination of chars | Simon Warta | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug. | ||||
* | Internal header cleanups | Jack Lloyd | 2015-09-19 | 2 | -2/+2 |
| | | | | Only user-visible change is the removal of get_byte.h | ||||
* | Remove high bit set char from comment as it broke amalgamation generation | Jack Lloyd | 2015-08-22 | 1 | -4/+8 |
| | | | | | | under Python3. Ironically there doesn't seem to be any way to portably handle non-ASCII in a way that is compatible with Python 2.7 and 3 at the same time. | ||||
* | Add stricter time parsing; Add more tests | Simon Warta | 2015-08-11 | 1 | -8/+23 |
| | |||||
* | Sometimes we don't know the input format. But it is one of two | Simon Warta | 2015-08-11 | 2 | -3/+22 |
| | |||||
* | Explicitly fwd declase classes BER_Decoder, DER_Encoder | Simon Warta | 2015-08-11 | 3 | -12/+10 |
| | |||||
* | Remove string constructor of X509_Time() | Simon Warta | 2015-08-11 | 2 | -195/+143 |
| | | | | | | | | | | | * Break down string representations to to_string() and readable_string() * Add m_ prefix to member variable names * Fix order of methods * Move comments Doxygen friendly to header * Make set_to() private (future subjejt of refectoring); People should use constructor Closes #185 | ||||
* | Fix two crashes in the BER decoder found with afl. | Jack Lloyd | 2015-08-02 | 1 | -2/+10 |
| | | | | | One a read at 0 of an empty vector, the other causing allocation of an arbitrary amount of memory. | ||||
* | asn1: Add missing overrides | Daniel Seither | 2015-07-30 | 7 | -14/+14 |
| | |||||
* | Fix to_string for BER_Object when debug STL is used | Simon Warta | 2015-07-07 | 1 | -2/+2 |
| | |||||
* | More changes for use with debug STL | Simon Warta | 2015-06-30 | 1 | -2/+2 |
| | |||||
* | lib/asn1: Convert &vec[0] to vec.data() | Simon Warta | 2015-06-27 | 4 | -22/+27 |
| | |||||
* | When comparing algorithm identifiers consider NULL and empty | lloyd | 2015-03-04 | 1 | -3/+17 |
| | | | | | parameters as equivalent. Based on a patch sent to the mailing list by Uri Blumenthal. | ||||
* | Python: docs, key agreement, fix bcrypt trailing null byte. | lloyd | 2015-02-16 | 1 | -1/+1 |
| | | | | Initial very incomplete pass at error return value sanity. | ||||
* | Clean up root dir, remove some unneeded dependencies | lloyd | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 3 | -246/+279 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 23 | -23/+23 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Add OID for SHA-512/256 | lloyd | 2015-01-08 | 1 | -0/+2 |
| | |||||
* | When encrypting McEliece or Curve25519 keys, default to GCM instead of CBC. | lloyd | 2014-12-27 | 1 | -2/+9 |
| | | | | Add OIDS for OCB mode with various ciphers. | ||||
* | Add OIDs for Twofish, Serpent, and McEliece | lloyd | 2014-11-29 | 1 | -0/+4 |
| | |||||
* | Cleanup PBES2 and add GCM support | lloyd | 2014-11-19 | 1 | -0/+5 |
| | |||||
* | Remove unused includes | lloyd | 2014-11-18 | 1 | -1/+0 |
| | |||||
* | Fix error in add_str2oid call, github pull req 28 | etcimon | 2014-10-31 | 1 | -1/+1 |
| | |||||
* | Fix decoding indefinite length BER constructs that contain a context | lloyd | 2014-09-27 | 1 | -1/+1 |
| | | | | sensitive tag of zero. Github pull 26 from Janusz Chorko. | ||||
* | Remove PBES1 entirely | lloyd | 2014-01-18 | 1 | -6/+0 |
| | |||||
* | Move lib into src | lloyd | 2014-01-10 | 25 | -0/+3752 |