aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update build flags for Sun StudioJack Lloyd2018-09-181-3/+3
|
* Use an Alloc template to reduce duplication in Filter::sendJack Lloyd2018-09-181-14/+6
|
* Fix build with i586Fabrice Fontaine2018-09-161-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 bitJack Lloyd2018-09-152-10/+40
| | | | And forbid 0 length substrings, which did not work correctly anyway.
* Use new CAST-128 specific feature macro hereJack Lloyd2018-09-151-1/+1
|
* Define botan_scrypt in terms of botan_pwdhashJack Lloyd2018-09-131-12/+5
|
* In FFI pwdhash functions, let len == 0 mean "call strlen"Jack Lloyd2018-09-132-2/+18
|
* In AutoSeeded_RNG invoke randomize_with_ts_input on the owned RNGJack Lloyd2018-09-131-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-256Jack Lloyd2018-09-1310-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 interfaceJack Lloyd2018-09-1323-599/+1763
|\
| * Test Scrypt private key encryptionJack Lloyd2018-09-101-3/+18
| |
| * Remove redundant operationJack Lloyd2018-09-101-4/+0
| |
| * Support tuning in PGP-S2K PBKDF interfaceJack Lloyd2018-09-101-3/+8
| |
| * Fix Doxygen commentsJack Lloyd2018-09-101-2/+4
| |
| * Add testsJack Lloyd2018-09-104-19/+148
| | | | | | | | This is a contribution of Ribose Inc (@riboseinc)
| * Add from_iterationsJack Lloyd2018-09-108-13/+57
| |
| * Add pbkdf_tune command line utilJack Lloyd2018-09-101-0/+99
| |
| * Add FFIJack Lloyd2018-09-102-15/+134
| | | | | | | | This is a contribution of Ribose Inc (@riboseinc)
| * Convert ScryptJack Lloyd2018-09-104-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-S2KJack Lloyd2018-09-102-63/+225
| | | | | | | | This is a contribution by Ribose Inc (@riboseinc)
| * Convert PBKDF2Jack Lloyd2018-09-103-71/+226
| | | | | | | | This is a contribution by Ribose Inc (@riboseinc)
| * Add PasswordHash and PasswordHashFamilyJack Lloyd2018-09-104-1/+242
| | | | | | | | This is a contribution by Ribose Inc (@riboseinc)
| * Promote Timer to an internal util classJack Lloyd2018-09-104-302/+346
| |
* | Force Sphinx version to 1.7.9 to work around a problem in 1.8Jack Lloyd2018-09-131-1/+1
| | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/5417
* | Some document fixesJack Lloyd2018-09-133-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 defaultJack Lloyd2018-09-122-12/+56
| |
* | Create proper KATs for cryptobox functionJack Lloyd2018-09-122-42/+134
| |
* | Fix certstore testsJack Lloyd2018-09-112-2/+4
| | | | | | | | Accidentally disabled in 643a4041bedc
* | Better error repoting for invalid/out of range --buf-size argJack Lloyd2018-09-101-2/+7
| |
* | Add FFI functions for creating and getting X25519 dataJack Lloyd2018-09-105-0/+160
| | | | | | | | See GH #1680
* | Merge GH #1673 Add CommonCrypto block cipher interfaceJack Lloyd2018-09-106-5/+220
|\ \
| * | Add CommonCrypto block cipher supportJose Pereira2018-09-106-5/+220
| | |
* | | Remove redundant definesJack Lloyd2018-09-101-2/+0
|/ /
* | Merge GH #1674 Add CommonCrypto cipher modesJack Lloyd2018-09-107-8/+463
|\ \
| * | Add CommonCrypto cipher modes supportJose Pereira2018-09-096-6/+461
| | |
| * | Fix cipher mode speed benchmark ignoring provider argumentJose Pereira2018-09-061-2/+2
| | |
* | | Report if Serpent is using AVX2Jack Lloyd2018-09-101-0/+7
| |/ |/|
* | Support SM2 raw signaturesJack Lloyd2018-09-093-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 functionJack Lloyd2018-09-094-3/+238
|\ \
| * | Add read_kv for parsing strings with key/value pairsJack Lloyd2018-09-094-3/+238
| |/ | | | | | | This is a contribution by Ribose Inc (@riboseinc)
* | Optimize CT::is_zero, CT::expand_mask, CT::expand_top_bitJack Lloyd2018-09-072-26/+24
| |
* | Guard certstore tests with BOTAN_HAS_X509Jack Lloyd2018-09-071-9/+12
| | | | | | | | Otherwise very minimal build fails.
* | Fix in-memory certificate store tests not runningJose Pereira2018-09-071-11/+9
| | | | | | | | If sqlite dependency is not used, tests should still be able to run
* | Revert increase in Blowfish minimum length.Jack Lloyd2018-09-072-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 bitsJack Lloyd2018-09-075-8/+34
| | | | | | | | | | | | See #1673 Also, skip tests if the provider doesn't support the given key length.
* | Add RandomNumberGenerator::accepts_inputJack Lloyd2018-09-0612-17/+91
|/
* Merge GH #1668 Remove Darwin SecRandom entropy sourceJack Lloyd2018-09-059-91/+2
|\
| * Remove Darwin SecRandomCopyBytesJack Lloyd2018-09-049-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 folderRaffi Enficiaud2018-09-051-1/+1
|/
* Merge GH #1667 Add hashing with CommonCryptoJack Lloyd2018-09-048-6/+212
|\