aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/crypto_factory.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto-factory: Only sort RNGs by algorithm identifierTobias Brunner2014-06-201-5/+13
| | | | | Others remain in the order in which they were added, grouped by algorithm identifier and sorted by benchmarking speed, if provided.
* aead: Support custom AEAD salt sizesMartin Willi2014-03-311-5/+5
| | | | | | | | | 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.
* unit-tests: Actually verify registered algorithms against test vectorsTobias Brunner2014-03-201-1/+38
| | | | | | | | Previously, the {ns}.crypto_test.on_add option had to be enabled to actually test the algorithms, which we can't enforce for the tests in the test_runner as the option is already read when the crypto factory is initialized. Even so, we wouldn't want to do this for every unit test, which would be the result of enabling that option.
* lib: All settings use configured namespaceTobias Brunner2014-02-121-3/+3
|
* Revert refactoring which broke CentOS buildAndreas Steffen2013-10-131-1/+1
|
* crypto-factory: Try next available RNG implementation if constructor failsTobias Brunner2013-10-111-13/+6
|
* crypto-factory: Order entries by algorithm identifier and (optionally) speedTobias Brunner2013-10-111-22/+18
|
* Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵Tobias Brunner2013-10-111-2/+2
| | | | for IKEv2 anyway
* crypto-factory: count the number of test vector failures during registrationMartin Willi2013-06-211-16/+47
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Initialize g and p in create_dh factory methodTobias Brunner2012-09-281-1/+1
|
* Move MODP_CUSTOM va_arg fetching out of loopMartin Willi2012-08-021-15/+11
| | | | It seems problematic at least on PPC with gcc 4.3, fixes #208.
* Enumerate correct list while removing nonce_gens, fix deregistrationMartin Willi2012-05-211-1/+1
|
* Add enumerator for registered nonce generators.Tobias Brunner2012-05-181-2/+19
|
* Add nonce generator interfaceAdrian-Ken Rueegsegger2012-05-181-0/+57
| | | | | | | Nonce generators (nonce_gen_t) can be used to get or allocate nonces. Users can request nonce generators from the crypto factory while nonce plugins register/remove themselves to/from the crypto factory.
* trace back crypto algorithms to the plugins that registered themAndreas Steffen2010-12-181-41/+92
|
* Added a MODP_CUSTOM DH group which takes g and p as constructor argumentsMartin Willi2010-09-021-2/+16
|
* Added support for AEAD algorithms to crypto factoryMartin Willi2010-08-191-0/+86
|
* Do not free registered algorithms, plugins are responsible for unregisteringMartin Willi2010-08-161-6/+6
|
* Implemented algorithm benchmarking during registrationMartin Willi2010-08-161-53/+88
|
* Migrated crypto_factory to INIT/METHOD macrosMartin Willi2010-08-161-156/+100
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-1/+1
|
* Separated the public interfaces of the threading primitives.Tobias Brunner2009-12-231-1/+1
|
* Moved mutex.c to a separate folder in order to cleanly wrap other threading ↵Tobias Brunner2009-12-231-1/+1
| | | | primitives (and utils/mutex.h is now threading.h).
* replaces four spaces by tabs, where appropriateMartin Willi2009-09-041-1/+1
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-29/+29
|
* OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the ↵Tobias Brunner2009-08-141-1/+1
| | | | enums mutex/condvar/rwlock_type_t.
* removed one hierarchy level for crypto test optionsMartin Willi2009-06-161-2/+2
|
* make use of the crypto_tester in the crypto_factoryMartin Willi2009-06-111-40/+136
| | | | | libstrongswan.crypto.test.on_add to test algorithms during initialization libstrongswan.crypto.test.on_create to test algorithms on each instantiation
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* use read-write locks in crypto factory for parallelizationMartin Willi2008-11-051-42/+42
|
* crypto_factory algorithm enumeration APIMartin Willi2008-08-281-93/+186
| | | | implementation of "ipsec listalgs"
* added API for random number generators, served through credential factoryMartin Willi2008-04-151-1/+89
| | | | ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+483