aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused iostream includeJack Lloyd2017-01-201-1/+0
| | | | [ci skip]
* Avoid requiring AT_DCACHEBSIZE (data cache size) getauxvalJack Lloyd2017-01-191-0/+3
| | | | | Missing on Android it appears, or at least on Kullo CI NDK. Not essential by any means.
* Merge GH #843 Refactor CPUID impl, add ARM feature detectionJack Lloyd2017-01-186-159/+463
|\
| * Fix for PowerPCJack Lloyd2017-01-171-2/+2
| |
| * Fixes for 32-bit ARMJack Lloyd2017-01-171-7/+38
| |
| * Refactor CPUID implementation, add ARM supportJack Lloyd2017-01-174-146/+324
| | | | | | | | | | | | Tested for ARM only under qemu-aarch64, need to check hardware before merging. Changes x86 CPUID bitmasks which does break ABI for 2.1, no API implications.
| * Fixes for OS X buildJack Lloyd2017-01-172-1/+2
| | | | | | | | | | | | os_utils.h was missing an include, only noticed on OS X sigemptyset is a macro on OS X so cannot be called as ::sigemptyset
| * Add OS::run_cpu_instruction_probeJack Lloyd2017-01-152-13/+107
| | | | | | | | | | | | Needed for ARM detection, also probably useful on PowerPC for AltiVec Works fine for me on Linux x86-64 testing with ud2 instruction.
* | Mark GMAC tests as being sensitive to clmul and AES-NI CPUID bitsJack Lloyd2017-01-171-0/+2
|/
* Run pylint on botan.py in TravisJack Lloyd2017-01-121-2/+7
|
* Fix some (not all) pylint warnings in botan.pyJack Lloyd2017-01-121-54/+52
|
* Fix pyflakes warnings in Python wrapper codeJack Lloyd2017-01-121-16/+21
|
* Remove --with-pkcs11 option from CI scripts, docsRené Korthaus2017-01-118-11/+8
|
* Enable PKCS11 module by default and remove --with-pkcs11 optionRené Korthaus2017-01-111-2/+0
| | | | | | The pkcs11 module once required the pkcs11 headers as an external dependency, but the headers were included a while ago. Still, the module was set to be load_on vendor. Instead, we can enable the module by default now.
* Merge GH #833 Remove minor number from include dirJack Lloyd2017-01-092-2/+2
|\
| * Remove minor number from header include dirJack Lloyd2017-01-092-2/+2
| | | | | | | | | | | | Already pkg-config had this, was missed in GH #802 See also GH #830
* | Avoid creating+deleting test DB for certstoreJack Lloyd2017-01-091-6/+3
| | | | | | | | Just use in-memory sqlite DB instead
* | Avoid deprecation warning in TLS testsJack Lloyd2017-01-091-0/+3
|/
* Merge GH #827 Add pylint to build, fix pylint errors in configureJack Lloyd2017-01-093-0/+24
|\
| * Add initial pylint CI setupSimon Warta2017-01-093-0/+24
| |
* | Merge GH #831 Avoid module index in LaTeX outputJack Lloyd2017-01-091-1/+1
|\ \
| * | Don't create module index for latex outputRené Korthaus2017-01-091-1/+1
| |/
* / Update BSI module policyDaniel Neus2017-01-081-0/+4
|/
* Merge GH #823 Switch to readthedocs Sphinx themeJack Lloyd2017-01-072-45/+11
|\ | | | | | | [ci skip]
| * Switch to readthedocs Sphinx themeJack Lloyd2017-01-072-45/+11
| | | | | | | | | | | | | | Move some text and change some headers to look better with how rtd theme formats the table of contents. GH #822
* | Cygwin has readdir, so uses it.Jack Lloyd2017-01-071-0/+1
|/ | | | | | | | Fixes a test problem on Cygwin. GH #824 [ci skip]
* Fix another libname issueJack Lloyd2017-01-061-1/+1
| | | | [ci skip]
* Fix library name in fuzzer makefileJack Lloyd2017-01-061-5/+6
| | | | [ci skip]
* Work around an apparent problem with GCC on AIXJack Lloyd2017-01-061-4/+5
| | | | | | | | When compiled by GCC 4.8 on AIX 7.1 ppc32, the TLS policy tests fail because the exception thrown from the TLS policy check ends up not being caught at runtime by the test if the catch statement is for `std::exception&` or even `Botan::Exception&` but only if the actually thrown type `Botan::TLS::TLS_Exception` is caught.
* Update features for AIXJack Lloyd2017-01-061-0/+5
| | | | | | Based on compiling on AIX 7.1 [ci skip]
* Merge GH #818 Fix DL_Group generator selectionJack Lloyd2017-01-066-12/+28
|\
| * Fix how DL_Group chooses generator for strong prime groups.Jack Lloyd2017-01-066-12/+28
| | | | | | | | | | | | | | | | | | | | | | Previously it fixed g=2 but this is not always correct. GH #784 Change default PEM header for X9.42 groups to match OpenSSL. We accept either on decoding. GH #784 Change {DL_Group,EC_Group}::PEM_for_named_curve to return std::string instead of a const char*. That makes a future refactoring I have in mind possible without breaking API.
* | In ressol and modexp fuzzers, fix the prime pJack Lloyd2017-01-062-37/+29
| | | | | | | | | | | | For ressol this avoids very slow runtimes in situations when p is actually a composite. This normally leads to algorithm failure eventually but can be slow.
* | Fix install path for lcov 1.13Jack Lloyd2017-01-061-3/+3
| |
* | Merge GH #817 Add try/catch to PKCS11 destructors that might throwJack Lloyd2017-01-064-16/+42
|\ \ | |/ |/|
| * Another try/catch for the testsJack Lloyd2017-01-061-8/+13
| |
| * Add try/catch blocks in noexcept destructors that might throwJack Lloyd2017-01-063-8/+29
| | | | | | | | Flagged by Coverity
* | Fix install for lcov 1.13Jack Lloyd2017-01-061-2/+1
|/
* Avoid using uninitialized RNG object in tests if construction failsJack Lloyd2017-01-061-4/+11
| | | | Found by Coverity scanner
* Merge GH #802 Update version to 2.0.0, change lib and include dir namesJack Lloyd2017-01-0617-16/+33
|\
| * Update shared object naming for new versioning scheme.Jack Lloyd2017-01-0617-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running.
* | Merge GH #816 Remove unused entries from BOTAN_ENTROPY_DEFAULT_SOURCESJack Lloyd2017-01-061-4/+4
|\ \
| * | remove "timestamp" and "proc_info" from BOTAN_ENTROPY_DEFAULT_SOURCESDaniel Neus2017-01-061-4/+4
| | | | | | | | | | | | these don't exist anymore
* | | Add tests for Stream_Cipher_ModeJack Lloyd2017-01-061-0/+14
| | | | | | | | | | | | GH #713
* | | Update lcov version to 1.13Jack Lloyd2017-01-061-3/+3
|/ / | | | | | | | | It seems the lcov source tarball for 1.12 has been removed from all Debian mirrors. Hopefully 1.13 is a trouble free upgrade.
* | Fix duplicate entry in XMSS speed paramsJack Lloyd2017-01-061-1/+1
| |
* | Merge GH #815 Add NIST build policyJack Lloyd2017-01-062-0/+155
|\ \
| * | Add basic NIST policyJack Lloyd2017-01-052-0/+155
| |/ | | | | | | Just my best reckoning of what is NIST approved, may have errors.
* | Merge GH #814 Avoid negotiating CECPQ1 if x25519 ECC is disabledJack Lloyd2017-01-061-0/+10
|\ \
| * | Avoid negotiating CECPQ1 if x25519 ECC is disabledJack Lloyd2017-01-051-0/+10
| | |