Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #683 Avoid SHA-1 use in ElGamal+ECKCDSA self tests | Jack Lloyd | 2016-10-25 | 2 | -2/+2 |
|\ | |||||
| * | Fix hardcoded SHA-1 in eckcdsa consistency check | René Korthaus | 2016-10-24 | 1 | -1/+1 |
| | | |||||
| * | Fix hardcoded SHA-1 in elgamal consistency check | René Korthaus | 2016-10-24 | 1 | -1/+1 |
| | | |||||
* | | Remote unused macros | Jack Lloyd | 2016-10-24 | 2 | -5/+1 |
| | | |||||
* | | Initialize member variable in PKCS11_EC_PrivateKey | Jack Lloyd | 2016-10-24 | 2 | -2/+2 |
|/ | | | | | One of the constructors initialized the member, the others did not. Found by Coverity scanner. | ||||
* | Limit locking_allocator only to OSes that even might support it. | Jack Lloyd | 2016-10-24 | 1 | -0/+8 |
| | | | | | | The pool allocator itself is portable code, but it doesn't do anything useful unless we have the ability to mlock/VirtualLock memory, which is OS specific. | ||||
* | Fixes for build without 25519 | Jack Lloyd | 2016-10-24 | 1 | -3/+3 |
| | |||||
* | Merge GH #673 X25519 TLS key exchange | Jack Lloyd | 2016-10-24 | 6 | -42/+108 |
|\ | |||||
| * | X25519 key exchange for TLS | Jack Lloyd | 2016-10-21 | 6 | -42/+108 |
| | | | | | | | | | | Client interops with google.com, server not tested against an independent client yet. | ||||
* | | Merge GH #675 Lucky13 countermeasures | Jack Lloyd | 2016-10-24 | 2 | -0/+82 |
|\ \ | |||||
| * | | Final changes, now using the countermeasure from the Lucky 13 paper again ↵ | Juraj Somorovsky | 2016-10-23 | 1 | -36/+32 |
| | | | | | | | | | | | | | | | | | | (or a countermeasure that is very similar to it). Timing differences in the test suite show at most 120 clock cycle difference (SHA-1/256/384). | ||||
| * | | SHA384 countermeasure (not perfect, but makes the attack harder) | Juraj Somorovsky | 2016-10-22 | 1 | -19/+27 |
| | | | |||||
| * | | Lucky 13 patch for SHA-1 and SHA-256 | Juraj Somorovsky | 2016-10-16 | 2 | -0/+78 |
| | | | |||||
* | | | Merge GH #668: Remove Algo_Registry and associated global locks | Jack Lloyd | 2016-10-24 | 93 | -1576/+1478 |
|\ \ \ | |||||
| * | | | Missing include, noticed by Clang on OS X | Jack Lloyd | 2016-10-21 | 1 | -0/+1 |
| | | | | |||||
| * | | | Cleanup from rebase | Jack Lloyd | 2016-10-21 | 1 | -5/+0 |
| | | | | |||||
| * | | | Fix PSSR | Jack Lloyd | 2016-10-21 | 1 | -1/+1 |
| | | | | |||||
| * | | | Remove unused functions from SCAN_Name | Jack Lloyd | 2016-10-21 | 2 | -39/+0 |
| | | | | |||||
| * | | | Small cleanup in OpenSSL EC | Jack Lloyd | 2016-10-21 | 1 | -12/+13 |
| | | | | |||||
| * | | | Remove alias logic from SCAN_Name | Jack Lloyd | 2016-10-21 | 12 | -182/+168 |
| | | | | | | | | | | | | | | | | | | | | | | | | This required taking a global lock and doing a map lookup each time an algorithm was requested (and so many times during a TLS handshake). | ||||
| * | | | Remove Algo_Registry | Jack Lloyd | 2016-10-21 | 91 | -1455/+1413 |
| | |/ | |/| | | | | | | | | | | | | | | | | I repent my use of global constructors. I repent my use of global locks. Hopefully I will never touch this code again. :) | ||||
* | | | Fix invalid UTF-8 char in API doc [ci skip] | René Korthaus | 2016-10-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | An invalid UTF-8 character prevented Latex from generating a PDF document from the doxygen-generated Latex API docs via make pdf. | ||||
* | | | Fix handling of file descriptor zero | Jack Lloyd | 2016-10-22 | 1 | -13/+11 |
| | | | | | | | | | | | | | | | If opening /dev/*random resulted in fd 0, we would both not use that RNG and leak the file descriptor. Found with Coverity. | ||||
* | | | Address some Coverity warnings | Jack Lloyd | 2016-10-22 | 3 | -9/+9 |
| | | | | | | | | | | | | Nothing exciting. | ||||
* | | | GH #674 Check Doxygen and Sphinx builds as part of CI | Jack Lloyd | 2016-10-22 | 1 | -0/+4 |
|\ \ \ | |||||
| * | | | Build the docs during CI | Jack Lloyd | 2016-10-22 | 1 | -0/+4 |
| |/ / | | | | | | | | | | Fix various doc building problems/warnings. | ||||
* / / | Use correct macro for ECC in create_private_key | Jack Lloyd | 2016-10-22 | 1 | -1/+1 |
|/ / | |||||
* | | Allow setting the validation time during PKIX path validation | Jack Lloyd | 2016-10-21 | 2 | -18/+29 |
| | | | | | | | | | | | | | | Previously validation asked the system clock which is not always the correct thing (for example when using Roughtime protocol). Had been on the todo list forever, forced into it by some of the test certs expiring today. | ||||
* | | Add create_private_key, expose key loading functions in pk_algs.h | Jack Lloyd | 2016-10-20 | 7 | -69/+225 |
| | | |||||
* | | Tighten up TLS server handshake logic. | Jack Lloyd | 2016-10-20 | 1 | -20/+15 |
| | | | | | | | | | | | | | | | | | | Previously client was allowed to omit the Certificate message, a leftover from supporting SSLv3. In all versions of TLS, an empty message must be sent if the client does not want to use a cert. No known security impact, but nothing we need to allow anymore. Clean up the handshake switch a bit by using return statements. | ||||
* | | Merge GH #669 Add SHA-3, SHAKE-128, and BoringSSL-mode NewHope | Jack Lloyd | 2016-10-20 | 15 | -209/+554 |
|\ \ | |||||
| * | | Add SHAKE-128 as stream cipher | Jack Lloyd | 2016-10-19 | 8 | -106/+240 |
| | | | | | | | | | | | | | | | Updates NewHope to use that instead of the hard-coded SHAKE-128, and adds toggle for BoringSSL compat mode using AES-128/CTR + SHA-256. | ||||
| * | | Add proper SHA-3 | Jack Lloyd | 2016-10-19 | 10 | -115/+326 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kind of a copy and paste of Keccak, but only a single copy of the permutation at least. Keccak depends on SHA-3 instead of the reverse, so that SHA-3 can be enabled without also bringing in an unapproved hash function. Updates newhope code and removes API function newhope_hash which was an unofficial SHA-3-256. | ||||
* | | | Reorganize anon namespace code to fix last doxygen warn [ci skip] | René Korthaus | 2016-10-20 | 1 | -8/+8 |
| | | | |||||
* | | | Fix doxygen warnings [ci skip] | René Korthaus | 2016-10-19 | 39 | -58/+101 |
| | | | |||||
* | | | Minor doxygen fixes [ci skip] | René Korthaus | 2016-10-19 | 10 | -10/+10 |
| | | | |||||
* | | | Improve pubkey doxygen [ci skip] | René Korthaus | 2016-10-19 | 15 | -17/+251 |
| | | | |||||
* | | | Improve tls doxygen [ci skip] | René Korthaus | 2016-10-19 | 9 | -0/+99 |
| | | | |||||
* | | | Improve stream doxygen [ci skip] | René Korthaus | 2016-10-19 | 4 | -7/+26 |
| | | | |||||
* | | | Improve rng doxygen [ci skip] | René Korthaus | 2016-10-19 | 6 | -11/+82 |
| | | | |||||
* | | | Improve pkcs11 doxygen [ci skip] | René Korthaus | 2016-10-19 | 3 | -13/+49 |
| | | | |||||
* | | | Improve pk_pad doxygen [ci skip] | René Korthaus | 2016-10-19 | 6 | -5/+13 |
| | | | |||||
* | | | Improve pbkdf doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -4/+54 |
| | | | |||||
* | | | Improve modes doxygen [ci skip] | René Korthaus | 2016-10-19 | 9 | -8/+104 |
| | | | |||||
* | | | Improve misc doxygen [ci skip] | René Korthaus | 2016-10-19 | 2 | -0/+18 |
| | | | |||||
* | | | Improve mac doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -4/+6 |
| | | | |||||
* | | | Improve kdf doxygen [ci skip] | René Korthaus | 2016-10-19 | 8 | -8/+54 |
| | | | |||||
* | | | Improve hash doxygen [ci skip] | René Korthaus | 2016-10-19 | 2 | -4/+13 |
| | | | |||||
* | | | Improve block doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -3/+6 |
|/ / | |||||
* | | Maintainer mode fixes | Jack Lloyd | 2016-10-17 | 3 | -14/+12 |
| | |