aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge GH #1670 New password hashing interfaceJack Lloyd2018-09-1318-280/+1492
|\
| * 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 from_iterationsJack Lloyd2018-09-108-13/+57
| |
| * 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-103-1/+336
| |
* | Some document fixesJack Lloyd2018-09-131-8/+13
| | | | | | | | | | Downgrade min Sphinx to 1.2 again - I checked and while Sphinx 1.2 produce many warnings it does generate usable output.
* | Fix certstore testsJack Lloyd2018-09-111-0/+1
| | | | | | | | Accidentally disabled in 643a4041bedc
* | Add FFI functions for creating and getting X25519 dataJack Lloyd2018-09-104-0/+102
| | | | | | | | 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-106-6/+461
|\ \
| * | Add CommonCrypto cipher modes supportJose Pereira2018-09-096-6/+461
| | |
* | | Report if Serpent is using AVX2Jack Lloyd2018-09-101-0/+7
| |/ |/|
* | Support SM2 raw signaturesJack Lloyd2018-09-091-57/+101
| | | | | | | | | | | | 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-092-3/+111
|\ \
| * | Add read_kv for parsing strings with key/value pairsJack Lloyd2018-09-092-3/+111
| |/ | | | | | | This is a contribution by Ribose Inc (@riboseinc)
* | Optimize CT::is_zero, CT::expand_mask, CT::expand_top_bitJack Lloyd2018-09-072-26/+24
| |
* | 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-072-2/+2
| | | | | | | | | | | | See #1673 Also, skip tests if the provider doesn't support the given key length.
* | Add RandomNumberGenerator::accepts_inputJack Lloyd2018-09-069-17/+79
|/
* Remove Darwin SecRandomCopyBytesJack Lloyd2018-09-044-85/+0
| | | | | It is the same RNG as arc4random and /dev/urandom. And arc4random seems to be working well for iOS and macOS.
* Merge GH #1667 Add hashing with CommonCryptoJack Lloyd2018-09-044-3/+203
|\
| * Add commoncrypto OS feature so it cannot be enabled on other systemsJack Lloyd2018-09-041-0/+4
| |
| * Indent to match conventions.Jack Lloyd2018-09-042-75/+73
| | | | | | | | | | Move CommonCrypto.h out of our commoncrypto.h since that header is included around the library.
| * Add support for hashing with CommonCryptoJose Pereira2018-09-034-3/+201
| |
* | Remove unneeded load_on autoJack Lloyd2018-09-049-18/+0
| | | | | | | | It is the default...
* | Remove use of OpenSSL IDEAJack Lloyd2018-09-041-5/+0
|/ | | | | | | | | It appears at least some versions of Ubuntu 16.04 have OpenSSLs which don't define OPENSSL_NO_IDEA and include declarations for EVP_idea_ecb, but the function is not found at link time. Thus enabling OpenSSL engine fails. It is not worth a further fight here.
* Use a literal date for this API versionJack Lloyd2018-09-021-5/+4
| | | | | It avoids having to rewrite existing logic when a new API version is introduced.
* Check PSS salt length during verificationJack Lloyd2018-08-303-36/+94
| | | | Fixes #1665
* Remove unused variableJack Lloyd2018-08-261-1/+0
|
* Merge GH #1662 Add AVX2 ChaChaJack Lloyd2018-08-264-12/+304
|\
| * Add AVX2 version of ChaChaJack Lloyd2018-08-264-12/+304
| |
* | Simplify code for SIMD_4x32::rhoJack Lloyd2018-08-261-49/+4
|/
* Move AVX2 wrapper to utilsJack Lloyd2018-08-244-259/+218
|
* AVX2Jack Lloyd2018-08-241-56/+62
|
* Serpent 8x decryptJack Lloyd2018-08-242-88/+118
|
* WIP for Serpent AVX2Jack Lloyd2018-08-244-7/+415
|
* Merge GH #1659 Report correct size for XMSS signaturesJack Lloyd2018-08-241-2/+4
|\
| * Implements correct XMSS signature size calculationMatthias Gierlings2018-08-241-2/+4
| | | | | | | | Implements the correct signature size calculation for XMSS, required by #1641.
* | Allow SIV for PBES2 private key encryptionJack Lloyd2018-08-231-2/+7
| |
* | Add OIDs for SIV and OCB mode ciphersJack Lloyd2018-08-231-0/+26
|/
* Merge GH #1656 Add operator*(BigInt,word)Jack Lloyd2018-08-232-0/+21
|\
| * Add operator*(BigInt, word)Jack Lloyd2018-08-232-0/+21
| | | | | | | | | | Gets hit about 2 million times in the test suite, avoids creating a temp BigInt (with alloc+free) or checking size of y.