Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update build flags for Sun Studio | Jack Lloyd | 2018-09-18 | 1 | -3/+3 |
| | |||||
* | Use an Alloc template to reduce duplication in Filter::send | Jack Lloyd | 2018-09-18 | 1 | -14/+6 |
| | |||||
* | Fix build with i586 | Fabrice Fontaine | 2018-09-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Commit 513d19781a558fbd1ff03c7152f61b5e7f294297 removed support for i586, put it back otherwise the following build failure is raised: (cd /accts/mlweber1/instance-0/output/build/botan-2.7.0; PATH="/accts/mlweber1/instance-0/output/host/bin:/accts/mlweber1/instance-0/output/host/sbin:/usr/bin:/bin" ./configure.py --cpu="i586" --os=linux --cc=gcc --cc-bin="/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++" --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon) INFO: ./configure.py invoked with options "--cpu=i586 --os=linux --cc=gcc --cc-bin=/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++ --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon" INFO: Autodetected platform information: OS="Linux" machine="x86_64" proc="x86_64" ERROR: Unknown or unidentifiable processor "i586" Fixes: - http://autobuild.buildroot.org/results/aaa2ea8c3fb5fe954c0af0061f83ad70e0a862f9 Signed-off-by: Fabrice Fontaine <[email protected]> | ||||
* | Simplify BigInt::get_substring a bit | Jack Lloyd | 2018-09-15 | 2 | -10/+40 |
| | | | | And forbid 0 length substrings, which did not work correctly anyway. | ||||
* | Use new CAST-128 specific feature macro here | Jack Lloyd | 2018-09-15 | 1 | -1/+1 |
| | |||||
* | Define botan_scrypt in terms of botan_pwdhash | Jack Lloyd | 2018-09-13 | 1 | -12/+5 |
| | |||||
* | In FFI pwdhash functions, let len == 0 mean "call strlen" | Jack Lloyd | 2018-09-13 | 2 | -2/+18 |
| | |||||
* | In AutoSeeded_RNG invoke randomize_with_ts_input on the owned RNG | Jack Lloyd | 2018-09-13 | 1 | -1/+1 |
| | | | | | | | | Invoking on this means we use RandomNumberGenerator::randomize_with_ts_input which just adds timestamps. Whereas Stateful_RNG::randomize_with_ts_input (as implemented by the owned RNG) also adds the reseed counter and the last pid. Probably no real difference, but can't hurt and not any slower. | ||||
* | Split 'cast' module into CAST-128 and CAST-256 | Jack Lloyd | 2018-09-13 | 10 | -5/+13 |
| | | | | | | | They were only in the same place because of the desire to share the sbox tables, but that can be handled by adding a dependency. This makes it possible to disable CAST-256 while leaving CAST-128. | ||||
* | Merge GH #1670 New password hashing interface | Jack Lloyd | 2018-09-13 | 23 | -599/+1763 |
|\ | |||||
| * | Test Scrypt private key encryption | Jack Lloyd | 2018-09-10 | 1 | -3/+18 |
| | | |||||
| * | Remove redundant operation | Jack Lloyd | 2018-09-10 | 1 | -4/+0 |
| | | |||||
| * | Support tuning in PGP-S2K PBKDF interface | Jack Lloyd | 2018-09-10 | 1 | -3/+8 |
| | | |||||
| * | Fix Doxygen comments | Jack Lloyd | 2018-09-10 | 1 | -2/+4 |
| | | |||||
| * | Add tests | Jack Lloyd | 2018-09-10 | 4 | -19/+148 |
| | | | | | | | | This is a contribution of Ribose Inc (@riboseinc) | ||||
| * | Add from_iterations | Jack Lloyd | 2018-09-10 | 8 | -13/+57 |
| | | |||||
| * | Add pbkdf_tune command line util | Jack Lloyd | 2018-09-10 | 1 | -0/+99 |
| | | |||||
| * | Add FFI | Jack Lloyd | 2018-09-10 | 2 | -15/+134 |
| | | | | | | | | This is a contribution of Ribose Inc (@riboseinc) | ||||
| * | Convert Scrypt | Jack Lloyd | 2018-09-10 | 4 | -128/+281 |
| | | | | | | | | | | | | | | This also changes some (library only) APIs so PBES2 needed to be modified. This is a contribution of Ribose Inc (@riboseinc) | ||||
| * | Convert PGP-S2K | Jack Lloyd | 2018-09-10 | 2 | -63/+225 |
| | | | | | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
| * | Convert PBKDF2 | Jack Lloyd | 2018-09-10 | 3 | -71/+226 |
| | | | | | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
| * | Add PasswordHash and PasswordHashFamily | Jack Lloyd | 2018-09-10 | 4 | -1/+242 |
| | | | | | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
| * | Promote Timer to an internal util class | Jack Lloyd | 2018-09-10 | 4 | -302/+346 |
| | | |||||
* | | Force Sphinx version to 1.7.9 to work around a problem in 1.8 | Jack Lloyd | 2018-09-13 | 1 | -1/+1 |
| | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/5417 | ||||
* | | Some document fixes | Jack Lloyd | 2018-09-13 | 3 | -9/+15 |
| | | | | | | | | | | Downgrade min Sphinx to 1.2 again - I checked and while Sphinx 1.2 produce many warnings it does generate usable output. | ||||
* | | Fix TLS client CLI which was broken by disabling v1.0/v1.1 by default | Jack Lloyd | 2018-09-12 | 2 | -12/+56 |
| | | |||||
* | | Create proper KATs for cryptobox function | Jack Lloyd | 2018-09-12 | 2 | -42/+134 |
| | | |||||
* | | Fix certstore tests | Jack Lloyd | 2018-09-11 | 2 | -2/+4 |
| | | | | | | | | Accidentally disabled in 643a4041bedc | ||||
* | | Better error repoting for invalid/out of range --buf-size arg | Jack Lloyd | 2018-09-10 | 1 | -2/+7 |
| | | |||||
* | | Add FFI functions for creating and getting X25519 data | Jack Lloyd | 2018-09-10 | 5 | -0/+160 |
| | | | | | | | | See GH #1680 | ||||
* | | Merge GH #1673 Add CommonCrypto block cipher interface | Jack Lloyd | 2018-09-10 | 6 | -5/+220 |
|\ \ | |||||
| * | | Add CommonCrypto block cipher support | Jose Pereira | 2018-09-10 | 6 | -5/+220 |
| | | | |||||
* | | | Remove redundant defines | Jack Lloyd | 2018-09-10 | 1 | -2/+0 |
|/ / | |||||
* | | Merge GH #1674 Add CommonCrypto cipher modes | Jack Lloyd | 2018-09-10 | 7 | -8/+463 |
|\ \ | |||||
| * | | Add CommonCrypto cipher modes support | Jose Pereira | 2018-09-09 | 6 | -6/+461 |
| | | | |||||
| * | | Fix cipher mode speed benchmark ignoring provider argument | Jose Pereira | 2018-09-06 | 1 | -2/+2 |
| | | | |||||
* | | | Report if Serpent is using AVX2 | Jack Lloyd | 2018-09-10 | 1 | -0/+7 |
| |/ |/| | |||||
* | | Support SM2 raw signatures | Jack Lloyd | 2018-09-09 | 3 | -57/+112 |
| | | | | | | | | | | | | Where SM2 signs a hash input provided by the application. This is a contribution by Ribose Inc (@riboseinc) | ||||
* | | Merge GH #1678 Add read_kv utility function | Jack Lloyd | 2018-09-09 | 4 | -3/+238 |
|\ \ | |||||
| * | | Add read_kv for parsing strings with key/value pairs | Jack Lloyd | 2018-09-09 | 4 | -3/+238 |
| |/ | | | | | | | This is a contribution by Ribose Inc (@riboseinc) | ||||
* | | Optimize CT::is_zero, CT::expand_mask, CT::expand_top_bit | Jack Lloyd | 2018-09-07 | 2 | -26/+24 |
| | | |||||
* | | Guard certstore tests with BOTAN_HAS_X509 | Jack Lloyd | 2018-09-07 | 1 | -9/+12 |
| | | | | | | | | Otherwise very minimal build fails. | ||||
* | | Fix in-memory certificate store tests not running | Jose Pereira | 2018-09-07 | 1 | -11/+9 |
| | | | | | | | | If sqlite dependency is not used, tests should still be able to run | ||||
* | | Revert increase in Blowfish minimum length. | Jack Lloyd | 2018-09-07 | 2 | -2/+2 |
| | | | | | | | | | | | | We need to support short keys for 'PBKDF2(CMAC(Blowfish))' which is supported as part of passhash9 format, there the passphrase is used directly as the CMAC key. | ||||
* | | Increase minimum Blowfish key length to 64 bits | Jack Lloyd | 2018-09-07 | 5 | -8/+34 |
| | | | | | | | | | | | | See #1673 Also, skip tests if the provider doesn't support the given key length. | ||||
* | | Add RandomNumberGenerator::accepts_input | Jack Lloyd | 2018-09-06 | 12 | -17/+91 |
|/ | |||||
* | Merge GH #1668 Remove Darwin SecRandom entropy source | Jack Lloyd | 2018-09-05 | 9 | -91/+2 |
|\ | |||||
| * | Remove Darwin SecRandomCopyBytes | Jack Lloyd | 2018-09-04 | 9 | -91/+2 |
| | | | | | | | | | | It is the same RNG as arc4random and /dev/urandom. And arc4random seems to be working well for iOS and macOS. | ||||
* | | Fix build issues on windows when there is a space in the prefix folder | Raffi Enficiaud | 2018-09-05 | 1 | -1/+1 |
|/ | |||||
* | Merge GH #1667 Add hashing with CommonCrypto | Jack Lloyd | 2018-09-04 | 8 | -6/+212 |
|\ |