Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | testing: Updated carol's certificate from research CA and dave's certificate ↵5.3.1dr1 | Andreas Steffen | 2015-04-26 | 52 | -846/+898 |
| | | | | from sales CA | ||||
* | testing: Wait for DH crypto tests to complete | Andreas Steffen | 2015-04-26 | 8 | -8/+8 |
| | |||||
* | imv_policy_manager: Added capability to execute an allow or block shell ↵ | Andreas Steffen | 2015-04-26 | 10 | -3/+59 |
| | | | | command string | ||||
* | testing: Migration of KVM framework to Linux 4.x kernel | Andreas Steffen | 2015-04-25 | 3 | -5/+2207 |
| | |||||
* | Version bump to 5.3.1dr1 | Andreas Steffen | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | Fixed PB-TNC directionality debug message | Andreas Steffen | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | ike-vendor: Add some Microsoft vendor IDs | Tobias Brunner | 2015-04-21 | 1 | -0/+10 |
| | |||||
* | apidoc: Fix rebuild in out-of-tree builds | Tobias Brunner | 2015-04-20 | 1 | -1/+1 |
| | |||||
* | leak-detective: Use passed callback to report leaks | Tobias Brunner | 2015-04-20 | 1 | -2/+2 |
| | | | | | | | | This prevented `stroke memusage` from reporting the leaks on the console. Instead, they were sent to the callbacks set up by libstrongswan. Fixes a426851f6362 ("leak-detective: Use callback functions to report leaks and usage information"). | ||||
* | openssl: Don't refer to EVP_des_ecb() if OpenSSL is built without DES support | Tobias Brunner | 2015-04-17 | 1 | -0/+2 |
| | | | | | | While DES-ECB is not registered by the plugin in this case (so the function will never actually be called), the compiler still warns about the implicitly declared function. | ||||
* | apidoc: Fix make target dependency find precedence | Martin Willi | 2015-04-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'utils-split' | Martin Willi | 2015-04-16 | 26 | -1757/+2180 |
|\ | | | | | | | | | | | | | | | Split up the almighty utils.[ch] to separate files in the utils/utils subfolder. These are not meant to include manually, but bring back some order to all this functionality included through utils.h. Additionally give some love to apidoc generation. | ||||
| * | apidoc: Conditionally run doxygen if any header/Markdown files have changed | Martin Willi | 2015-04-16 | 1 | -2/+4 |
| | | |||||
| * | apidoc: Set QUIET to YES, suppressing any parsing/generating status output | Martin Willi | 2015-04-16 | 1 | -1/+1 |
| | | | | | | | | | | As WARNING messages still get printed, this makes spotting any warnings much simpler. | ||||
| * | apidoc: Enable documentation of static functions | Martin Willi | 2015-04-16 | 1 | -1/+1 |
| | | | | | | | | | | As we scan for header files only, this does not affect any local functions, but documents any static inlines we define in header files. | ||||
| * | strerror: Move to its own Doxygen subgroup | Martin Willi | 2015-04-16 | 1 | -1/+2 |
| | | |||||
| * | utils: Clean up includes | Martin Willi | 2015-04-16 | 2 | -36/+31 |
| | | |||||
| * | align: Move min/max/padding/alignment functions to separate files | Martin Willi | 2015-04-16 | 6 | -109/+154 |
| | | |||||
| * | time: Move time related functions to separate files | Martin Willi | 2015-04-16 | 6 | -191/+238 |
| | | |||||
| * | object: Move OO programming helper macros to a separate header file | Martin Willi | 2015-04-16 | 3 | -107/+128 |
| | | |||||
| * | status: Move status_t type and functions to separate files | Martin Willi | 2015-04-16 | 6 | -116/+125 |
| | | |||||
| * | path: Move path related utility functions to separate files | Martin Willi | 2015-04-16 | 6 | -201/+249 |
| | | |||||
| * | tty: Move tty related functions to separate files | Martin Willi | 2015-04-16 | 6 | -110/+157 |
| | | |||||
| * | memory: Move memory manipulation related functions to separate files | Martin Willi | 2015-04-16 | 6 | -380/+424 |
| | | |||||
| * | string: Move string related utility functions to separate files | Martin Willi | 2015-04-16 | 6 | -155/+199 |
| | | |||||
| * | byteorder: Move byte order related functions to separate header file | Martin Willi | 2015-04-16 | 3 | -137/+163 |
| | | |||||
| * | types: Use generic type definitions to separate header file | Martin Willi | 2015-04-16 | 3 | -63/+89 |
| | | |||||
| * | atomics: Move atomics/recounting support to separate files | Martin Willi | 2015-04-16 | 6 | -183/+251 |
|/ | |||||
* | unit-tests: Further increase the test vector testing timeout | Martin Willi | 2015-04-16 | 1 | -1/+1 |
| | | | | Some build bots running make check seem to have longer for the DH testing. | ||||
* | test-vectors: Define test vector symbols as extern | Martin Willi | 2015-04-16 | 1 | -7/+7 |
| | | | | | | We don't actually define a vector, but only prototype the test vector implemented in a different file. GCC uses the correct symbol during testing, but clang correctly complains about duplicated symbols during linking. | ||||
* | Fix years in some copyright statements | Tobias Brunner | 2015-04-16 | 4 | -4/+4 |
| | |||||
* | aesni: Fix doxygen groups | Martin Willi | 2015-04-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'dh-test-vectors' | Martin Willi | 2015-04-15 | 33 | -79/+1806 |
|\ | | | | | | | | | Add a Diffie-Hellman backend test method, a set of test vectors and implement testing of the gmp, openssl and gcrypt DH backend. | ||||
| * | kernel-netlink: Don't mangle verbosity during test initialization | Martin Willi | 2015-04-15 | 1 | -2/+0 |
| | | | | | | | | | | We now properly manage thread verbosity in the test framework, and don't need to silence thread spawning messages. | ||||
| * | unit-tests: Set test verbosity just after test suite loading | Martin Willi | 2015-04-15 | 1 | -10/+9 |
| | | | | | | | | | | | | We see any plugin startup messages during suite configuration, where initialization is called once to query plugin features. No need to be verbose and show these messages once again in the first test. | ||||
| * | crypto-factory: Remove obsolete transform testing functions | Martin Willi | 2015-04-15 | 2 | -54/+0 |
| | | |||||
| * | unit-tests: Use progressive testing of transforms with test vectors | Martin Willi | 2015-04-15 | 1 | -7/+26 |
| | | | | | | | | | | | | This allows us to show which transform from which plugin failed. Also, we use the new cleanup handler functionality that allows proper deinitialization on failure or timeout. | ||||
| * | transform: Add a getter for the enum_names for a specific transform type | Martin Willi | 2015-04-15 | 2 | -0/+40 |
| | | |||||
| * | enum-names: Fail gracefully when passing a NULL value as enum names | Martin Willi | 2015-04-15 | 2 | -1/+15 |
| | | |||||
| * | crypto-factory: Add enumerator method to support individual transform testing | Martin Willi | 2015-04-15 | 2 | -0/+127 |
| | | |||||
| * | unit-tests: Invoke all registered thread cleanup handlers on test failure | Martin Willi | 2015-04-15 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | If a test fails in a timeout or a test failure, longjmp() is used to restore the thread context and handle test failure. However, there might be unreleased resources, namely locks, which prevent the library to clean up properly after finishing the test. By using thread cleanup handlers, we can release any test subject internal or test specific external resources on test failure. We do so by calling all registered cleanup handlers. | ||||
| * | thread: Add a function to pop and call all registered cleanup handlers | Martin Willi | 2015-04-15 | 4 | -0/+78 |
| | | |||||
| * | thread: Don't acquire lock for thread_cleanup_push/pop | Martin Willi | 2015-04-15 | 1 | -5/+0 |
| | | | | | | | | | | This is called only by the thread for its own thread_t, and does not need synchronization. | ||||
| * | travis: Run a gcrypt test with leak-detective | Martin Willi | 2015-04-15 | 2 | -5/+1 |
| | | | | | | | | And also enable gcrypt in the all tests with leak-detective enabled. | ||||
| * | gcrypt: Explicitly initialize RNG backend to allocate static data | Martin Willi | 2015-04-15 | 1 | -0/+3 |
| | | | | | | | | | | | | The libgcrypt RNG implementation uses static buffer allocation which it does not free. There is no symbol we can catch in leak-detective, hence we explicitly initialize the RNG during the whitelisted gcrypt_plugin_create() function. | ||||
| * | leak-detective: Whitelist gcrypt_plugin_create() | Martin Willi | 2015-04-15 | 1 | -0/+1 |
| | | | | | | | | | | | | gcry_check_version() does not free statically allocated resources. However, we can't whitelist it in some versions, as it is not a resolvable symbol name. Instead, whitelist our own plugin constructor function. | ||||
| * | unit-tests: Add a TESTS_PLUGINS environment variable | Martin Willi | 2015-04-15 | 2 | -1/+6 |
| | | | | | | | | This is often more convenient than specifying plugins in a configuration file. | ||||
| * | unit-tests: Use a larger timeout for test vector testing | Martin Willi | 2015-04-15 | 1 | -0/+1 |
| | | | | | | | | | | As we test DH calculations this now takes more time. If multiple DH backends are enabled, we likely hit the default test timeout. | ||||
| * | gcrypt: Support setting private value and testing of DH backend | Martin Willi | 2015-04-15 | 1 | -0/+19 |
| | | |||||
| * | openssl: Support setting ECDH private values | Martin Willi | 2015-04-15 | 1 | -0/+44 |
| | |