Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xof: Defined Extended Output Functions | Andreas Steffen | 2016-07-29 | 1 | -0/+155 |
| | |||||
* | crypto-tester: Support testing DH groups using DH test vectors | Martin Willi | 2015-04-15 | 1 | -0/+163 |
| | |||||
* | crypto-tester: Use the plugin feature key size to benchmark crypters/aeads | Martin Willi | 2015-04-15 | 1 | -14/+16 |
| | | | | | | We previously didn't pass the key size during algorithm registration, but this resulted in benchmarking with the "default" key size the crypter uses when passing 0 as key size. | ||||
* | crypto-tester: Explicitly exclude FIPS-PRF from append mode tests | Martin Willi | 2015-03-28 | 1 | -8/+11 |
| | | | | | This was implicitly done by the seed length check before 58dda5d6, but we now require an explicit check to avoid that unsupported use. | ||||
* | crypto-tester: Test set_key() after a doing a partial append on prf/signers | Martin Willi | 2015-03-27 | 1 | -2/+20 |
| | | | | | While that use is uncommon in real-world use, nonetheless should HMAC set a correct key and reset any underlying hasher. | ||||
* | windows: Check for clock_gettime() function itself as well | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | | | | | CLOCK_THREAD_CPUTIME_ID seems to be defined sometimes even if clock_gettime() is missing. | ||||
* | windows: Add a common Windows header for platform specific wrappers | Martin Willi | 2014-06-03 | 1 | -2/+4 |
| | | | | | Include some more basic system headers in utils.h, so we can use that common header on the different platforms. | ||||
* | aead: Support custom AEAD salt sizes | Martin Willi | 2014-03-31 | 1 | -4/+8 |
| | | | | | | | | | 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. | ||||
* | crypto-tester: Don't fail if key size is not supported | Tobias Brunner | 2014-03-20 | 1 | -6/+3 |
| | | | | | | | | The Blowfish and Twofish implementations provided by the gcrypt plugin only support specific key lengths, which we don't know when testing against vectors (either during unit tests or during algorithm registration). The on_create test with a specific key length will be skipped anyway, so there is no point in treating this failure differently. | ||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 1 | -4/+4 |
| | |||||
* | Fix cleanup in crypto_tester if a crypter fails | Tobias Brunner | 2013-05-08 | 1 | -1/+4 |
| | |||||
* | Fix cleanup in crypto_tester if AEAD implementation fails | Tobias Brunner | 2013-02-28 | 1 | -1/+4 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Fixed RNG crypto tester | Tobias Brunner | 2012-09-28 | 1 | -11/+9 |
| | |||||
* | Test reset() of hasher in crypto tester | Martin Willi | 2012-07-16 | 1 | -1/+9 |
| | |||||
* | Refactored error handling in crypto tester | Martin Willi | 2012-07-16 | 1 | -95/+114 |
| | |||||
* | Set a key before benching PRFs | Martin Willi | 2012-07-16 | 1 | -1/+8 |
| | |||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 1 | -3/+6 |
| | |||||
* | Add a return value to hasher_t.get_hash() | Martin Willi | 2012-07-16 | 1 | -6/+11 |
| | |||||
* | Add a return value to crypter_t.set_key() | Martin Willi | 2012-07-16 | 1 | -2/+8 |
| | |||||
* | Add a return value to crypter_t.decrypt() | Martin Willi | 2012-07-16 | 1 | -4/+12 |
| | |||||
* | Add a return value to crypter_t.encrypt | Martin Willi | 2012-07-16 | 1 | -4/+12 |
| | |||||
* | Check rng return value in crypto tester | Tobias Brunner | 2012-07-16 | 1 | -15/+17 |
| | |||||
* | Add a return value to prf_t.set_key() | Martin Willi | 2012-07-16 | 1 | -3/+12 |
| | |||||
* | Add a return value to prf_t.allocate_bytes() | Martin Willi | 2012-07-16 | 1 | -3/+6 |
| | |||||
* | Add a return value to prf_t.get_bytes() | Martin Willi | 2012-07-16 | 1 | -5/+13 |
| | |||||
* | Add a return value to signer_t.set_key() | Martin Willi | 2012-07-16 | 1 | -3/+8 |
| | |||||
* | Add a return value to signer_t.get_signature() | Martin Willi | 2012-07-16 | 1 | -6/+17 |
| | |||||
* | Add a return value to signer_t.allocate_signature() | Martin Willi | 2012-07-16 | 1 | -2/+9 |
| | |||||
* | Add a return value to aead_t.set_key() | Martin Willi | 2012-07-16 | 1 | -2/+8 |
| | |||||
* | Add a return value to aead_t.encrypt() | Martin Willi | 2012-07-16 | 1 | -8/+18 |
| | |||||
* | Use correct integrity_algorithm_t enum type in bench_signer() | Martin Willi | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Disable crypto benchmarking if CLOCK_THREAD_CPUTIME_ID is not available. | Tobias Brunner | 2012-01-30 | 1 | -0/+10 |
| | |||||
* | Fixed debug statement if algorithm benchmarking enabled | Martin Willi | 2011-04-08 | 1 | -3/+3 |
| | |||||
* | disable AEAD crypto algorithm if no key size is supported | Andreas Steffen | 2010-12-25 | 1 | -0/+1 |
| | |||||
* | disable crypto algorithm if no key size is supported | Andreas Steffen | 2010-12-25 | 1 | -8/+27 |
| | |||||
* | log if an AEAD algorithm does not support a given key size | Andreas Steffen | 2010-12-25 | 1 | -2/+6 |
| | |||||
* | log if a crypto algorithm does not support a given key size | Andreas Steffen | 2010-12-25 | 1 | -1/+3 |
| | |||||
* | trace back crypto algorithms to the plugins that registered them | Andreas Steffen | 2010-12-18 | 1 | -64/+64 |
| | |||||
* | Give a benchmark point for each operation to compare different transforms | Martin Willi | 2010-08-19 | 1 | -1/+4 |
| | |||||
* | Added AEAD support to crypto tester | Martin Willi | 2010-08-19 | 1 | -0/+171 |
| | |||||
* | Test append mode for signers verify_signature | Martin Willi | 2010-08-19 | 1 | -3/+2 |
| | |||||
* | Implemented algorithm benchmarking during registration | Martin Willi | 2010-08-16 | 1 | -16/+278 |
| | |||||
* | Migrated crypto_tester to INIT/METHOD macros | Martin Willi | 2010-08-16 | 1 | -78/+54 |
| | |||||
* | Use IV length of a crypter instead of block size for IV calculations | Martin Willi | 2010-08-13 | 1 | -1/+1 |
| | |||||
* | Report the symbol name of a failed test vector | Martin Willi | 2010-08-13 | 1 | -10/+29 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -20/+20 |
| | |||||
* | removed trailing spaces ([[:space:]]+$) | Martin Willi | 2009-09-04 | 1 | -45/+45 |
| | |||||
* | fix test vector error output | Andreas Steffen | 2009-07-17 | 1 | -11/+11 |
| |