aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* travis: --disable-aikgen in "all" testsMartin Willi2014-05-071-1/+1
| | | | | aikgen has a hard dependency on TrouSerS, which we currently don't have in the travis build.
* tls: Support a maximum TLS version to negotiate using TLS socket abstractionMartin Willi2014-04-011-2/+2
|
* tls: Introduce a generic TLS purpose that accepts NULL encryption ciphersMartin Willi2014-04-011-2/+2
|
* aead: Support custom AEAD salt sizesMartin Willi2014-03-312-2/+2
| | | | | | | | | The salt, or often called implicit nonce, varies between AEAD algorithms and their use in protocols. For IKE and ESP, GCM uses 4 bytes, while CCM uses 3 bytes. With TLS, however, AEAD mode uses 4 bytes for both GCM and CCM. Our GCM backends currently support 4 bytes and CCM 3 bytes only. This is fine until we go for CCM mode support in TLS, which requires 4 byte nonces.
* travis: Run the "all" test case with leak detective enabledTobias Brunner2014-03-271-0/+6
| | | | | | | | But disable the gcrypt plugin, as it causes leaks. Also disable the backtraces by libunwind as they seem to cause threads to get cleaned up after the leak detective already has been disabled, which leads to invalid free()s.
* travis: Use parallel buildTobias Brunner2014-03-201-1/+1
| | | | | | | Not sure if 4 jobs is optimal, but according to the docs each build host has 1.5 virtual cores available (although "getconf _NPROCESSORS_ONLN" returns 32, which is probably the number of real cores underneath), so more jobs might not actually reduce the build time much more.
* travis: Add tests for builtin printf hook implementationTobias Brunner2014-03-201-2/+5
| | | | | We can't test Vstr as it does not properly handle negative int arguments for custom format callbacks, so some of the enum tests would fail.
* travis: Install dependencies for each test dynamicallyTobias Brunner2014-03-201-0/+13
| | | | | Since the installation of all packages alone takes several minutes this should speed up some test cases.
* Add Travis CI config and build scriptTobias Brunner2014-03-201-0/+49
|
* lib: Add global config namespaceTobias Brunner2014-02-1211-11/+11
|
* aes-test: Fix compiler warnings from older versions of GCCTobias Brunner2013-12-191-1/+1
|
* pubkey_speed: Add missing pluginsTobias Brunner2013-09-041-4/+4
| | | | | | | The pkcs1 plugin is required to test the gmp/gcrypt plugins. Likewise, the pem plugin is required when testing the openssl plugin. Fixes #401.
* pubkey_speed: sudo is not requiredTobias Brunner2013-09-041-4/+6
| | | | | Also, refer to pubkey_speed properly when not being called from the same directory.
* pubkey_speed: Add header and fix usageTobias Brunner2013-09-041-2/+15
|
* aes-test: Rename crypt() as it conflicts with a library function on Mac OS XTobias Brunner2013-08-301-3/+3
| | | | unistd.h on Linux defines this only if _XOPEN_SOURCE is defined.
* Added scripts/aes-test to .gitignoreAndreas Steffen2013-08-281-0/+1
|
* aes-test: Support test vectors at the end of a fileTobias Brunner2013-08-241-0/+4
|
* aes-test: Add script to test AES implementations according to AESAVS/GCMVSTobias Brunner2013-08-242-1/+655
|
* scripts: link against librt only if requiredMartin Willi2013-08-081-3/+3
| | | | With glibc, this seems to be the case for 2.17 and older versions only.
* scripts: link malloc_speed against librtMartin Willi2013-08-081-1/+1
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-3/+4
| | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
* plugin-loader: Removed unused path argument of load() methodTobias Brunner2013-06-289-9/+9
| | | | | Multiple additional search paths can be added with the add_path() method.
* scripts: add a simple test utility to do some malloc() benchmarking/profilingMartin Willi2013-05-063-1/+89
|
* fixed another printf statementAndreas Steffen2013-04-091-3/+1
|
* fixed printf statementsAndreas Steffen2013-04-081-9/+28
|
* Accept a certificate/key pair to use client authentication in tls_testMartin Willi2013-04-021-7/+52
|
* crypt_burn: Proper cleanupTobias Brunner2013-03-251-0/+2
|
* crypt_burn: Fix loop condition for regular cryptersTobias Brunner2013-03-251-1/+1
|
* Implemented the resolver test script "dnssec"Reto Guadagnini2013-02-193-1/+130
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-246-6/+6
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-241-1/+1
|
* Added possibility to register custom proposal keywordsTobias Brunner2012-09-131-2/+1
| | | | Keyword lookup and registration are handled via the new lib->proposal object.
* Removed len argument from proposal_get_token()Tobias Brunner2012-09-131-1/+1
| | | | Also use enumerators instead of lexparser.h to parse proposal strings.
* Add a tool to burn hashersMartin Willi2012-07-173-1/+78
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-161-3/+6
|
* Add a return value to crypter_t.encryptMartin Willi2012-07-161-3/+6
|
* Add a return value to aead_t.encrypt()Martin Willi2012-07-161-2/+6
|
* Added GPL header to scriptsTobias Brunner2012-06-298-0/+112
|
* Fixed return values of several functions (e.g. return FALSE for pointer types).Tobias Brunner2012-05-311-1/+1
|
* Use the TLS socket splicing in tls_test scriptMartin Willi2011-12-311-54/+2
|
* Implemented TLS session resumption both as client and as serverMartin Willi2011-12-311-52/+70
|
* Use spaces in Makefile.am identation, autotools don't like tabsMartin Willi2011-05-201-4/+4
|
* Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variableMartin Willi2011-05-191-2/+0
|
* Added alloc/stream options to fetcher test utilityMartin Willi2011-04-041-6/+32
|
* Added simple fetcher tool to test fetcher implementationsMartin Willi2011-01-173-1/+45
|
* Added command line tool for OID to DER conversion functionMartin Willi2011-01-053-1/+35
|
* Conditional exclusion of tls_test script completed.Tobias Brunner2010-09-091-3/+5
|
* Fixed typo.Tobias Brunner2010-09-091-1/+1
|
* Build tls_test script only if TLS stack is enabledMartin Willi2010-09-071-1/+4
|
* Added a TLS debug level option, use debugging hookMartin Willi2010-08-311-13/+38
|