Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support scrypt for encrypting private keys | Jack Lloyd | 2018-05-22 | 5 | -134/+323 |
| | |||||
* | Remove debug printf | Jack Lloyd | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | Fix PBE decoding and fix test macro check | Jack Lloyd | 2018-05-22 | 2 | -3/+3 |
| | |||||
* | Test speed of different scrypt params | Jack Lloyd | 2018-05-22 | 1 | -10/+24 |
| | |||||
* | Sphinx: Avoid formatting problems in PDF index | Jack Lloyd | 2018-05-22 | 1 | -0/+4 |
| | | | | Fixes #1573 | ||||
* | Merge GH #1572 DER encoder improvements | Jack Lloyd | 2018-05-22 | 22 | -200/+287 |
|\ | |||||
| * | DER improvements | Jack Lloyd | 2018-05-22 | 22 | -200/+287 |
| | | | | | | | | | | | | | | | | | | | | | | Let DER_Encoder write to a user specified vector instead of only to an internal vector. This allows encoding to a std::vector without having to first write to a locked vector and then copying out the result. Add ASN1_Object::BER_encode convenience method. Replaces X509_Object::BER_encode which had the same logic but was restricted to a subtype. This replaces many cases where DER_Encoder was just used to encode a single object (X509_DN, AlgorithmIdentifier, etc). | ||||
* | | Add list of available KDFs | Jack Lloyd | 2018-05-22 | 1 | -0/+69 |
| | | |||||
* | | Correct outdated material in filter doc [ci skip] | Jack Lloyd | 2018-05-22 | 1 | -7/+4 |
|/ | |||||
* | Tweak default `speed` targets | Jack Lloyd | 2018-05-21 | 1 | -8/+8 |
| | |||||
* | Inline SymmetricAlgorithm::verify_key_set | Jack Lloyd | 2018-05-21 | 2 | -4/+9 |
| | | | | Instead just put the throw into a compiled function. | ||||
* | Merge GH #1571 DER_Encoder optimizations | Jack Lloyd | 2018-05-21 | 3 | -84/+124 |
|\ | |||||
| * | Make MSVC happy | Jack Lloyd | 2018-05-21 | 1 | -0/+13 |
| | | |||||
| * | Cleanups and optimizations in DER_Encoder | Jack Lloyd | 2018-05-21 | 3 | -84/+111 |
| | | |||||
* | | Use BER_Decoder::get_next to cleanup X.509 cert decoding code | Jack Lloyd | 2018-05-21 | 3 | -15/+24 |
| | | |||||
* | | Use smaller error bound when generating subgroups-style DL groups | Jack Lloyd | 2018-05-21 | 1 | -1/+1 |
| | | |||||
* | | Speed up DSA param gen | Jack Lloyd | 2018-05-21 | 2 | -9/+6 |
| | | | | | | | | Using Barrett reduction instead of division is ~10x faster. | ||||
* | | In gen_dl_group cmdlet let --seed be optional for DSA params | Jack Lloyd | 2018-05-21 | 1 | -10/+17 |
|/ | |||||
* | Move the roadmap into the handbook so end-users can find it. | Jack Lloyd | 2018-05-21 | 3 | -9/+14 |
| | |||||
* | Fix typo in comment [ci skip] | Jack Lloyd | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | Fixes for DES/3DES | Jack Lloyd | 2018-05-16 | 2 | -23/+11 |
| | |||||
* | Update news | Jack Lloyd | 2018-05-16 | 1 | -0/+2 |
| | |||||
* | Merge GH #1570 Add Scrypt | Jack Lloyd | 2018-05-16 | 12 | -9/+382 |
|\ | |||||
| * | Add Scrypt key dervation function | Jack Lloyd | 2018-05-16 | 12 | -9/+382 |
| | | |||||
* | | Unroll DES to encrypt/decrypt 2 rounds in parallel | Jack Lloyd | 2018-05-16 | 2 | -122/+201 |
|/ | | | | About 50% faster for CBC decrypt | ||||
* | Doc updates [ci skip] | Jack Lloyd | 2018-05-15 | 3 | -3/+288 |
| | |||||
* | Add clarifying comments and increase M-R tests for 256-bit integers | Jack Lloyd | 2018-05-15 | 1 | -3/+7 |
| | | | | See #1542 and #1569 | ||||
* | Always use 1/2^-128 error bounds with Miller-Rabin | Jack Lloyd | 2018-05-14 | 1 | -24/+14 |
| | | | | | | | Simplifies the code and makes it easy to see we never use the weaker bounds even if the application expicitly requested it. GH #1569 | ||||
* | Merge GH #1568 Use BOTAN_ARG_CHECK more | Jack Lloyd | 2018-05-14 | 44 | -95/+138 |
|\ | |||||
| * | Add message to BOTAN_ARG_CHECK and use it more widely | Jack Lloyd | 2018-05-13 | 44 | -95/+138 |
| | | |||||
* | | Merge GH #1567 Fixes for C++17 mode compilation under MSVC | Jack Lloyd | 2018-05-14 | 3 | -19/+37 |
|\ \ | |||||
| * | | Apple Clang requires min/max be constexpr | Jack Lloyd | 2018-05-13 | 2 | -11/+20 |
| | | | | | | | | | | | | Add BOTAN_CONSTEXPR since we are still stuck with VC2013 for a while. | ||||
| * | | Fixes for compilation in C++17 mode by MSVC | Jack Lloyd | 2018-05-13 | 2 | -10/+19 |
| |/ | | | | | | | Fixes GH #1566 | ||||
* | | Add docs for TOTP | Jack Lloyd | 2018-05-11 | 1 | -0/+29 |
| | | |||||
* | | Update BigInt docs | Jack Lloyd | 2018-05-11 | 1 | -41/+195 |
|/ | |||||
* | Properly set thread counts in asio TLS servers | Jack Lloyd | 2018-05-09 | 2 | -4/+31 |
| | | | | X || Y || 2 always evaluates to 1... | ||||
* | Inline BigInt::shrink_to_fit | Jack Lloyd | 2018-05-09 | 2 | -7/+5 |
| | | | | Improves P-256 a bit | ||||
* | Update news | Jack Lloyd | 2018-05-09 | 1 | -0/+3 |
| | |||||
* | Extensions to X509 CLI utils | Jack Lloyd | 2018-05-09 | 1 | -5/+18 |
| | | | | | | gen_self_signed: add --days= and --der to set lifetime and output format. cert_info: accept '-' to read from stdin | ||||
* | Merge GH #1564 Add 24x Comba multiply/square | Jack Lloyd | 2018-05-09 | 5 | -3/+1103 |
|\ | |||||
| * | Add 24-word wide Comba multiply/square | Jack Lloyd | 2018-05-08 | 5 | -3/+1103 |
| | | | | | | | | | | | | Improves performance on "odd" sized DH/RSA (eg 1536, 3072, 6144) where otherwise the Karatsuba operation bottoms out with 24-word operands which ended up in the basecase multiply. | ||||
* | | Slight refactoring to avoid GCC signed overflow warnings. [ci skip] | Jack Lloyd | 2018-05-08 | 1 | -4/+4 |
|/ | | | | Couldn't occur since length is 24 bits but GCC couldn't figure that out. | ||||
* | Merge GH #1563 Use correct calling convention for RtlGenRandom | Jack Lloyd | 2018-05-07 | 1 | -4/+8 |
|\ | |||||
| * | Use type BYTE instead of BOOLEAN | Simon Warta | 2018-05-08 | 1 | -1/+4 |
| | | |||||
| * | Rename RtlGenRandom_f -> RtlGenRandom_fptr | Simon Warta | 2018-05-07 | 1 | -3/+3 |
| | | | | | | | | because this is a function pointer, not a function | ||||
| * | Rewrite assignment of RtlGenRandom_f using "using" | Simon Warta | 2018-05-07 | 1 | -1/+1 |
| | | |||||
| * | Check return value of m_rtlgenrandom against proper type | Simon Warta | 2018-05-07 | 1 | -1/+2 |
| | | |||||
| * | Use BOOLEAN return type for RtlGenRandom_f | Simon Warta | 2018-05-07 | 1 | -1/+1 |
| | | |||||
| * | Add missing NTAPI to RtlGenRandom_f signature | Simon Warta | 2018-05-07 | 1 | -1/+1 |
| | | |||||
* | | Fix some warnings new in GCC 8.1 | Jack Lloyd | 2018-05-07 | 6 | -43/+49 |
| | | | | | | | | | | It thinks the typedefs are "locals" that are being conflicted with, which seems wrong to me but whatever. |