aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Document hash, rng, mac, pbkdf and kdf in ffi handbookRené Korthaus2017-02-192-58/+244
|
* Add all ffi functions and types to ffi.rstRené Korthaus2017-02-191-19/+236
|
* Add more docs for ffiRené Korthaus2017-02-192-4/+104
|
* Fix botan-test verbose modeRené Korthaus2017-02-142-2/+2
|
* Merge GH #877 Add some example code to TLS handbook [ci skip]Jack Lloyd2017-02-131-2/+237
|\
| * Add minimal example code to tls handbookRené Korthaus2017-02-131-2/+237
|/
* Merge GH #876 Remove debug printJack Lloyd2017-02-121-4/+0
|\
| * Remove std::cout accidentally left from debuggingRené Korthaus2017-02-121-4/+0
|/
* Resolve Doxygen error in cpuid.hJack Lloyd2017-02-111-1/+2
| | | | The macro has to be on its own line or Doxygen gets confused.
* Fix compiling TLS tests without DSAJack Lloyd2017-02-111-0/+2
|
* Update todo listJack Lloyd2017-02-071-6/+8
| | | | | | Add some things, remove some things that are already done. [ci skip]
* Correct GH #869 for DSS CBC suitesJack Lloyd2017-02-071-2/+2
|
* Merge GH #869 Add tests for TLS DSS authJack Lloyd2017-02-071-5/+92
|\
| * Use SHA-384 with DHE_DSS_AES_256_CBCRené Korthaus2017-02-061-1/+5
| |
| * Add tests for DHE_DSS ciphersuitesRené Korthaus2017-02-061-5/+88
| | | | | | | | | | As long as we support DSS ciphersuites, we should test them, even if they're deprecated.
* | Merge GH #870 Test DSA keys in TLS policy check testsJack Lloyd2017-02-061-0/+32
|\ \ | |/ |/|
| * Add TLS policy tests for DSA keysRené Korthaus2017-02-061-0/+32
|/
* Merge GH #868 Add base64 size helper functionsJack Lloyd2017-02-052-6/+29
|\
| * Remove function comments n*4/3 and n*3/4 in base64Evgeny Pokhilko2017-02-062-6/+29
| | | | | | | | | | | | | | The parameter comments were misleading because they did not take into account that input_length must be rounded up to a multiple of 3 and 4 for encode and decode respectively. Two new functions were added to calculate the correct maximum output length.
* | Merge GH #867 Add configure.py --without-stack-protector flagJack Lloyd2017-02-054-6/+13
|\ \
| * | Make it possible to disable stack smashing protection.Jack Lloyd2017-02-044-6/+13
| |/ | | | | | | | | | | Also reflect anything in ABI flags into pkg-config Libs field. GH #863
* | Merge GH #865 Fix link in TLS-Attacker testsJack Lloyd2017-02-051-2/+2
|\ \ | |/ |/|
| * Updated the broken link to BSI TLS policyJuraj Somorovsky2017-02-041-2/+2
| |
* | Add toggle to disable SIMD speed test added in 2a7127fea6Jack Lloyd2017-02-041-36/+105
|/ | | | | | | | | | Failed to consider need for ISA flags (none required on x86-64 or aarch64 which are my primary test targets) but handling this correctly requires splitting up speed.cpp which requires a lot more refactoring work than I want to take on. Anyway the additional complexity just for this microbenchmark is not worth it so hide it behind a macro check. Also add an ECC scalar perf test.
* Add modexp speed testJack Lloyd2017-02-021-1/+38
| | | | Tests both short and full size exponents
* Report cycles/byte in speed testsJack Lloyd2017-02-021-19/+150
| | | | Add SIMD perf test
* Support zero-length IV in ChaChaJack Lloyd2017-02-023-3/+20
| | | | Equivalent to an 8 byte all-zero IV, same handling as Salsa.
* Merge GH #860 Support CPU instruction probe on Windows, add ↵Jack Lloyd2017-01-315-51/+128
|\ | | | | | | OS::get_high_resolution_clock
| * Fix missing return in Windows pathJack Lloyd2017-01-301-7/+3
| |
| * Fix test for 32-bit buildsJack Lloyd2017-01-281-2/+2
| |
| * Change meaning of get_processor_timestampJack Lloyd2017-01-275-50/+131
| | | | | | | | | | | | | | | | | | | | | | Now let it return 0 if we have no hardware timestamp, and add OS::get_high_resolution_clock for best available clock. This is mainly because it's confusing for get_processor_timestamp to return something that is not a processor timestamp and because it simplifies adding cycles/byte output if we know that something is or is not a cycle counter. Also adds Windows SEH version of run_cpu_instruction_probe. Untested, uncompiled.
* | Merge GH #859 Add support for ARM NEON in SIMD_4x32 moduleJack Lloyd2017-01-3110-195/+577
|\ \
| * | Blind fixJack Lloyd2017-01-301-1/+1
| | |
| * | Transpose for 32-bit NEONJack Lloyd2017-01-291-1/+19
| | | | | | | | | | | | Different intrinsics API
| * | Add support for Aarch32 NEON flagsJack Lloyd2017-01-291-1/+4
| | | | | | | | | | | | configure.py already supports this arch-specific ISA flag syntax.
| * | Workaround for MSVC 2013Jack Lloyd2017-01-292-3/+14
| | |
| * | Set SIMD ISA flags when building test_simd.cppJack Lloyd2017-01-292-1/+10
| | | | | | | | | | | | Return NEON from CPUID::has_simd_32
| * | Add support for NEON in SIMD_4x32Jack Lloyd2017-01-298-193/+534
|/ / | | | | | | Tested on qemu-aarch64
* | Remove some commented out code from NoekeonJack Lloyd2017-01-281-13/+0
| | | | | | | | | | | | It was bogus and so potentially confusing [ci skip]
* | Add readdir for SolarisJack Lloyd2017-01-281-0/+1
| | | | | | | | [ci skip]
* | Add -std=c++11 to Sun CC command lineJack Lloyd2017-01-281-1/+1
| |
* | Add static_cast in uint8_t vs enum comparison.Jack Lloyd2017-01-281-2/+2
|/ | | | Sun CC for whatever reason becomes very confused by this.
* Add =default copy constructor decls for some pubkey types.Jack Lloyd2017-01-273-1/+15
| | | | | | | This inhibits default creation of C++11 move operators which we do not want. GH #849
* Add BOTAN_UNUSED in creator functionsJack Lloyd2017-01-275-0/+15
| | | | | | If all (say) stream ciphers are disabled, avoid unused arg warning. [ci skip]
* Merge GH #857 Add --with-external-libdir to configure.pyJack Lloyd2017-01-273-7/+22
|\
| * add "--with-external-libdir" to configure.pyDaniel Neus2017-01-263-7/+22
| | | | | | | | | | | | Fixes #767 and #19 Main purpose is to support external libs like OpenSSL on Windows.
* | Merge GH #858 Fix private key constructor API commentsJack Lloyd2017-01-279-11/+12
|\ \
| * | Fix private key ctors API docs [ci skip]René Korthaus2017-01-279-11/+12
| |/
* / Add more Noekeon testsJack Lloyd2017-01-271-8/+4114
|/ | | | | | Values take from the NESSIE submission package. [ci skip]
* Fix PKCS11 tests when ECDH or ECDSA was disabledJack Lloyd2017-01-241-10/+11
| | | | It assumed if ECC was included then ECDH and ECDSA was also