Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | af-alg: Fix crypt() definition conflict | Baruch Siach | 2017-05-15 | 1 | -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 supported | Martin Willi | 2016-05-19 | 1 | -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 types | Andreas Steffen | 2016-03-24 | 5 | -5/+5 |
| | |||||
* | utils: Use memeq_const() for all cryptographic purposes | Martin Willi | 2015-04-14 | 1 | -1/+1 |
| | |||||
* | af-alg: Reset hmac/xcbc state before doing set_key() | Martin Willi | 2015-03-27 | 2 | -0/+2 |
| | |||||
* | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required ↵ | Tobias Brunner | 2013-10-11 | 1 | -2/+2 |
| | | | | for IKEv2 anyway | ||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -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 Willi | 2013-05-15 | 1 | -1/+1 |
| | |||||
* | Add support for untruncated HMAC-SHA-512 | Tobias Brunner | 2013-05-08 | 1 | -0/+1 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Check and forward syscall errors in AF_ALG | Martin Willi | 2012-07-16 | 6 | -52/+71 |
| | |||||
* | 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 | 1 | -6/+3 |
| | |||||
* | 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 | -1/+2 |
| | |||||
* | Add a return value to crypter_t.decrypt() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to crypter_t.encrypt | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to prf_t.set_key() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to prf_t.allocate_bytes() | Martin Willi | 2012-07-16 | 1 | -6/+3 |
| | |||||
* | Add a return value to prf_t.get_bytes() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to signer_t.set_key() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add a return value to signer_t.get_signature() | Martin Willi | 2012-07-16 | 1 | -8/+8 |
| | |||||
* | Add a return value to signer_t.allocate_signature() | Martin Willi | 2012-07-16 | 1 | -1/+2 |
| | |||||
* | Add features support to af_alg plugin | Martin Willi | 2011-10-14 | 9 | -51/+71 |
| | |||||
* | Fix strict aliasing warning | Martin Willi | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable | Martin Willi | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | 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 | 11 | -20/+31 |
| | | | | over plugin_t | ||||
* | Use an IV size of zero for DES in ECB mode | Martin Willi | 2011-04-08 | 1 | -1/+1 |
| | |||||
* | Added support for DES_ECB to af-alg, required for eap-mschapv2 | Martin Willi | 2011-04-05 | 1 | -0/+1 |
| | |||||
* | printed plugin names have a hyphen | Andreas Steffen | 2010-12-24 | 6 | -4/+8 |
| | |||||
* | Probe for supported AF_ALG algorithms, register dynamically | Martin Willi | 2010-12-20 | 10 | -161/+212 |
| | |||||
* | Register some less common AF_ALG ciphers (cast5, serpent, twofish, blowfish) | Martin Willi | 2010-12-20 | 2 | -0/+18 |
| | |||||
* | Implemented PRFs using AF_ALG | Martin Willi | 2010-12-20 | 4 | -0/+253 |
| | |||||
* | Use the AF_ALG wrapper in hasher, crypter and signer | Martin Willi | 2010-12-20 | 3 | -278/+39 |
| | |||||
* | Use a generic AF_ALG wrapper for common operations | Martin Willi | 2010-12-20 | 3 | -0/+312 |
| | |||||
* | Implemented crypter on top of AF_ALG | Martin Willi | 2010-12-20 | 4 | -1/+362 |
| | |||||
* | Implemented signer interface using AF_ALG | Martin Willi | 2010-12-20 | 4 | -1/+334 |
| | |||||
* | Implemented hasher based on AF_ALG | Martin Willi | 2010-12-20 | 4 | -2/+285 |
| | |||||
* | Added plugin stub for AF_ALG | Martin Willi | 2010-12-20 | 3 | -0/+112 |