aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* unit-tests: Generate RSA key with 768 bits not 786Tobias Brunner2014-01-201-1/+1
|
* test-asn1: Fix skipping of >2038 tests on i386Tobias Brunner2014-01-061-35/+35
| | | | | | | | The two constants overflow time_t on i386 (they also produced a compiler warning without type suffix) so the comparison with TIME_32_BIT_SIGNED_MAX did not work as intended. Fixes #477.
* chunk: Fix chunk_mac/hash tests on big-endian systemsTobias Brunner2014-01-061-2/+27
| | | | | | | | Our SipHash-2-4 implementation returns the result in host order, while the test vectors are little-endian. Use a custom comparison function to account for this. Fixes #478.
* unit-tests: NTRU test to check a special branchAndreas Steffen2013-12-081-0/+7
|
* Implemented ntru_trits classAndreas Steffen2013-12-071-2/+91
|
* unit-tests: Added crypter testsAndreas Steffen2013-12-064-3/+112
|
* Added own MGF1 mask generating functionAndreas Steffen2013-12-051-0/+171
|
* unit-tests: Added hasher testsAndreas Steffen2013-12-043-0/+191
|
* Moved test_rng to a test suite of its ownAndreas Steffen2013-12-044-26/+58
|
* unit-tests: Export ntru_drbg_create as testable function so no linking is ↵Tobias Brunner2013-12-042-1/+4
| | | | | | | | required This way the plugin does not have to be linked explicitly to the test runner, which otherwise would require that the plugin is either always enabled to build the tests or that ifdefs are added to the Makefile.
* unit-tests: Add facility to register testable functionsTobias Brunner2013-12-041-0/+25
| | | | | These can be defined in plugins, or other parts of the tested libraries. They can even be static.
* unit-tests: Move ntru_test_rng_t to a utility class in libtestTobias Brunner2013-12-045-7/+133
|
* unit-tests: Fix apidoc for libtestTobias Brunner2013-12-042-8/+23
|
* Added DRBG automatic reseeding testsAndreas Steffen2013-11-271-168/+214
|
* Extended NIST SP 800-90A HMAC_DRBG test casesAndreas Steffen2013-11-271-21/+103
|
* Implemented NIST SP 800-90A DRBG_HMAC with SHA-256Andreas Steffen2013-11-272-8/+147
|
* unit-tests: Added ntru wrong ciphertext testAndreas Steffen2013-11-271-0/+36
|
* unit-tests: Added ntru entropy, retransmission and ciphertext testsAndreas Steffen2013-11-272-0/+64
|
* Any of the four NTRU parameter sets can be selectedAndreas Steffen2013-11-271-10/+54
|
* Make the NTRU parameter set configurableAndreas Steffen2013-11-271-26/+63
|
* unit-tests: first NTRU test caseAndreas Steffen2013-11-273-1/+94
|
* unit-tests: Initialize tests with a callbackTobias Brunner2013-11-063-56/+58
|
* unit-tests: Separate test runner to a library, reusable by other testsMartin Willi2013-11-065-68/+168
| | | | | | Other users may make use of the noinst libtest.la helper library to implement unit tests. For libstrongswan, tests.[ch] provide the configuration for test runner to perform unit tests in a simple manner.
* unit-tests: Use some include magic to define test suite constructorsMartin Willi2013-11-062-73/+55
| | | | | Avoid editing of several files when creating test suites by using a single header file to define test suite constructor functions.
* unit-tests: Check printing of strings having zero lengthMartin Willi2013-11-061-0/+2
|
* unit-tests: Add some basic tests if PRI* printf specifiers work as expectedMartin Willi2013-11-061-0/+25
|
* unit-tests: Add a semaphore wait cancel testMartin Willi2013-11-061-0/+44
|
* unit-tests: Add a semaphore absolute timed wait testMartin Willi2013-11-061-0/+27
|
* unit-tests: Add a semaphore timed wait test caseMartin Willi2013-11-061-0/+24
|
* unit-tests: Add a simple semaphore testMartin Willi2013-11-061-0/+40
|
* unit-tests: Add a spinlock test caseMartin Willi2013-11-061-0/+49
|
* unit-tests: Add a rwlock condvar thread cancel testMartin Willi2013-11-061-0/+57
|
* unit-tests: Add a rwlock condvar absolute timed wait testMartin Willi2013-11-061-0/+43
|
* unit-tests: Add a rwlock condvar wait testMartin Willi2013-11-061-0/+40
|
* unit-tests: Add a rwlock condvar broadcast testMartin Willi2013-11-061-0/+43
|
* unit-tests: Add a rwlock condvar testMartin Willi2013-11-061-0/+50
|
* unit-tests: Add a rwlock test caseMartin Willi2013-11-061-0/+62
|
* unit-tests: Add a condvar test where wait gets cancelledMartin Willi2013-11-061-0/+57
|
* unit-tests: Add a condvar test working on a recursive mutexMartin Willi2013-11-061-0/+50
|
* unit-tests: Add a condvar absolute timed wait testMartin Willi2013-11-061-0/+43
|
* unit-tests: Add a condvar timed wait testMartin Willi2013-11-061-0/+40
|
* unit-tests: Add condvar broadcast testMartin Willi2013-11-061-0/+43
|
* unit-tests: Add a simple condvar testMartin Willi2013-11-061-4/+61
|
* unit-tests: Add a thread local storage cleanup testMartin Willi2013-11-061-0/+50
|
* unit-tests: Add a thread local storage fuzzer testMartin Willi2013-11-061-0/+64
|
* unit-tests: Add a thread cleanup pop testMartin Willi2013-11-061-0/+33
|
* unit-tests: Add cleanup test cases for different thread exit situationsMartin Willi2013-11-061-0/+126
|
* unit-tests: Add a test for thread_cancellation_point()Martin Willi2013-11-061-0/+33
|
* unit-tests: Add thread cancellability testingMartin Willi2013-11-061-0/+50
|
* unit-tests: Add a simple thread_cancel() testMartin Willi2013-11-061-0/+35
|