aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix loading of unencrypted, BER encoded private keys via PKCS8 apiRené Korthaus2015-12-253-34/+99
|
* Fix a few clang warnings. Set clang sanitizer flagsJack Lloyd2015-12-246-15/+7
|
* Add DSA keygen and --der-out flag to keygen and pkcs8 toolsJack Lloyd2015-12-233-48/+77
| | | | If no files are given on the command line to `hash`, default to stdin
* Improve roundtrip BER/PEM testsJack Lloyd2015-12-231-24/+71
|
* Update NIST X509 tests to handle --data-dir and read expected results from a ↵Jack Lloyd2015-12-232-223/+148
| | | | file
* Merge pull request #376 from webmaster128/remove-hyperlink-from-m_Jack Lloyd2015-12-221-53/+52
|\ | | | | Fix ReST formatting in hacking.rst
| * Fix a lot of backquotes in hacking.rstSimon Warta2015-12-221-51/+51
| |
| * Remove hyperlink from m_ in hacking.rstSimon Warta2015-12-221-2/+1
| |
* | Merge pull request #375 from webmaster128/test_x509_path-datadirJack Lloyd2015-12-221-6/+5
|\ \ | |/ |/| Use --data-dir in test X509test_Path
| * Use --data-dir in test X509test_PathSimon Warta2015-12-221-6/+5
|/ | | | This allows me to build and run tests out-of-tree :)
* Remove debug printfJack Lloyd2015-12-211-1/+0
|
* Add missing try/catch in signature verification test.Jack Lloyd2015-12-214-14/+30
| | | | | | Improve diagnostics when an exception escapes a test GH #369
* Throw Lookup_Error instead of bare Exception when creating an obj failsJack Lloyd2015-12-202-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-testdataJack Lloyd2015-12-201-41/+122
|\ | | | | Add all 18 GCM tests provided in NIST GCM spec
| * Add all 18 Nist GCM testsSimon Warta2015-12-201-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 commandJack Lloyd2015-12-2034-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 Lloyd2015-12-196-2/+760
|
* Remove references to deleted examples GH #339Jack Lloyd2015-12-194-36/+1
|
* Deprecate lookup.h functions GH #366Jack Lloyd2015-12-191-1/+19
|
* Prevent FFI tests from failing if bcrypt is disabled. GH #369Jack Lloyd2015-12-191-4/+10
|
* Avoid test failures on missing algosJack Lloyd2015-12-192-5/+7
| | | | GH #369
* If skipping a test due to diabled algo, only print if in verbose mode.Jack Lloyd2015-12-194-33/+40
| | | | | | Also fix KDF tests which failed on missing algo GH #367
* Move estimate of RDRAND/RDSEED entropy to build.hJack Lloyd2015-12-193-22/+15
| | | | GH #370 for background
* Merge pull request #370 from neusdan/rdseedJack Lloyd2015-12-1911-1/+126
|\ | | | | Add support for Intel RdSeed instruction
| * add support for Intel RdSeedDaniel Neus2015-12-1811-1/+126
| |
* | Remove unused word8_muladd from MSVC x86-32 asmJack Lloyd2015-12-191-84/+0
| | | | | | | | GH #363
* | Merge the openssl code together.Jack Lloyd2015-12-1910-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 directlyJack Lloyd2015-12-1911-31/+35
| | | | | | | | See GH #340 and 6b9a3a5 for background
* | Remove backup tarball accidentally added to commitJack Lloyd2015-12-192-0/+4
| | | | | | | | | | | | Update gitignore appropriately [ci skip]
* | CLI rewriteJack Lloyd2015-12-1963-4572/+3299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | More notesJack Lloyd2015-12-191-62/+103
|/ | | | [ci skip]
* Merge branch 'master' of github.com:randombit/botanJack Lloyd2015-12-172-0/+3
|\
| * Merge pull request #364 from neusdan/RdRand_windowsJack Lloyd2015-12-172-0/+3
| |\ | | | | | | Enable RdRand on Windows/MSVC
| | * Enable RdRand on Windows/MSVCDaniel Neus2015-12-162-0/+3
| |/
* / Expose os_type setting as BOTAN_TARGET_OS_TYPE_IS_xJack Lloyd2015-12-121-7/+15
|/
* RantingJack Lloyd2015-12-121-0/+51
| | | | [ci skip]
* Add missing include in dyn_load.cppSimon Warta2015-12-121-0/+1
|
* Merge pull request #358 from webmaster128/cli-argument-count-fixSimon Warta2015-12-1212-18/+27
|\ | | | | Improve some argument checks and usage messages of cli apps
| * Improve some argument checks and usage messages of cli appsSimon Warta2015-12-1212-18/+27
|/ | | | See also #354
* Merge pull request #357 from webmaster128/docfixesSimon Warta2015-12-115-16/+10
|\ | | | | Replace path src/cmd/ by new src/cli/ in documentation
| * Replace path src/cmd/ by new src/cli/ in documentationSimon Warta2015-12-115-16/+10
|/ | | | | | Closes #356. [ci skip]
* Fix for minimized buildsJack Lloyd2015-12-111-1/+1
|
* Build fix. Add SQL_DB_Error exception typeJack Lloyd2015-12-112-9/+18
|
* Disable asio serial port support to avoid Darwin braindamage. GH #350Jack Lloyd2015-12-111-1/+9
|
* Bump version to 1.11.26-preJack Lloyd2015-12-113-1/+10
|
* Missing addsJack Lloyd2015-12-1126-41/+39
|
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-1182-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
* Merge pull request #341 from webmaster128/cmd-cliSimon Warta2015-12-0943-36/+36
|\ | | | | Rename cmd/app -> cli
| * Rename cmd/app -> cliSimon Warta2015-12-0943-36/+36
|/
* Merge pull request #346 from webmaster128/sanitySimon Warta2015-12-092-23/+24
|\ | | | | Minor sanity updates for OctetString