Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Implemented FFT with n = 1024 and q = 11289 using Montgomery arithmetic | Andreas Steffen | 2016-07-29 | 3 | -8/+495 |
| | |||||
* | bliss: Implemented FFT with fast Montgomery arithmetic | Andreas Steffen | 2016-07-29 | 8 | -102/+294 |
| | |||||
* | xof: Implemented SHAKE128 and SHAKE256 Extended Output Functions | Andreas Steffen | 2016-07-29 | 11 | -415/+1293 |
| | |||||
* | xof: Defined Extended Output Functions | Andreas Steffen | 2016-07-29 | 12 | -5/+520 |
| | |||||
* | Added SHA-3 signature OIDs | Andreas Steffen | 2016-07-26 | 1 | -1/+10 |
| | |||||
* | unit-tests: Decreased loop count of FFT speed test to 10'000 | Andreas Steffen | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | unit-tests: Added bliss_fft_speed test | Andreas Steffen | 2016-07-22 | 1 | -1/+42 |
| | |||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | plugin-loader: Allow selective modification of the default plugin list | Tobias Brunner | 2016-06-29 | 1 | -10/+24 |
| | | | | | | | This change allows selectively modifying the default plugin list by setting the `load` setting of individual plugins (e.g. to disable them or to change their priority) without enabling charon.load_modular and having to configure a section and a load statement for every plugin. | ||||
* | leak-detective: Try to properly free allocations after deinitialization | Tobias Brunner | 2016-06-29 | 1 | -0/+13 |
| | | | | | | | | If a function we whitelist allocates memory while leak detective is enabled but only frees it after LD has already been disabled, free() will get called with invalid pointers (not pointing to the actually allocated memory by LD), which will cause checks in the C library to fail and the program to crash. This tries to detect such cases and calling free with the correct pointer. | ||||
* | openssl: Whitelist OPENSSL_init_crypto() and others in leak detective | Tobias Brunner | 2016-06-29 | 1 | -0/+4 |
| | | | | | | | | | Lots of static data is allocated in this function, which isn't freed until the library is unloaded (we can't call OPENSSL_cleanup() as initialization would fail when calling it again later). When enabling the leak detective the test runner eventually crashes as all the data allocated during initialization has an invalid size when freed after leak detective has been unloaded. | ||||
* | openssl: Update GCM/crypter API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -13/+13 |
| | |||||
* | openssl: Update HMAC API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -9/+25 |
| | |||||
* | openssl: Don't use deprecated RAND_pseudo_bytes() | Tobias Brunner | 2016-06-29 | 1 | -7/+0 |
| | |||||
* | openssl: Update PKCS#12 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -1/+5 |
| | |||||
* | openssl: Update PKCS#7 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -3/+7 |
| | |||||
* | openssl: Update CRL API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -7/+42 |
| | | | | | | There is currently no way to compare the outer and inner algorithms encoded in a parsed CRL. X509_CRL_verify() does not seem to check that either, though (unlike X509_verify()). | ||||
* | openssl: Update x509 API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 1 | -12/+48 |
| | |||||
* | openssl: Update ECDSA API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 2 | -5/+24 |
| | |||||
* | openssl: Update RSA API to OpenSSL 1.1.0 | Tobias Brunner | 2016-06-29 | 2 | -16/+52 |
| | |||||
* | openssl: Make some utilities take const BIGNUM pointers | Tobias Brunner | 2016-06-29 | 2 | -4/+6 |
| |