Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | curve22519: Add a portable backend implemented in plain C | Martin Willi | 2016-11-14 | 4 | -0/+647 | |
| | ||||||
* | curve25519: Add a plugin providing Curve25519 DH using backend drivers | Martin Willi | 2016-11-14 | 8 | -0/+469 | |
| | ||||||
* | test-vectors: Add a Curve25519 DH test vector | Martin Willi | 2016-11-14 | 3 | -0/+36 | |
| | ||||||
* | proposal: Add a curve25519 proposal keyword | Martin Willi | 2016-11-14 | 1 | -0/+1 | |
| | ||||||
* | diffie-hellman: Add DH group identifiers for Curve25519 and Curve448 | Martin Willi | 2016-11-14 | 2 | -3/+14 | |
| | ||||||
* | Fixed in-place update of cached base and delta CRLs | Andreas Steffen | 2016-10-30 | 1 | -4/+4 | |
| | ||||||
* | Newer CRLs replace older versions of the CRL in the cache | Andreas Steffen | 2016-10-26 | 1 | -0/+39 | |
| | ||||||
* | added XOF dependencies of bliss and ntru plugins | Andreas Steffen | 2016-10-18 | 2 | -4/+26 | |
| | ||||||
* | newhope: Fix Doxygen group name | Tobias Brunner | 2016-10-14 | 1 | -1/+1 | |
| | ||||||
* | libnttfft: Fix Doxygen group | Tobias Brunner | 2016-10-14 | 1 | -1/+3 | |
| | ||||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2016-10-14 | 1 | -2/+2 | |
| | ||||||
* | newhope: Properly release allocated arrays if RNG can't be created | Tobias Brunner | 2016-10-14 | 1 | -8/+8 | |
| | ||||||
* | mem-cred: Support storing a delta CRL together with its base | Tobias Brunner | 2016-10-11 | 1 | -8/+30 | |
| | | | | | | | | | | | | So far every "newer" CRL (higher serial or by date) replaced an existing "older" CRL. This meant that delta CRLs replaced an existing base CRL and that base CRLs weren't added if a delta CRL was already stored. So the base had to be re-fetched every time after a delta CRL was added. With this change one delta CRL to the latest base may be stored. A newer delta CRL will replace an existing delta CRL (but not its base, older base CRLs are removed, though). And a newer base will replace the existing base and optional delta CRL. | |||||
* | revocation: Cache valid CRL also if certificate is revoked | Tobias Brunner | 2016-10-11 | 1 | -10/+25 | |
| | ||||||
* | openssl: Fix AES-GCM with BoringSSL | Tobias Brunner | 2016-10-11 | 1 | -3/+3 | |
| | | | | | | | | BoringSSL only supports a limited list of (hard-coded) algorithms via EVP_get_cipherbyname(), which does not include AES-GCM. While BoringSSL deprecated these functions they are also supported by OpenSSL (in BoringSSL a completely new interface for AEADs was added, which OpenSSL currently does not support). | |||||
* | android: MGF1 implementation was moved to a plugin | Tobias Brunner | 2016-10-11 | 1 | -2/+1 | |
| | | | | Fixes: 188b190a70c9 ("mgf1: Refactored MGF1 as an XOF") | |||||
* | ldap: Fix crash in case of empty LDAP response for CRL fetch | Yannick CANN | 2016-10-06 | 1 | -2/+1 | |
| | | | | | | | | | In case of an empty LDAP result during a CRL fetch (for example, due to a wrong filter attribute in the LDAP URI, or invalid LDAP configuration), the call to ldap_result2error() with NULL value for "entry" lead to a crash. Closes strongswan/strongswan#52. | |||||
* | openssl: Add a generic private key loader | Tobias Brunner | 2016-10-05 | 7 | -18/+129 | |
| | ||||||
* | pkcs1: Support building of KEY_ANY private keys | Tobias Brunner | 2016-10-05 | 2 | -5/+73 | |
| | | | | | We try to detect the type of key by parsing the basic structure of the passed ASN.1 blob. | |||||
* | pkcs11: Look for the CKA_ID of the cert if it doesn't match the subjectKeyId | Raphael Geissert | 2016-10-04 | 1 | -4/+152 | |
| | | | | | | | | | | | | | | charon-nm fails to find the private key when its CKA_ID doesn't match the subjectKeyIdentifier of the X.509 certificate. In such cases, the private key builder now falls back to enumerating all the certificates, looking for one that matches the supplied subjectKeyIdentifier. It then uses the CKA_ID of that certificate to find the corresponding private key. It effectively means that PKCS#11 tokens where the only identifier to relate the certificate, the public key, and the private key is the CKA_ID are now supported by charon-nm. Fixes #490. | |||||
* | watcher: Avoid allocations due to enumerators | Tobias Brunner | 2016-10-04 | 1 | -37/+83 | |
| | | | | | Since the FD set could get rebuilt quite often this change avoids having to allocate memory just to enumerate the registered FDs. | |||||
* | gmp: Support of SHA-3 RSA signatures | Andreas Steffen | 2016-09-22 | 17 | -147/+240 | |
| | ||||||
* | bliss sampler unit-test: Fixed enumeration type | Andreas Steffen | 2016-09-22 | 1 | -2/+2 | |
| | ||||||
* | bliss: bliss_sampler expects XOF type | Andreas Steffen | 2016-09-22 | 1 | -4/+3 | |
| | ||||||
* | unit-tests: MGF1 tests depend on an XOF implementation not just a hash function | Tobias Brunner | 2016-09-21 | 1 | -2/+2 | |
| | | | | | If the mgf1 plugin was not enabled (e.g. with the default configure options) the tests failed. | |||||
* | mgf1: Refactored MGF1 as an XOF | Andreas Steffen | 2016-09-21 | 30 | -615/+928 | |
| | ||||||
* | leak-detective: Fix compile warning due to unused variable if LD is disabled | Tobias Brunner | 2016-09-20 | 1 | -1/+1 | |
| | ||||||
* | leak-detective: Whitelist thread ID getter | Tobias Brunner | 2016-09-20 | 1 | -1/+3 | |
| | | | | | | | | In case an external thread calls into our code and logs messages, a thread object is allocated that will never be released. Even if we try to clean up the object via thread value destructor there is no guarantee that the thread actually terminates before we check for leaks, which seems to be the case for the Ada Tasking threads. | |||||
* | leak-detective: Whitelist functions of the Ada runtime related to Tasking | Tobias Brunner | 2016-09-20 | 1 | -0/+4 | |
| | ||||||
* | leak-detective: Whitelist some glib/libsoup functions | Tobias Brunner | 2016-09-20 | 1 | -1/+13 | |
| | | | | | | Some of these are pretty broad, so maybe an alternative option is to not use the soup plugin in the openssl-ikev2/rw-suite-b* scenarios. But the plugin is not tested anywhere else so lets go with this for now. | |||||
* | unbound: Avoid unnecessary cloning of RR list that caused a memory leak | Tobias Brunner | 2016-09-20 | 1 | -2/+1 | |
| | ||||||
* | unbound: Fix memory leak | Tobias Brunner | 2016-09-20 | 1 | -0/+2 | |
| | ||||||
* | leak-detective: Whitelist leak in libldap | Tobias Brunner | 2016-09-20 | 1 | -0/+2 | |
| | ||||||
* | leak-detective: Optionally write report to a log file | Tobias Brunner | 2016-09-20 | 1 | -10/+36 | |
| | ||||||
* | auth-cfg-wrapper: Fix memory leak with hash-and-URL certificates | Tobias Brunner | 2016-09-12 | 1 | -1/+1 | |
| | | | | | | | We wrap the auth-cfg object and its contents, so there is no need to get an additional reference for the enumerated certificate. Fixes a44bb9345f04 ("merged multi-auth branch back into trunk") | |||||
* | padlock: Use builtin bswap32() to fix compilation on FreeBSD | Tobias Brunner | 2016-08-31 | 1 | -6/+5 | |
| | | | | Fixes #591. | |||||
* | proposal: Use proper list to get function pointer when adding custom parser | Thomas Egerer | 2016-08-29 | 1 | -1/+1 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | android: Add missing xof.c file | Tobias Brunner | 2016-08-29 | 1 | -0/+1 | |
| | | | | Fixes #2093. | |||||
* | xof: Add header to dev headers | Tobias Brunner | 2016-08-29 | 1 | -1/+2 | |
| | ||||||
* | utils: Fix definition of BYTE_ORDER with MinGW | Tobias Brunner | 2016-08-24 | 1 | -1/+5 | |
| | ||||||
* | unit-tests: Removed unused variable | Andreas Steffen | 2016-08-11 | 1 | -2/+0 | |
| | ||||||
* | unit-tests: Created newhope unit-tests | Andreas Steffen | 2016-08-10 | 9 | -7/+1338 | |
| | ||||||
* | Created newhope plugin implementing the New Hope key exchange algorithm | Andreas Steffen | 2016-08-10 | 13 | -1/+1347 | |
| | ||||||
* | xof: Added ChaCha20 stream as XOF | Andreas Steffen | 2016-08-06 | 9 | -3/+311 | |
| | ||||||
* | utils: Defined uletoh16() and htole16() | Andreas Steffen | 2016-08-06 | 1 | -0/+42 | |
| | ||||||
* | integrity-test: Added ntru_param_sets to read-only segment | Andreas Steffen | 2016-07-29 | 7 | -36/+96 | |
| | ||||||
* | integrity-test: Added bliss_param_sets to read-only segment | Andreas Steffen | 2016-07-29 | 14 | -63/+68 | |
| | ||||||
* | integrity-test: check code and ro segments of libnttfft | Andreas Steffen | 2016-07-29 | 7 | -32/+46 | |
| | ||||||
* | Created libnttfft | Andreas Steffen | 2016-07-29 | 19 | -121/+258 | |
| | | | | | This makes Number Theoretic Transforms (NTT) based on the efficient Fast-Fourier-Transform (FFT) available to multiple plugins. | |||||
* | Share twiddle factors table between 512 and 1024 point FFT | Andreas Steffen | 2016-07-29 | 3 | -134/+14 | |
| |