aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support scrypt for encrypting private keysJack Lloyd2018-05-225-134/+323
|
* Remove debug printfJack Lloyd2018-05-221-1/+1
|
* Fix PBE decoding and fix test macro checkJack Lloyd2018-05-222-3/+3
|
* Test speed of different scrypt paramsJack Lloyd2018-05-221-10/+24
|
* Sphinx: Avoid formatting problems in PDF indexJack Lloyd2018-05-221-0/+4
| | | | Fixes #1573
* Merge GH #1572 DER encoder improvementsJack Lloyd2018-05-2222-200/+287
|\
| * DER improvementsJack Lloyd2018-05-2222-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 KDFsJack Lloyd2018-05-221-0/+69
| |
* | Correct outdated material in filter doc [ci skip]Jack Lloyd2018-05-221-7/+4
|/
* Tweak default `speed` targetsJack Lloyd2018-05-211-8/+8
|
* Inline SymmetricAlgorithm::verify_key_setJack Lloyd2018-05-212-4/+9
| | | | Instead just put the throw into a compiled function.
* Merge GH #1571 DER_Encoder optimizationsJack Lloyd2018-05-213-84/+124
|\
| * Make MSVC happyJack Lloyd2018-05-211-0/+13
| |
| * Cleanups and optimizations in DER_EncoderJack Lloyd2018-05-213-84/+111
| |
* | Use BER_Decoder::get_next to cleanup X.509 cert decoding codeJack Lloyd2018-05-213-15/+24
| |
* | Use smaller error bound when generating subgroups-style DL groupsJack Lloyd2018-05-211-1/+1
| |
* | Speed up DSA param genJack Lloyd2018-05-212-9/+6
| | | | | | | | Using Barrett reduction instead of division is ~10x faster.
* | In gen_dl_group cmdlet let --seed be optional for DSA paramsJack Lloyd2018-05-211-10/+17
|/
* Move the roadmap into the handbook so end-users can find it.Jack Lloyd2018-05-213-9/+14
|
* Fix typo in comment [ci skip]Jack Lloyd2018-05-171-1/+1
|
* Fixes for DES/3DESJack Lloyd2018-05-162-23/+11
|
* Update newsJack Lloyd2018-05-161-0/+2
|
* Merge GH #1570 Add ScryptJack Lloyd2018-05-1612-9/+382
|\
| * Add Scrypt key dervation functionJack Lloyd2018-05-1612-9/+382
| |
* | Unroll DES to encrypt/decrypt 2 rounds in parallelJack Lloyd2018-05-162-122/+201
|/ | | | About 50% faster for CBC decrypt
* Doc updates [ci skip]Jack Lloyd2018-05-153-3/+288
|
* Add clarifying comments and increase M-R tests for 256-bit integersJack Lloyd2018-05-151-3/+7
| | | | See #1542 and #1569
* Always use 1/2^-128 error bounds with Miller-RabinJack Lloyd2018-05-141-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 moreJack Lloyd2018-05-1444-95/+138
|\
| * Add message to BOTAN_ARG_CHECK and use it more widelyJack Lloyd2018-05-1344-95/+138
| |
* | Merge GH #1567 Fixes for C++17 mode compilation under MSVCJack Lloyd2018-05-143-19/+37
|\ \
| * | Apple Clang requires min/max be constexprJack Lloyd2018-05-132-11/+20
| | | | | | | | | | | | Add BOTAN_CONSTEXPR since we are still stuck with VC2013 for a while.
| * | Fixes for compilation in C++17 mode by MSVCJack Lloyd2018-05-132-10/+19
| |/ | | | | | | Fixes GH #1566
* | Add docs for TOTPJack Lloyd2018-05-111-0/+29
| |
* | Update BigInt docsJack Lloyd2018-05-111-41/+195
|/
* Properly set thread counts in asio TLS serversJack Lloyd2018-05-092-4/+31
| | | | X || Y || 2 always evaluates to 1...
* Inline BigInt::shrink_to_fitJack Lloyd2018-05-092-7/+5
| | | | Improves P-256 a bit
* Update newsJack Lloyd2018-05-091-0/+3
|
* Extensions to X509 CLI utilsJack Lloyd2018-05-091-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/squareJack Lloyd2018-05-095-3/+1103
|\
| * Add 24-word wide Comba multiply/squareJack Lloyd2018-05-085-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 Lloyd2018-05-081-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 RtlGenRandomJack Lloyd2018-05-071-4/+8
|\
| * Use type BYTE instead of BOOLEANSimon Warta2018-05-081-1/+4
| |
| * Rename RtlGenRandom_f -> RtlGenRandom_fptrSimon Warta2018-05-071-3/+3
| | | | | | | | because this is a function pointer, not a function
| * Rewrite assignment of RtlGenRandom_f using "using"Simon Warta2018-05-071-1/+1
| |
| * Check return value of m_rtlgenrandom against proper typeSimon Warta2018-05-071-1/+2
| |
| * Use BOOLEAN return type for RtlGenRandom_fSimon Warta2018-05-071-1/+1
| |
| * Add missing NTAPI to RtlGenRandom_f signatureSimon Warta2018-05-071-1/+1
| |
* | Fix some warnings new in GCC 8.1Jack Lloyd2018-05-076-43/+49
| | | | | | | | | | It thinks the typedefs are "locals" that are being conflicted with, which seems wrong to me but whatever.