Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove debug printf | Jack Lloyd | 2015-12-31 | 1 | -1/+0 |
| | |||||
* | Add missing assignment in DataSource::discard_next | Jack Lloyd | 2015-12-31 | 2 | -0/+5 |
| | | | | Reported on the mailing list by Falko | ||||
* | Avoid having Command* objects be created until requested. | Jack Lloyd | 2015-12-30 | 14 | -61/+94 |
| | | | | Avoids various static init and destruction hassles. | ||||
* | Add Command::rng() | Jack Lloyd | 2015-12-27 | 9 | -58/+42 |
| | | | | | | | for when a command wants an RNG but doesn't much care what kind. This adds a place where a future --rng-type= option can be consulted to eg use the system RNG or a user seeded DRBG. | ||||
* | Move McEliece KEM operation into the same file as the key type. | Jack Lloyd | 2015-12-26 | 2 | -74/+65 |
| | | | | | | | Otherwise we run into the old problem in the static non-amalgamation build of the operation not being loaded even though the key itself was referenced; since now the operation is loaded as a by-product of referencing the key type (as with other impls) everything works out. | ||||
* | Missing add | Jack Lloyd | 2015-12-26 | 1 | -1/+0 |
| | |||||
* | Reading list | Jack Lloyd | 2015-12-26 | 1 | -0/+69 |
| | |||||
* | Correct copyright info in unit_ecc.cpp file | Jack Lloyd | 2015-12-26 | 1 | -1/+6 |
| | | | | | | | | At some point during the test changeover the (C) info got lost from this file. Also try randomizing the point repr in the copy test, just to spice things up a bit. | ||||
* | Add -Wnon-virtual-dtor to GCC build | Jack Lloyd | 2015-12-26 | 1 | -1/+1 |
| | | | | GH #382 | ||||
* | Remove debug prints | Jack Lloyd | 2015-12-26 | 1 | -4/+0 |
| | |||||
* | Merge pull request #378 from neusdan/warning_fixes | Jack Lloyd | 2015-12-26 | 18 | -33/+24 |
|\ | | | | | Some trivial compiler and PVS-Studio warning fixes | ||||
| * | initialize private members in rc4 header | Daniel Neus | 2015-12-23 | 2 | -5/+4 |
| | | |||||
| * | some trivial compiler/PVS-Studio warning fixes | Daniel Neus | 2015-12-22 | 17 | -29/+21 |
| | | |||||
* | | Merge pull request #382 from webmaster128/command-virtual-dtor | Jack Lloyd | 2015-12-26 | 1 | -0/+1 |
|\ \ | | | | | | | Add virtual destructor to Botan_CLI::Command | ||||
| * | | Add virtual destructor to Botan_CLI::Command | Simon Warta | 2015-12-26 | 1 | -0/+1 |
| | | | |||||
* | | | Add generalized KEM interface | Jack Lloyd | 2015-12-26 | 17 | -116/+494 |
|/ / | | | | | | | | | | | Convert McEliece KEM to use it Add RSA-KEM | ||||
* | | On Python | Jack Lloyd | 2015-12-25 | 1 | -4/+22 |
| | | |||||
* | | Fix Clang warning | Jack Lloyd | 2015-12-25 | 1 | -0/+3 |
| | | |||||
* | | Export mgf1_mask GH #380 | Jack Lloyd | 2015-12-25 | 2 | -3/+5 |
| | | |||||
* | | Guard all std::mem* ops against any call with zero length. | Jack Lloyd | 2015-12-25 | 3 | -21/+47 |
| | | | | | | | | | | | | | | | | | | | | Calling memset, memmove, memcpy with an undefined or null pointer, even with length zero, causes undefined behavior. Prevent that from happening within the functions that call these dangerous things since allowing a caller to pass length == 0 with null or just past the end and not have things explode is nice. Oh C, you so crazy. | ||||
* | | Another Clang warning | Jack Lloyd | 2015-12-25 | 1 | -1/+1 |
| | | |||||
* | | Remove mp_mulop.cpp | Jack Lloyd | 2015-12-25 | 7 | -95/+48 |
| | | | | | | | | | | | | It had two functions, both only called from one place (mp_karat.cpp). Both multiple and square ops were O(n**2), so drop square and just call mul in mp_karat.cpp for either case | ||||
* | | Fix a few clang warnings. Set clang sanitizer flags | Jack Lloyd | 2015-12-24 | 6 | -15/+7 |
| | | |||||
* | | Add DSA keygen and --der-out flag to keygen and pkcs8 tools | Jack Lloyd | 2015-12-23 | 3 | -48/+77 |
| | | | | | | | | If no files are given on the command line to `hash`, default to stdin | ||||
* | | Improve roundtrip BER/PEM tests | Jack Lloyd | 2015-12-23 | 1 | -24/+71 |
| | | |||||
* | | Update NIST X509 tests to handle --data-dir and read expected results from a ↵ | Jack Lloyd | 2015-12-23 | 2 | -223/+148 |
| | | | | | | | | file | ||||
* | | Merge pull request #376 from webmaster128/remove-hyperlink-from-m_ | Jack Lloyd | 2015-12-22 | 1 | -53/+52 |
|\ \ | | | | | | | Fix ReST formatting in hacking.rst | ||||
| * | | Fix a lot of backquotes in hacking.rst | Simon Warta | 2015-12-22 | 1 | -51/+51 |
| | | | |||||
| * | | Remove hyperlink from m_ in hacking.rst | Simon Warta | 2015-12-22 | 1 | -2/+1 |
| |/ | |||||
* | | Merge pull request #375 from webmaster128/test_x509_path-datadir | Jack Lloyd | 2015-12-22 | 1 | -6/+5 |
|\ \ | |/ |/| | Use --data-dir in test X509test_Path | ||||
| * | Use --data-dir in test X509test_Path | Simon Warta | 2015-12-22 | 1 | -6/+5 |
|/ | | | | This allows me to build and run tests out-of-tree :) | ||||
* | Remove debug printf | Jack Lloyd | 2015-12-21 | 1 | -1/+0 |
| | |||||
* | Add missing try/catch in signature verification test. | Jack Lloyd | 2015-12-21 | 4 | -14/+30 |
| | | | | | | Improve diagnostics when an exception escapes a test GH #369 | ||||
* | Throw Lookup_Error instead of bare Exception when creating an obj fails | Jack Lloyd | 2015-12-20 | 2 | -28/+28 |
| | | | | | | | in the algo factory. Fixes remaining issues of GH #369 - test_pubkey.cpp was expecting Lookup_Error when something isn't found. | ||||
* | Merge pull request #371 from webmaster128/aes-gcm-testdata | Jack Lloyd | 2015-12-20 | 1 | -41/+122 |
|\ | | | | | Add all 18 GCM tests provided in NIST GCM spec | ||||
| * | Add all 18 Nist GCM tests | Simon Warta | 2015-12-20 | 1 | -41/+122 |
| | | | | | | | | | | | | | | | | This adds tests for key length 192 and 256. Test vector source: http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm /gcm-spec.pdf Closes: #344 | ||||
* | | Add --data-dir option to test command | Jack Lloyd | 2015-12-20 | 34 | -240/+224 |
|/ | | | | | | | Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory. | ||||
* | Add TPM v1.2 support (RSA keygen/signing, RNG) | Jack Lloyd | 2015-12-19 | 6 | -2/+760 |
| | |||||
* | Remove references to deleted examples GH #339 | Jack Lloyd | 2015-12-19 | 4 | -36/+1 |
| | |||||
* | Deprecate lookup.h functions GH #366 | Jack Lloyd | 2015-12-19 | 1 | -1/+19 |
| | |||||
* | Prevent FFI tests from failing if bcrypt is disabled. GH #369 | Jack Lloyd | 2015-12-19 | 1 | -4/+10 |
| | |||||
* | Avoid test failures on missing algos | Jack Lloyd | 2015-12-19 | 2 | -5/+7 |
| | | | | GH #369 | ||||
* | If skipping a test due to diabled algo, only print if in verbose mode. | Jack Lloyd | 2015-12-19 | 4 | -33/+40 |
| | | | | | | Also fix KDF tests which failed on missing algo GH #367 | ||||
* | Move estimate of RDRAND/RDSEED entropy to build.h | Jack Lloyd | 2015-12-19 | 3 | -22/+15 |
| | | | | GH #370 for background | ||||
* | Merge pull request #370 from neusdan/rdseed | Jack Lloyd | 2015-12-19 | 11 | -1/+126 |
|\ | | | | | Add support for Intel RdSeed instruction | ||||
| * | add support for Intel RdSeed | Daniel Neus | 2015-12-18 | 11 | -1/+126 |
| | | |||||
* | | Remove unused word8_muladd from MSVC x86-32 asm | Jack Lloyd | 2015-12-19 | 1 | -84/+0 |
| | | | | | | | | GH #363 | ||||
* | | Merge the openssl code together. | Jack Lloyd | 2015-12-19 | 10 | -37/+17 |
| | | | | | | | | | | | | | | Having the code diffused all over the place was ugly and would not scale well to multiple alternative providers. GH #368 | ||||
* | | Remove all remaining uses of throwing a std:: exception directly | Jack Lloyd | 2015-12-19 | 11 | -31/+35 |
| | | | | | | | | See GH #340 and 6b9a3a5 for background | ||||
* | | Remove backup tarball accidentally added to commit | Jack Lloyd | 2015-12-19 | 2 | -0/+4 |
| | | | | | | | | | | | | Update gitignore appropriately [ci skip] |