Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | curl: For SSL features, depend on thread-safety provided by our crypto plugins | Martin Willi | 2014-09-24 | 1 | -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 hooks | Martin Willi | 2014-07-01 | 1 | -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 Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 1 | -2/+2 |
| | |||||
* | Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵ | Tobias Brunner | 2013-10-11 | 1 | -1/+1 |
| | | | | for IKEv2 anyway | ||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -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 folder | Tobias Brunner | 2012-10-24 | 6 | -6/+6 |
| | |||||
* | Add a return value to hasher_t.reset() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 3 | -10/+7 |
| | |||||
* | Add a return value to hasher_t.get_hash() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to crypter_t.set_key() | Martin Willi | 2012-07-16 | 1 | -2/+2 |
| | |||||
* | Add a return value to crypter_t.decrypt() | Martin Willi | 2012-07-16 | 1 | -8/+8 |
| | |||||
* | Add a return value to crypter_t.encrypt | Martin Willi | 2012-07-16 | 1 | -14/+11 |
| | |||||
* | Check rng return value when generating DH secret in gcrypt plugin | Tobias Brunner | 2012-07-16 | 1 | -2/+2 |
| | |||||
* | RNGs' get_bytes and allocate_bytes return boolean | Tobias Brunner | 2012-07-16 | 1 | -2/+4 |
| | |||||
* | gcrypt: Register SHA1 first as HASH_PREFERRED depends on it | Tobias Brunner | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | gcrypt does not support MD2 | Andreas Steffen | 2011-11-09 | 1 | -1/+0 |
| | |||||
* | Add features support to gcrypt plugin. | Tobias Brunner | 2011-10-17 | 1 | -101/+74 |
| | |||||
* | Fixed common misspellings. | Tobias Brunner | 2011-07-20 | 1 | -1/+1 |
| | | | | Mostly found by 'codespell'. | ||||
* | Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable | Martin Willi | 2011-05-19 | 1 | -2/+2 |
| | |||||
* | Added a (not yet implemented) plugin_t method to reload plugin configuration | Martin Willi | 2011-04-15 | 1 | -0/+1 |
| | |||||
* | Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵ | Martin Willi | 2011-04-15 | 1 | -35/+40 |
| | | | | over plugin_t | ||||
* | trace back crypto algorithms to the plugins that registered them | Andreas Steffen | 2010-12-18 | 1 | -33/+35 |
| | |||||
* | Added a final flag to builder registration to enumerate the actually ↵ | Martin Willi | 2010-09-03 | 1 | -3/+3 |
| | | | | supported algorithms | ||||
* | Added support for MODP_CUSTOM to gcrypt plugin | Martin Willi | 2010-09-03 | 3 | -19/+56 |
| | |||||
* | Use a seperate section for each nested struct member in INIT macro | Martin Willi | 2010-08-18 | 7 | -49/+65 |
| | |||||
* | Variable key length crypters use default key length if zero given | Martin Willi | 2010-08-16 | 1 | -1/+5 |
| | |||||
* | Implemented AES/Camellia counter mode in gcrypt | Martin Willi | 2010-08-13 | 2 | -6/+63 |
| | |||||
* | Add dedicated getter for the IV size to the crypter_t interface | Martin Willi | 2010-08-13 | 1 | -0/+10 |
| | |||||
* | Use bits instead of bytes for a private/public key | Martin Willi | 2010-08-10 | 2 | -4/+4 |
| | |||||
* | Added support for different encryption schemes to private/public keys | Martin Willi | 2010-08-10 | 2 | -2/+16 |
| | |||||
* | Migraded gcrypt plugin to INIT/METHOD macros | Martin Willi | 2010-08-10 | 11 | -242/+165 |
| | |||||
* | Renamed key_encod{ing,der}_t and constants, prepare for generic credential ↵ | Martin Willi | 2010-07-13 | 2 | -19/+19 |
| | | | | encoding | ||||
* | Explicitly link gpg-error to gcrypt plugin | Martin Willi | 2010-05-17 | 1 | -1/+1 |
| | |||||
* | Fixed RSA key generation with gcrypt | Martin Willi | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | Added support for DH groups 22, 23 and 24, patch contributed by Joy Latten | Martin Willi | 2010-04-19 | 1 | -0/+6 |
| | |||||
* | Store DH generator in a chunk, hide non-public data in a private struct | Martin Willi | 2010-04-08 | 1 | -3/+12 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 6 | -31/+42 |
| | |||||
* | Provide the Diffie Hellman parameters from a central location, so that we do ↵ | Tobias Brunner | 2010-03-09 | 1 | -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 Brunner | 2010-03-02 | 1 | -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 Brunner | 2010-03-02 | 1 | -1/+2 |
| | |||||
* | Link all enabled libstrongswan plugins into the library, link all enabled ↵ | Tobias Brunner | 2010-03-02 | 1 | -1/+7 |
| | | | | charon plugins into libcharon. | ||||
* | Changed plugin constructors from plugin_create to plugin_name_plugin_create. | Tobias Brunner | 2010-03-02 | 1 | -1/+1 |
| | |||||
* | Removing the plugin constructor declarations from the header files. | Tobias Brunner | 2010-03-02 | 1 | -5/+0 |
| | |||||
* | Link all plugins to libstrongswan. | Tobias Brunner | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Separated the public interfaces of the threading primitives. | Tobias Brunner | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Moved mutex.c to a separate folder in order to cleanly wrap other threading ↵ | Tobias Brunner | 2009-12-23 | 1 | -1/+1 |
| | | | | primitives (and utils/mutex.h is now threading.h). | ||||
* | Public/Private keys implement a has_fingerprint() method | Martin Willi | 2009-09-21 | 2 | -0/+2 |
| | |||||
* | all arguments must be read | Andreas Steffen | 2009-09-20 | 1 | -1/+2 |
| | |||||
* | Updated gcrypt plugin to the new builder API | Martin Willi | 2009-09-10 | 5 | -204/+134 |
| |