Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | boost 1.70 compatibility | Ralf van der Enden | 2019-04-05 | 2 | -2/+14 |
| | | | | Fixes issue #82 | ||||
* | Fix the incorrect syntax .PHONY= | Evgeny Pokhilko | 2019-03-31 | 1 | -1/+1 |
| | | | | PHONY targets should be .PHONY: | ||||
* | Bump version to 2.11.0 | Jack Lloyd | 2019-03-30 | 1 | -1/+1 |
| | |||||
* | Make Clang unused-lambda-capture a non-error | Jack Lloyd | 2019-03-29 | 1 | -1/+1 |
| | | | | | Unfortuantely we are stuck with code that triggers this due to bugs in MSVC | ||||
* | Tracing socket feature for the CLI TLS server. | David Carlier | 2019-03-29 | 1 | -0/+27 |
| | | | | For now FreeBSD DTrace support. | ||||
* | Add some more todos for Memory_Pool | Jack Lloyd | 2019-03-28 | 1 | -0/+20 |
| | |||||
* | Merge GH #1864 Use thread pool for XMSS signatures | Jack Lloyd | 2019-03-28 | 5 | -172/+48 |
|\ | |||||
| * | Remove unnecessary cmath includes | Jack Lloyd | 2019-03-26 | 2 | -6/+9 |
| | | |||||
| * | Remove previous runtime testing for thread counters | Jack Lloyd | 2019-03-26 | 2 | -132/+0 |
| | | |||||
| * | 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 | ||||
* | | Disable building shared libs on iOS | Jack Lloyd | 2019-03-27 | 1 | -4/+0 |
| | | | | | | | | | | | | It didn't work, and it is not clear it is ever desirable. See GH #1865 | ||||
* | | Fix some extra semicolons | Jack Lloyd | 2019-03-27 | 6 | -6/+6 |
| | | |||||
* | | Rename 'darwin' target to 'macos' | Jack Lloyd | 2019-03-27 | 11 | -22/+22 |
|/ | | | | | Both because that's the more common term, and because iOS/watchOS also uses the Darwin kernel, but we have a distinct target for mobile. | ||||
* | 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. |