aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TLS Server should respect client signature_algorithms. Stricter TLS hello ↵Jack Lloyd2016-09-215-31/+89
| | | | | | | | | | | | | | | | | | | | decoding. If the client sent a signature_algorithms extension, we should negotiate a ciphersuite in the shared union of the ciphersuite list and the extension, instead of ignoring it. Found by Juraj Somorovsky GH #619 The TLS v1.2 spec says that clients should only send the signature_algorithms extension in a hello for that version. Enforce that when decoding client hellos to prevent this extension from confusing a v1.0 negotiation. TLS v1.2 spec says ANON signature type is prohibited in the signature_algorithms extension in the client hello. Prohibit it. Reorder the TLS extensions in the client hello so there is no chance an empty extension is the last extension in the list. Some implementations apparently reject such hellos, even (perhaps especially) when they do not recognize the extension, this bug was mentioned on the ietf-tls mailing list a while back.
* Todos [ci skip]Jack Lloyd2016-09-181-1/+16
|
* Merge GH #623 Merge algorithm impl typesJack Lloyd2016-09-1764-805/+875
|\ | | | | | | | | | | | | | | If CPU specific optimizations are available they are always used, without requiring the application to use the application registry to ensure they get the optimal type. See also GH #477
| * Add a relnoteJack Lloyd2016-09-171-0/+16
| | | | | | | | [ci skip]
| * Add try/catch block at top-level test runnerJack Lloyd2016-09-161-3/+17
| |
| * Change T::provider to return std::stringJack Lloyd2016-09-1523-33/+28
| |
| * Add T::provider() to allow user to inquire about implementation usedJack Lloyd2016-09-1529-20/+178
| | | | | | | | | | For block ciphers, stream ciphers, hashes, MACs, and cipher modes. Cipher_Mode already had it, with a slightly different usage.
| * Fix build on PowerPC. Fix test runs on non-x86Jack Lloyd2016-09-151-4/+1
| |
| * Add cpuid overload to test frameworkJack Lloyd2016-09-1513-75/+213
| |
| * Merge optimized implementations into base classJack Lloyd2016-09-1532-708/+460
|/ | | | | | | | | | Various algorithms had an optimized implementation (for SSE2, AVX2, etc) which was offered alongside the 'base' implementation. This is admittedly very useful for testing, but it breaks user expectations in bad ways. See GH #477 for background. Now encrypting with `AES_128` (say) just runs whatever implementation is best on the current processor/build.
* Disable locking_allocator on valgrind/ASan builds.Jack Lloyd2016-09-141-2/+2
| | | | GH #626
* Merge PR #628 Add tests for TLS 1.2 PRFJack Lloyd2016-09-131-0/+34
|\
| * Add TLS 1.2 PRF test vectorsRené Korthaus2016-09-131-0/+34
|/
* Add missing guardJack Lloyd2016-09-091-0/+4
|
* Add test of FPE_FE1Jack Lloyd2016-09-092-0/+59
| | | | Self-generated vectors, just a basic smoke test right now.
* Prevent use of secure_vector with non-integer typesJack Lloyd2016-09-091-0/+3
| | | | | If a non trival type was used, memory corruption could occur. Original issue reported by Matthias Gierlings.
* These vectors can be constJack Lloyd2016-09-091-2/+2
|
* Update RNG docs a bitJack Lloyd2016-09-071-8/+27
| | | | [ci skip]
* Document removing `hres_timer` module in 1.11.31Jack Lloyd2016-09-071-0/+3
| | | | [ci skip]
* Update news and readmeJack Lloyd2016-09-052-10/+21
|
* Remove bogus declJack Lloyd2016-09-051-2/+0
|
* Merge GH #613 NewHope R-LWE key exchangeJack Lloyd2016-09-059-7/+6876
|\
| * Fix tests on things that are not little endianJack Lloyd2016-08-301-12/+6
| |
| * Newhope is really limited by RNG speed.Jack Lloyd2016-08-301-5/+33
| | | | | | | | 4x-8x overall speedup switching from HMAC_DRBG to ChaCha20
| * Avoid requiring alignment (think this was just for the AVX2 version)Jack Lloyd2016-08-302-37/+35
| | | | | | | | Change to standard int types
| * Fix tests with newhope disabledJack Lloyd2016-08-301-3/+10
| |
| * Fix header guard, macro tidyJack Lloyd2016-08-302-5/+7
| |
| * Add NEWHOPE KEM schemeJack Lloyd2016-08-309-7/+6847
| | | | | | | | | | | | | | | | | | | | Provides conjectured 200-bit security against a quantum attacker. Based on the public domain reference implementation at https://github.com/tpoeppelmann/newhope and bit-for-bit compatible with that version. Test vectors generated by the reference testvector.c
* | No need for long all-zero input after cd9f852Jack Lloyd2016-09-051-1/+0
| |
* | Merge GH #616 ChaCha SSE2 optimizationsJack Lloyd2016-09-056-72/+371
|\ \
| * | Avoid _mm_set_epi64x which is missing on 32-bit MSVC 12Jack Lloyd2016-09-021-8/+8
| | |
| * | Correct macro checkJack Lloyd2016-09-012-2/+2
| | |
| * | Missing increment in SSE2 version, broke ChaCha20Poly1305 testsJack Lloyd2016-09-012-0/+11
| | | | | | | | | | | | But not any ChaCha20 tests due to no long test inputs. Add one.
| * | 4x interleaved SSE2Jack Lloyd2016-09-012-69/+228
| | |
| * | ChaCha 4 waysJack Lloyd2016-09-013-129/+153
| | |
| * | SSE2 ChaChaJack Lloyd2016-09-014-6/+111
| | |
* | | Merge GH #624 Use compiler generated operators in X509_CertificateJack Lloyd2016-09-053-30/+4
|\ \ \
| * | | Make copy constructor and assignment defaultRené Korthaus2016-09-052-29/+2
| | | |
| * | | Call base class assignment operator in X509_CertificateRené Korthaus2016-09-042-2/+3
| | | |
* | | | Merge GH #621 Make amalgamation build simplerJack Lloyd2016-09-042-8/+20
|\ \ \ \
| * | | | Simplify amalgamation generationSimon Warta2016-09-042-8/+20
| |/ / /
* / / / Update BSI_TR-02102-2.txtJuraj Somorovsky2016-09-031-1/+0
|/ / / | | | | | | Duplicate ecc_curves entry.
* | | Update news and deprecated filesJack Lloyd2016-09-022-11/+5
| | |
* | | Merge GH #580 Remove deprecated algosJack Lloyd2016-09-0275-14777/+190
|\ \ \
| * | | Update policy files wrt algorithm removalsJack Lloyd2016-09-022-13/+0
| | | |
| * | | Update readme wrt removed algorithmsJack Lloyd2016-09-021-6/+2
| | | |
| * | | Remove IF_Scheme_{Public,Private}KeyJack Lloyd2016-09-026-283/+186
| | | | | | | | | | | | | | | | | | | | | | | | With the removal of Rabin-Williams, RSA is the only remaining subclass, And it's very unlikely any new integer factorization based scheme would be added in the future.
| * | | Remove XTEA SIMD implJack Lloyd2016-09-023-165/+0
| | | | | | | | | | | | | | | | | | | | Testing showed no actual speedup on either i7 (SSE2) or POWER7 (Altivec), so it is just dead weight.
| * | | Remove deprecated Nyberg-Rueppel and Rabin-Williams signaturesJack Lloyd2016-09-0215-972/+1
| | | |
| * | | Remove deprecated hashes MD2, HAS-160, and RIPEMD-128Jack Lloyd2016-09-0220-999/+0
| | | |