Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | array: Add an array_get() function | Martin Willi | 2014-01-22 | 1 | -2/+18 | |
| | ||||||
* | unit-tests: Add environment variable to reduce the number of generated keys | Tobias Brunner | 2014-01-20 | 2 | -2/+14 | |
| | | | | | | | If TESTS_REDUCED_KEYLENGTHS is set RSA and ECDSA keys are only generated for the lowest configured key length. Fixes #474. | |||||
* | unit-tests: Generate RSA key with 768 bits not 786 | Tobias Brunner | 2014-01-20 | 1 | -1/+1 | |
| | ||||||
* | test-asn1: Fix skipping of >2038 tests on i386 | Tobias Brunner | 2014-01-06 | 1 | -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 systems | Tobias Brunner | 2014-01-06 | 1 | -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 branch | Andreas Steffen | 2013-12-08 | 1 | -0/+7 | |
| | ||||||
* | Implemented ntru_trits class | Andreas Steffen | 2013-12-07 | 1 | -2/+91 | |
| | ||||||
* | unit-tests: Added crypter tests | Andreas Steffen | 2013-12-06 | 2 | -3/+110 | |
| | ||||||
* | Added own MGF1 mask generating function | Andreas Steffen | 2013-12-05 | 1 | -0/+171 | |
| | ||||||
* | unit-tests: Added hasher tests | Andreas Steffen | 2013-12-04 | 1 | -0/+189 | |
| | ||||||
* | Moved test_rng to a test suite of its own | Andreas Steffen | 2013-12-04 | 2 | -26/+56 | |
| | ||||||
* | unit-tests: Export ntru_drbg_create as testable function so no linking is ↵ | Tobias Brunner | 2013-12-04 | 1 | -0/+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: Move ntru_test_rng_t to a utility class in libtest | Tobias Brunner | 2013-12-04 | 1 | -6/+6 | |
| | ||||||
* | Added DRBG automatic reseeding tests | Andreas Steffen | 2013-11-27 | 1 | -168/+214 | |
| | ||||||
* | Extended NIST SP 800-90A HMAC_DRBG test cases | Andreas Steffen | 2013-11-27 | 1 | -21/+103 | |
| | ||||||
* | Implemented NIST SP 800-90A DRBG_HMAC with SHA-256 | Andreas Steffen | 2013-11-27 | 1 | -7/+146 | |
| | ||||||
* | unit-tests: Added ntru wrong ciphertext test | Andreas Steffen | 2013-11-27 | 1 | -0/+36 | |
| | ||||||
* | unit-tests: Added ntru entropy, retransmission and ciphertext tests | Andreas Steffen | 2013-11-27 | 1 | -0/+63 | |
| | ||||||
* | Any of the four NTRU parameter sets can be selected | Andreas Steffen | 2013-11-27 | 1 | -10/+54 | |
| | ||||||
* | Make the NTRU parameter set configurable | Andreas Steffen | 2013-11-27 | 1 | -26/+63 | |
| | ||||||
* | unit-tests: first NTRU test case | Andreas Steffen | 2013-11-27 | 1 | -0/+90 | |
| | ||||||
* | unit-tests: Check printing of strings having zero length | Martin Willi | 2013-11-06 | 1 | -0/+2 | |
| | ||||||
* | unit-tests: Add some basic tests if PRI* printf specifiers work as expected | Martin Willi | 2013-11-06 | 1 | -0/+25 | |
| | ||||||
* | unit-tests: Add a semaphore wait cancel test | Martin Willi | 2013-11-06 | 1 | -0/+44 | |
| | ||||||
* | unit-tests: Add a semaphore absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+27 | |
| | ||||||
* | unit-tests: Add a semaphore timed wait test case | Martin Willi | 2013-11-06 | 1 | -0/+24 | |
| | ||||||
* | unit-tests: Add a simple semaphore test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | ||||||
* | unit-tests: Add a spinlock test case | Martin Willi | 2013-11-06 | 1 | -0/+49 | |
| | ||||||
* | unit-tests: Add a rwlock condvar thread cancel test | Martin Willi | 2013-11-06 | 1 | -0/+57 | |
| | ||||||
* | unit-tests: Add a rwlock condvar absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | ||||||
* | unit-tests: Add a rwlock condvar wait test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | ||||||
* | unit-tests: Add a rwlock condvar broadcast test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | ||||||
* | unit-tests: Add a rwlock condvar test | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | ||||||
* | unit-tests: Add a rwlock test case | Martin Willi | 2013-11-06 | 1 | -0/+62 | |
| | ||||||
* | unit-tests: Add a condvar test where wait gets cancelled | Martin Willi | 2013-11-06 | 1 | -0/+57 | |
| | ||||||
* | unit-tests: Add a condvar test working on a recursive mutex | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | ||||||
* | unit-tests: Add a condvar absolute timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | ||||||
* | unit-tests: Add a condvar timed wait test | Martin Willi | 2013-11-06 | 1 | -0/+40 | |
| | ||||||
* | unit-tests: Add condvar broadcast test | Martin Willi | 2013-11-06 | 1 | -0/+43 | |
| | ||||||
* | unit-tests: Add a simple condvar test | Martin Willi | 2013-11-06 | 1 | -4/+61 | |
| | ||||||
* | unit-tests: Add a thread local storage cleanup test | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | ||||||
* | unit-tests: Add a thread local storage fuzzer test | Martin Willi | 2013-11-06 | 1 | -0/+64 | |
| | ||||||
* | unit-tests: Add a thread cleanup pop test | Martin Willi | 2013-11-06 | 1 | -0/+33 | |
| | ||||||
* | unit-tests: Add cleanup test cases for different thread exit situations | Martin Willi | 2013-11-06 | 1 | -0/+126 | |
| | ||||||
* | unit-tests: Add a test for thread_cancellation_point() | Martin Willi | 2013-11-06 | 1 | -0/+33 | |
| | ||||||
* | unit-tests: Add thread cancellability testing | Martin Willi | 2013-11-06 | 1 | -0/+50 | |
| | ||||||
* | unit-tests: Add a simple thread_cancel() test | Martin Willi | 2013-11-06 | 1 | -0/+35 | |
| | ||||||
* | unit-tests: Add thread_exit() tests to both join and detach test cases | Martin Willi | 2013-11-06 | 1 | -0/+62 | |
| | ||||||
* | unit-tests: Add a simple thread detach test | Martin Willi | 2013-11-06 | 1 | -0/+36 | |
| | ||||||
* | unit-tests: Add a simple thread join() test | Martin Willi | 2013-11-06 | 1 | -0/+27 | |
| |