aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt
Commit message (Collapse)AuthorAgeFilesLines
* curl: For SSL features, depend on thread-safety provided by our crypto pluginsMartin Willi2014-09-241-0/+2
| | | | | | | | | To use SSL in curl, we need to initialize the SSL library in a thread-safe manner and provide the appropriate callbacks. As we already do that in our crypto plugins using these libraries, we depend on these features. This implies that we need the same plugin enabled (openssl, gcrypt) as the curl backend is configured to use to fetch from HTTPS URIs.
* gcrypt: Use predefined pthread locking functions instead of custom hooksMartin Willi2014-07-011-50/+4
| | | | | | | | | | | | | Starting with libgcrypt 1.6, it seems that custom locking functions are not supported anymore. Instead, the user has to select from one of the pre-defined set of locking functions. Given that we have a proper threading abstraction API with optional profiling on all platforms, this is somewhat annoying. However, there does not seem to be a way to use custom functions, and we have no other choice than using the provided macro magic to support all libgcrypt versions. Fixes #630.
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* lib: All settings use configured namespaceTobias Brunner2014-02-121-2/+2
|
* Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵Tobias Brunner2013-10-111-1/+1
| | | | for IKEv2 anyway
* 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.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-246-6/+6
|
* Add a return value to hasher_t.reset()Martin Willi2012-07-161-1/+2
|
* Add a return value to hasher_t.allocate_hash()Martin Willi2012-07-163-10/+7
|
* Add a return value to hasher_t.get_hash()Martin Willi2012-07-161-1/+2
|
* Add a return value to crypter_t.set_key()Martin Willi2012-07-161-2/+2
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-161-8/+8
|
* Add a return value to crypter_t.encryptMartin Willi2012-07-161-14/+11
|
* Check rng return value when generating DH secret in gcrypt pluginTobias Brunner2012-07-161-2/+2
|
* RNGs' get_bytes and allocate_bytes return booleanTobias Brunner2012-07-161-2/+4
|
* gcrypt: Register SHA1 first as HASH_PREFERRED depends on itTobias Brunner2012-06-271-1/+1
|
* gcrypt does not support MD2Andreas Steffen2011-11-091-1/+0
|
* Add features support to gcrypt plugin.Tobias Brunner2011-10-171-101/+74
|
* Fixed common misspellings.Tobias Brunner2011-07-201-1/+1
| | | | Mostly found by 'codespell'.
* Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variableMartin Willi2011-05-191-2/+2
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-35/+40
| | | | over plugin_t
* trace back crypto algorithms to the plugins that registered themAndreas Steffen2010-12-181-33/+35
|
* Added a final flag to builder registration to enumerate the actually ↵Martin Willi2010-09-031-3/+3
| | | | supported algorithms
* Added support for MODP_CUSTOM to gcrypt pluginMartin Willi2010-09-033-19/+56
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-187-49/+65
|
* Variable key length crypters use default key length if zero givenMartin Willi2010-08-161-1/+5
|
* Implemented AES/Camellia counter mode in gcryptMartin Willi2010-08-132-6/+63
|
* Add dedicated getter for the IV size to the crypter_t interfaceMartin Willi2010-08-131-0/+10
|
* Use bits instead of bytes for a private/public keyMartin Willi2010-08-102-4/+4
|
* Added support for different encryption schemes to private/public keysMartin Willi2010-08-102-2/+16
|
* Migraded gcrypt plugin to INIT/METHOD macrosMartin Willi2010-08-1011-242/+165
|
* Renamed key_encod{ing,der}_t and constants, prepare for generic credential ↵Martin Willi2010-07-132-19/+19
| | | | encoding
* Explicitly link gpg-error to gcrypt pluginMartin Willi2010-05-171-1/+1
|
* Fixed RSA key generation with gcryptMartin Willi2010-04-291-1/+1
|
* Added support for DH groups 22, 23 and 24, patch contributed by Joy LattenMartin Willi2010-04-191-0/+6
|
* Store DH generator in a chunk, hide non-public data in a private structMartin Willi2010-04-081-3/+12
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-066-31/+42
|
* Provide the Diffie Hellman parameters from a central location, so that we do ↵Tobias Brunner2010-03-091-325/+12
| | | | | | | | not have to replicate them in every plugin that implements the DH interface. The main reason for this change is that Android's libcrypto does not include the get_rfcX_prime_Y functions by default. Therefore we would have had to replicate the primes a third time.
* Reverting eba28948a584b9d02474cf5d256b04b8d2adbe6a which was only necessary ↵Tobias Brunner2010-03-021-3/+1
| | | | | | | when cross-compiling the plugins for Android 2.0. With the coming monolithic build using Android.mk files this won't be necessary anymore.
* Streamlined the source file list formatting in plugin makefiles.Tobias Brunner2010-03-021-1/+2
|
* Link all enabled libstrongswan plugins into the library, link all enabled ↵Tobias Brunner2010-03-021-1/+7
| | | | charon plugins into libcharon.
* Changed plugin constructors from plugin_create to plugin_name_plugin_create.Tobias Brunner2010-03-021-1/+1
|
* Removing the plugin constructor declarations from the header files.Tobias Brunner2010-03-021-5/+0
|
* Link all plugins to libstrongswan.Tobias Brunner2010-02-251-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).
* Public/Private keys implement a has_fingerprint() methodMartin Willi2009-09-212-0/+2
|
* all arguments must be readAndreas Steffen2009-09-201-1/+2
|
* Updated gcrypt plugin to the new builder APIMartin Willi2009-09-105-204/+134
|