aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/af_alg
Commit message (Collapse)AuthorAgeFilesLines
* af-alg: Fix crypt() definition conflictBaruch Siach2017-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | Rename the crypt() method to avoid conflict with POSIX crypt(). Fixes the following build failure with musl libc: In file included from ../../../../src/libstrongswan/utils/utils.h:53:0, from ../../../../src/libstrongswan/library.h:101, from af_alg_ops.h:24, from af_alg_ops.c:16: af_alg_ops.c:110:22: error: conflicting types for 'crypt' METHOD(af_alg_ops_t, crypt, bool, ^ ../../../../src/libstrongswan/utils/utils/object.h:99:13: note: in definition of macro 'METHOD' static ret name(union {iface *_public; this;} \ ^ In file included from af_alg_ops.c:18:0: .../host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:144:7: note: previous declaration of 'crypt' was here char *crypt(const char *, const char *); ^ Closes strongswan/strongswan#72.
* af-alg: Silently skip probing algorithms if AF_ALG is not supportedMartin Willi2016-05-191-0/+19
| | | | | | If the af-alg plugin is enabled, but kernel support is missing, we get an error line during startup for each probed algorithm. This is way too verbose, so just skip probing if AF_ALG is unsupported.
* Use standard unsigned integer typesAndreas Steffen2016-03-245-5/+5
|
* utils: Use memeq_const() for all cryptographic purposesMartin Willi2015-04-141-1/+1
|
* af-alg: Reset hmac/xcbc state before doing set_key()Martin Willi2015-03-272-0/+2
|
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵Tobias Brunner2013-10-111-2/+2
| | | | for IKEv2 anyway
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-3/+5
| | | | | | 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.
* af-alg: fix number of signers after adding untruncated HMAC-SHA-512 (1f2a34d6)Martin Willi2013-05-151-1/+1
|
* Add support for untruncated HMAC-SHA-512Tobias Brunner2013-05-081-0/+1
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Check and forward syscall errors in AF_ALGMartin Willi2012-07-166-52/+71
|
* 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-161-6/+3
|
* 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-1/+2
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-161-1/+2
|
* Add a return value to crypter_t.encryptMartin Willi2012-07-161-1/+2
|
* Add a return value to prf_t.set_key()Martin Willi2012-07-161-1/+2
|
* Add a return value to prf_t.allocate_bytes()Martin Willi2012-07-161-6/+3
|
* Add a return value to prf_t.get_bytes()Martin Willi2012-07-161-1/+2
|
* Add a return value to signer_t.set_key()Martin Willi2012-07-161-1/+2
|
* Add a return value to signer_t.get_signature()Martin Willi2012-07-161-8/+8
|
* Add a return value to signer_t.allocate_signature()Martin Willi2012-07-161-1/+2
|
* Add features support to af_alg pluginMartin Willi2011-10-149-51/+71
|
* Fix strict aliasing warningMartin Willi2011-05-251-1/+1
|
* Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variableMartin Willi2011-05-191-1/+1
|
* 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-1511-20/+31
| | | | over plugin_t
* Use an IV size of zero for DES in ECB modeMartin Willi2011-04-081-1/+1
|
* Added support for DES_ECB to af-alg, required for eap-mschapv2Martin Willi2011-04-051-0/+1
|
* printed plugin names have a hyphenAndreas Steffen2010-12-246-4/+8
|
* Probe for supported AF_ALG algorithms, register dynamicallyMartin Willi2010-12-2010-161/+212
|
* Register some less common AF_ALG ciphers (cast5, serpent, twofish, blowfish)Martin Willi2010-12-202-0/+18
|
* Implemented PRFs using AF_ALGMartin Willi2010-12-204-0/+253
|
* Use the AF_ALG wrapper in hasher, crypter and signerMartin Willi2010-12-203-278/+39
|
* Use a generic AF_ALG wrapper for common operationsMartin Willi2010-12-203-0/+312
|
* Implemented crypter on top of AF_ALGMartin Willi2010-12-204-1/+362
|
* Implemented signer interface using AF_ALGMartin Willi2010-12-204-1/+334
|
* Implemented hasher based on AF_ALGMartin Willi2010-12-204-2/+285
|
* Added plugin stub for AF_ALGMartin Willi2010-12-203-0/+112