Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix mutex in oids.cpp | Jack Lloyd | 2016-10-12 | 1 | -7/+7 |
| | | | | Remove bogus includes for TLS tests | ||||
* | Abstract out mutex type. Make threads optional. | Jack Lloyd | 2016-10-12 | 1 | -1/+1 |
| | |||||
* | Remove deprecated Nyberg-Rueppel and Rabin-Williams signatures | Jack Lloyd | 2016-09-02 | 1 | -23/+0 |
| | |||||
* | Remove deprecated hashes MD2, HAS-160, and RIPEMD-128 | Jack Lloyd | 2016-09-02 | 1 | -1/+0 |
| | |||||
* | Merge GH #551 Add frp256v1 curve | Jack Lloyd | 2016-08-02 | 1 | -0/+2 |
|\ | |||||
| * | ANSSI elliptic curve cryptography frp256v1 | Simon Cogliani | 2016-07-24 | 1 | -0/+2 |
| | | | | | | | | | | | | - Parameters available here: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000024668816 - DER format according to the ANS1 syntax defined in ANSI X9.62 standard available here: http://www.ssi.gouv.fr/agence/publication/publication-dun-parametrage-de-courbe-elliptique-visant-des-applications-de-passeport-electronique-et-de-ladministration-electronique-francaise/ | ||||
* | | add X509_Time::to_std_timepoint() | Daniel Neus | 2016-07-28 | 2 | -0/+8 |
|/ | |||||
* | Add ECKDSA OIDs for SHA signatures | Jack Lloyd | 2016-06-22 | 1 | -0/+4 |
| | | | | From http://rootca.kisa.or.kr/kcac/down/Guide/Object%20Identifier%20Guideline%20for%20the%20Electronic%20Signature%20Certification%20System.pdf | ||||
* | Merge GH #504 Add ECKCDSA | Jack Lloyd | 2016-06-20 | 1 | -0/+3 |
|\ | |||||
| * | Add ECKCDSA signature algorithm | René Korthaus | 2016-06-14 | 1 | -0/+3 |
| | | |||||
* | | Merge GH #487 Remove CVC certificates and EMSA1_BSI signature encoding | Jack Lloyd | 2016-06-17 | 1 | -7/+0 |
|\ \ | |/ |/| | |||||
| * | remove all uses of EMSA1_BSI | Daniel Neus | 2016-05-02 | 1 | -7/+0 |
| | | |||||
* | | Add explicit static_cast operations to eliminate implicit cast compiler ↵ | Dan Brown | 2016-04-27 | 1 | -1/+1 |
|/ | | | | warnings. | ||||
* | Add ECGDSA | René Korthaus | 2016-04-19 | 1 | -0/+10 |
| | |||||
* | Merge GH #454 X.509 name constraints | Jack Lloyd | 2016-03-16 | 3 | -9/+96 |
|\ | |||||
| * | X.509 Name Constraints | Kai Michaelis | 2016-03-10 | 3 | -9/+96 |
| | | |||||
* | | Fix ordering of Charset::transcode arguments | Jack Lloyd | 2016-03-06 | 1 | -1/+1 |
| | | | | | | | | GH #438 | ||||
* | | Remaining cppcheck fixes that are not covered by GH #444 | Daniel Neus | 2016-03-05 | 3 | -33/+13 |
| | | |||||
* | | cppcheck fixes: Class 'X' has a constructor with 1 argument that is not ↵ | Daniel Neus | 2016-03-05 | 6 | -10/+10 |
|/ | | | | explicit. | ||||
* | Fix remaining Wshadow warnings and enable on gcc and clang | René Korthaus | 2016-02-18 | 1 | -5/+5 |
| | |||||
* | Add asserts to help out Coverity | Jack Lloyd | 2016-02-09 | 2 | -0/+4 |
| | | | | | | It somehow deduces an input that is both > 0 and for which high_bit never finds a bit set and returns 0. In both cases that would lead to block being 0 and a negative shift. | ||||
* | V816 It is more efficient to catch exception by reference rather than by ↵ | Daniel Neus | 2016-02-08 | 1 | -2/+2 |
| | | | | value. asn1_time.cpp 159 | ||||
* | Merge GH #409 Add Microsoft SmartcardLogon extended key usage OID | Jack Lloyd | 2016-01-12 | 1 | -0/+2 |
|\ | |||||
| * | Add Microsoft SmartcardLogon extended key usage OID | René Korthaus | 2016-01-12 | 1 | -0/+2 |
| | | |||||
* | | Add final attribute to many classes | Jack Lloyd | 2016-01-10 | 7 | -7/+7 |
|/ | | | | | | | 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 | ||||
* | Mass-prefix member vars with m_ | René Korthaus | 2016-01-08 | 15 | -149/+158 |
| | |||||
* | String comparision fixes | Daniel Neus | 2016-01-04 | 4 | -6/+6 |
| | | | | fix PVS-Studio perfomance warnings | ||||
* | Reroot the exception hierarchy into a toplevel Exception class | Jack Lloyd | 2015-12-11 | 1 | -1/+1 |
| | | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43 | ||||
* | Remove support for broken 112 and 128 bit SECP ECC groups. | Jack Lloyd | 2015-12-02 | 1 | -4/+2 |
| | |||||
* | 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 |
| |