Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -0/+754 |
| | |||||
* | 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 | 10 | -1/+124 |
|\ | | | | | Add support for Intel RdSeed instruction | ||||
| * | add support for Intel RdSeed | Daniel Neus | 2015-12-18 | 10 | -1/+124 |
| | | |||||
* | | 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 | 1 | -0/+0 |
| | | | | | | | | | | | | Update gitignore appropriately [ci skip] | ||||
* | | CLI rewrite | Jack Lloyd | 2015-12-19 | 62 | -4570/+3293 |
|/ | | | | | | | | | | | | | | | | | | The command line tools' origin as a collection of examples and test programs glued together led to some unfortunate problems; lots of hardcoded values, missing parameters, and obsolete crypto. Adds a small library for writing command line programs of the sort needed here (cli.h), which cuts the length of many of the commands in half and makes commands more pleasant to write and extend. Generalizes a lot of the commands also, eg previously only signing/verification with DSA/SHA-1 was included! Removes the fuzzer entry point since that's fairly useless outside of an instrumented build. Removes the in-library API for benchmarking. | ||||
* | Enable RdRand on Windows/MSVC | Daniel Neus | 2015-12-16 | 1 | -0/+1 |
| | |||||
* | Add missing include in dyn_load.cpp | Simon Warta | 2015-12-12 | 1 | -0/+1 |
| | |||||
* | Improve some argument checks and usage messages of cli apps | Simon Warta | 2015-12-12 | 12 | -18/+27 |
| | | | | See also #354 | ||||
* | Fix for minimized builds | Jack Lloyd | 2015-12-11 | 1 | -1/+1 |
| | |||||
* | Build fix. Add SQL_DB_Error exception type | Jack Lloyd | 2015-12-11 | 2 | -9/+18 |
| | |||||
* | Disable asio serial port support to avoid Darwin braindamage. GH #350 | Jack Lloyd | 2015-12-11 | 1 | -1/+9 |
| | |||||
* | Missing adds | Jack Lloyd | 2015-12-11 | 26 | -41/+39 |
| | |||||
* | Reroot the exception hierarchy into a toplevel Exception class | Jack Lloyd | 2015-12-11 | 82 | -194/+211 |
| | | | | | | | | 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 | ||||
* | Rename cmd/app -> cli | Simon Warta | 2015-12-09 | 41 | -25/+25 |
| | |||||
* | Minor sanity updates for OctetString | Simon Warta | 2015-12-09 | 2 | -23/+24 |
| | |||||
* | Improve getopt error message | Simon Warta | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Fix tls_proxy app | Simon Warta | 2015-12-09 | 1 | -8/+8 |
| | | | | Closes #345 | ||||
* | Add boost builds on Travis OSX | Simon Warta | 2015-12-09 | 3 | -12/+14 |
| | |||||
* | Replace C interfaces in cli apps with C++ interfaces | Simon Warta | 2015-12-08 | 30 | -234/+237 |
| | |||||
* | Remove LibraryInitializer from cli | Simon Warta | 2015-12-08 | 1 | -3/+0 |
| | |||||
* | Fix indent in test_passhash | Simon Warta | 2015-12-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #311 from mouse07410/master | Jack Lloyd | 2015-12-08 | 1 | -8/+18 |
|\ | | | | | Improve output formating in python example | ||||
| * | Merge pull request #7 from randombit/master | Mouse | 2015-10-27 | 80 | -483/+3774 |
| |\ | | | | | | | Update to match current Botan | ||||
| * \ | Merge pull request #6 from randombit/master | Mouse | 2015-10-25 | 8 | -121/+109 |
| |\ \ | | | | | | | | | Bring up to date with random bit/botan | ||||
| * \ \ | Merge pull request #5 from randombit/master | Mouse | 2015-10-23 | 2 | -0/+10 |
| |\ \ \ | | | | | | | | | | | Sync up with random bit | ||||
| * | | | | Added comments explaining when .decode() is needed on mce_decrypt | Uri Blumenthal | 2015-10-23 | 1 | -2/+7 |
| | | | | | |||||
| * | | | | Fix minor output problem. | Mouse | 2015-10-23 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added MCEIES plaintext and decrypted output. Added output length where it was missing. Changed "Public key bits" output to Base64 to match cert.toString() | ||||
* | | | | | Add OS utility header | Jack Lloyd | 2015-12-05 | 7 | -102/+197 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide abstractions for the locking allocator (allocate and free locked pages) to decouple it from the platform dependent code. Should make it easy to write a Windows version using VirtualAlloc+VirtualLock. Exposes max mlock limit as a build.h toggle | ||||
* | | | | | Make portable GCM multiply operation run in constant time. | Jack Lloyd | 2015-12-04 | 1 | -9/+16 |
| | | | | | | | | | | | | | | | | | | | | Checked with ctgrind | ||||
* | | | | | Merge pull request #321 from matejk/fix_algo_registry_locking_windows | Jack Lloyd | 2015-12-04 | 1 | -6/+54 |
|\ \ \ \ \ | | | | | | | | | | | | | Algo_Registry: Use CRITICAL_SECTION on Windows to prevent hang during initialization | ||||
| * | | | | | Added myself to credits/copyright. | Matej Kenda | 2015-11-20 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Merged two sections of Botan namespace as suggested by randombit. ↵ | Matej Kenda | 2015-11-19 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Preprocessing sections are now split in two. | ||||
| * | | | | | Merge branch 'master' of github.com:randombit/botan into ↵ | Matej Kenda | 2015-11-19 | 112 | -21869/+9231 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | fix_algo_registry_locking_windows | ||||
| * | | | | | | Fixed default ctor for WinCS_Mutex | Matej Kenda | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | #321: changed implementation of CriticalSection locking in algo registry. | Matej Kenda | 2015-11-04 | 1 | -34/+38 |
| | | | | | | | |||||
| * | | | | | | Algo_Registry: Use CRITICAL_SECTION instead of std::mutex to prevent hang in ↵ | Matej Kenda | 2015-11-03 | 1 | -5/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | DllMain when initialising global constants. |