Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the global thread pool for XMSS signatures | Jack Lloyd | 2019-03-26 | 2 | -34/+39 |
| | | | | | | | * i7-6700K (4 core w/SMT): 10% improvements * Ryzen 7 2700 (8 core w/SMT): 25% improvement except SHA-256 which is over twice as fast. * POWER8 (160 cores w/SMT): between 25 and 60% faster | ||||
* | Work around problem with GCC 4.8 | Jack Lloyd | 2019-03-26 | 2 | -2/+4 |
| | |||||
* | Fix some warnings from GCC 9 | Jack Lloyd | 2019-03-25 | 3 | -3/+3 |
| | | | | New redundant-move and pessimizing-move warnings found some | ||||
* | Support xz compression of releases | Jack Lloyd | 2019-03-25 | 1 | -3/+19 |
| | | | | Also fix the bzip2 support | ||||
* | Now getentropy is used by default, remove from CI script | Jack Lloyd | 2019-03-24 | 1 | -4/+0 |
| | |||||
* | Darwin supports getentropy too | David Carlier | 2019-03-24 | 1 | -0/+1 |
| | |||||
* | Avoid a warning when building in single file amalgamation mode | Jack Lloyd | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | Replace upper_bound with lower_bound in pgp_s2k | Evgeny Pokhilko | 2019-03-11 | 2 | -1/+4 |
| | | | | | | | | Fix: RFC4880_encode_count doesn't return consistent results when processing exact iterations. It returns RFC4880 code + 1. Update PGP_S2K_Iter test to verify PGP formula Add test to verify that encoded values match the PGP formula | ||||
* | Android can possibly support arc4random API. | David Carlier | 2019-03-07 | 1 | -0/+3 |
| | |||||
* | Fix Coverity warnings | Jack Lloyd | 2019-03-07 | 2 | -20/+38 |
| | | | | | | | | Checking a ptr against null after dereferencing it. Allowing exception throw to escape a noexcept function. Both harmless. | ||||
* | Add references for these addition chains [ci skip] | Jack Lloyd | 2019-03-07 | 1 | -0/+4 |
| | |||||
* | Merge GH #1849 Prefer to_string over as_string | Jack Lloyd | 2019-03-03 | 24 | -38/+51 |
|\ | |||||
| * | Fix MSVC and avoid deprecated function call | Jack Lloyd | 2019-03-01 | 2 | -2/+2 |
| | | |||||
| * | s/as_string/to_string/ | Jack Lloyd | 2019-03-01 | 23 | -37/+50 |
| | | | | | | | | | | A few older APIs use as_string where everywhere else uses to_string. Add to_string's where missing, and deprecate X::as_string. | ||||
* | | Handle invalid public key length in Ed25519 | Jack Lloyd | 2019-03-03 | 2 | -14/+20 |
|/ | | | | Closes #1850 | ||||
* | Constify a few things in X509_Certificate::to_string() | Jack Lloyd | 2019-03-01 | 1 | -5/+12 |
| | |||||
* | Split CLI utils.cpp into more parts | Jack Lloyd | 2019-02-28 | 7 | -240/+351 |
| | | | | | | Add base58 encoding/decoding CLI Use decrypt_or_random in pk_decrypt | ||||
* | Add long Blowfish ECB test | Jack Lloyd | 2019-02-28 | 1 | -0/+4 |
| | | | | We were not testing 4-wide encryption | ||||
* | Prevent a warning with old GCC | Jack Lloyd | 2019-02-27 | 1 | -4/+5 |
| | | | | GCC 4.8 seems to dislike returns_nonnull attribute, GCC 5 is ok. | ||||
* | Add Boost to the coverage build | Jack Lloyd | 2019-02-24 | 2 | -3/+4 |
| | | | | So we can test coverage on things like #1839 | ||||
* | Fix test | Jack Lloyd | 2019-02-24 | 1 | -1/+1 |
| | | | | Closes #1843 | ||||
* | s/Blake2b/BLAKE2b/ | Jack Lloyd | 2019-02-22 | 3 | -22/+24 |
| | | | | As that is the proper name of the hash. Add a typedef for compat. | ||||
* | Windows compilation fix | Vitaly Ivanov | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | macOS fix for tls_server in UDP/DTLS mode | Vitaly Ivanov | 2019-02-21 | 1 | -1/+4 |
| | |||||
* | Merge GH #1838 Unroll SHA-3 | Jack Lloyd | 2019-02-21 | 4 | -134/+160 |
|\ | |||||
| * | Unroll SHA-3 | Jack Lloyd | 2019-02-21 | 4 | -134/+160 |
| | | | | | | | | Improves performance by about 10-12% | ||||
* | | Reset the crash count in test fuzzer script | Jack Lloyd | 2019-02-21 | 1 | -0/+2 |
| | | | | | | | | It carried over across all fuzzer types | ||||
* | | In fuzzer remove debug print and check return value of posix_memalign | Jack Lloyd | 2019-02-21 | 1 | -2/+2 |
|/ | |||||
* | For Clang use explicit enabling flag for Aarch64 crypto ISA | Jack Lloyd | 2019-02-21 | 1 | -1/+1 |
| | | | | | For whatever reason Android's Clang does not recognize the function attributes. | ||||
* | Merge GH #1830 Add MacOS certificate store | Jack Lloyd | 2019-02-19 | 5 | -0/+902 |
|\ | |||||
| * | add an adaptor for certificate keychain access on macOS | René Meusel | 2019-02-18 | 5 | -0/+902 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FIX: build on non-macOS platforms FIX: move constructor of scoped_CFType implement Certificate_Store_MacOS::all_subjects() Refactor: factor out X509 policy creation FIX: cosmetics FIX: code cosmetics * Refactor: use a unique_ptr rather than free() * Refactor: use a unique_ptr rather than free() * use std::shared_ptr<> for Pimpl * double-check opening of cert stores * add some documentation * copyright notice dates shush clang compiler warning -Wcast-qual See here for details: https://bugs.webkit.org/show_bug.cgi?id=177893 shush -Wmissing-braces on Travis CI (hopefully) FIX: crash when no certificate matches FIX: 'normalize' DNs according to Apple's needs FIX: take early review comments into account FIX: compiler warning regarding variable shadowing add timers to the cerstore tests FIX: catch invalid SHA-1 parameter FIX: handle ambiguous match in .find_cert_by_pubkey_sha1() according to the super-class's documentation FIX: API documentation FIX: cosmetics make Certificate_Store_MacOS::find_crl_for() return {} FIX: low-hanging review comments FIX: more review comments FIX: compiler warnings | ||||
* | | Default McEliece and XMSS to SIV mode | Jack Lloyd | 2019-02-18 | 1 | -2/+10 |
| | | |||||
* | | Add additional annotations for malloc functions | Jack Lloyd | 2019-02-17 | 1 | -1/+1 |
| | | | | | | | | May help codegen slightly. | ||||
* | | Name pdb file properly | Jack Lloyd | 2019-02-17 | 1 | -1/+1 |
| | | | | | | | | GH #1831 | ||||
* | | Fixes for minimized builds | Jack Lloyd | 2019-02-16 | 14 | -23/+84 |
| | | | | | | | | Various configurations would fail build or test, fix that. | ||||
* | | Renamed m_handle to m_prov as this is the variable name used elsewhere. | Ricardo Martins | 2019-02-15 | 1 | -1/+1 |
| | | |||||
* | | Use /Fd flag when building lib with MSVC | Jack Lloyd | 2019-02-14 | 3 | -3/+7 |
| | | | | | | | | See #1831 | ||||
* | | Support arbitrary key lengths in SHAKE-128 cipher | Jack Lloyd | 2019-02-13 | 3 | -22/+70 |
| | | | | | | | | | | We need this for Kyber, which uses 34 byte inputs to XOF when computing the public matrix. | ||||
* | | Remove redundant call to start_timer | Jack Lloyd | 2019-02-13 | 1 | -2/+0 |
|/ | |||||
* | cli: sign and verify emsa default is empty for Ed25519 (fix #1828) | Nuno Goncalves | 2019-02-07 | 1 | -14/+33 |
| | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | Skip setting -momit-leaf-frame-pointer | Jack Lloyd | 2019-02-05 | 1 | -5/+0 |
| | | | | | It turns out GCC already uses -fomit-frame-pointer by default since at least GCC 4.7 | ||||
* | Use threads for Asan tests too | Jack Lloyd | 2019-02-05 | 1 | -1/+1 |
| | |||||
* | Properly detect embedded PowerPC | Jack Lloyd | 2019-02-05 | 1 | -1/+6 |
| | | | | GH #1820 | ||||
* | Clean up test registration a bit | Jack Lloyd | 2019-02-05 | 2 | -24/+31 |
| | |||||
* | Build fixes for GNU/Hurd | Jack Lloyd | 2019-02-04 | 2 | -0/+3 |
| | | | | Thanks to @noloader for testing this and the relevant info. | ||||
* | Merge GH #1819 Add Thread_Pool and use it for running tests | Jack Lloyd | 2019-01-31 | 13 | -84/+454 |
|\ | |||||
| * | Add a simple Thread_Pool test | Jack Lloyd | 2019-01-31 | 2 | -0/+88 |
| | | | | | | | | And allow registering one-off functions as tests | ||||
| * | Run the tests in multithreaded mode in CI | Jack Lloyd | 2019-01-31 | 1 | -2/+5 |
| | | |||||
| * | Run the test suite in multiple threads | Jack Lloyd | 2019-01-31 | 6 | -68/+149 |
| | | | | | | | | Refactor areas where data was being shared | ||||
| * | Add a thread pool | Jack Lloyd | 2019-01-31 | 5 | -14/+212 |
| | |