Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | x509: Replace the comma separated string AC group builder with a list based one | Martin Willi | 2014-03-31 | 1 | -5/+5 | |
| | ||||||
* | x509: Integrate IETF attribute handling, and obsolete ietf_attributes_t | Martin Willi | 2014-03-31 | 1 | -9/+184 | |
| | | | | | The ietf_attributes_t class is used for attribute certificates only these days, and integrating them to x509_ac_t simplifies things significantly. | |||||
* | x509: Replace fixed acert group string getter by a more dynamic group enumerator | Martin Willi | 2014-03-31 | 1 | -3/+3 | |
| | ||||||
* | x509: Skip parsing of acert chargingIdentity, as we don't use it anyway | Martin Willi | 2014-03-31 | 1 | -9/+1 | |
| | ||||||
* | x509: Fix some whitespaces and do some minor style cleanups in acert | Martin Willi | 2014-03-31 | 1 | -72/+76 | |
| | ||||||
* | openssl: Add default fallback when calculating fingerprints of RSA keys | Tobias Brunner | 2014-03-22 | 1 | -1/+15 | |
| | | | | | | We still try to calculate these directly as it can avoid a dependency on the pkcs1 or other plugins. But for e.g. PGPv3 keys we need to delegate the actual fingerprint calculation to the pgp plugin. | |||||
* | Completed integration of ntru_crypto library into ntru plugin | Andreas Steffen | 2014-03-22 | 20 | -1707/+1165 | |
| | ||||||
* | plugin-feature: Hash only the actually used feature argument | Tobias Brunner | 2014-03-20 | 1 | -1/+31 | |
| | | | | | | | | Clang does not initialize padding in union members so hashing the complete "arg" union could lead to different hashes if the hashed plugin_feature_t does not have static storage duration. Fixes #549. | |||||
* | plugin-loader: Properly initialize modular plugin list if no plugins are enabled | Tobias Brunner | 2014-03-18 | 1 | -0/+1 | |
| | ||||||
* | Implemented ntru_private_key class | Andreas Steffen | 2014-03-18 | 14 | -1341/+1085 | |
| | ||||||
* | 11 bits are needed to encode a maximum index of 1086 | Andreas Steffen | 2014-03-15 | 1 | -1/+1 | |
| | ||||||
* | Refactored NTRU parameter set selection | Andreas Steffen | 2014-03-07 | 3 | -40/+47 | |
| | ||||||
* | Refactored ntru_param_sets | Andreas Steffen | 2014-03-07 | 9 | -246/+175 | |
| | ||||||
* | Optimize ntru_poly constructors some more5.1.2 | Andreas Steffen | 2014-02-27 | 1 | -26/+24 | |
| | ||||||
* | Optimized initialisation of indices | Andreas Steffen | 2014-02-27 | 1 | -50/+39 | |
| | ||||||
* | Added get_array() method to ntru_poly_t class | Andreas Steffen | 2014-02-27 | 5 | -156/+57 | |
| | ||||||
* | Defined ntru_poly_create_from_seed() and ntru_poly_create_from_data() ↵ | Andreas Steffen | 2014-02-27 | 5 | -131/+100 | |
| | | | | constructors and built some unit tests for the latter) | |||||
* | Optimized use of temporary arrays in polynomial multiplication | Andreas Steffen | 2014-02-27 | 2 | -24/+24 | |
| | ||||||
* | Implement ring multiplication method | Andreas Steffen | 2014-02-27 | 3 | -99/+228 | |
| | ||||||
* | index limit can be easily computed | Andreas Steffen | 2014-02-19 | 5 | -42/+18 | |
| | ||||||
* | uclibc only defines strndup(3) if _GNU_SOURCE is defined | Tobias Brunner | 2014-02-19 | 1 | -2/+2 | |
| | | | | References #516. | |||||
* | sshkey: uclibc only defines fmemopen(3) if _GNU_SOURCE is defined | Tobias Brunner | 2014-02-19 | 1 | -0/+1 | |
| | | | | Fixes #516. | |||||
* | Created ntru_poly class for sparse trinary polynomials | Andreas Steffen | 2014-02-18 | 8 | -434/+455 | |
| | ||||||
* | plugin-loader: Escape <ns> in comment as Doxygen sees this as XML tag | Tobias Brunner | 2014-02-18 | 1 | -2/+2 | |
| | ||||||
* | plugin-loader: Optionally use load option in each plugin section to load plugins | Tobias Brunner | 2014-02-12 | 2 | -4/+144 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now works because all plugins use the same config namespace. If <ns>.load_modular is true, the list of plugins to load is determined via the value of the <ns>.plugins.<name>.load options. Using includes the following is possible: charon { load_modular = yes plugins { include strongswan.d/charon/*.conf } } charon-cmd { load_modular = yes plugins { include strongswan.d/charon-cmd/*.conf } } Where each .conf file would contain something like: <name> { load = yes <option> = <value> } To increase the priority of individual plugins load = <priority> can be used (the default is 1). For instance, to use openssl instead of the built-in crypto plugins set in strongswan.d/charon/openssl.conf: openssl { load = 10 } If two plugins have the same priority their order in the default plugin list is preserved. Plugins not found in that list are ordered alphabetically before other plugins with the same priority. | |||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 15 | -35/+35 | |
| | ||||||
* | rdrand: Provide get_features() regardless of RDRAND availability | Martin Willi | 2014-02-10 | 1 | -6/+6 | |
| | | | | | As having no get_features() raises a deprecated warning, we return no features instead. | |||||
* | rdrand: Move RDRAND detection log to level 2 | Martin Willi | 2014-02-10 | 1 | -2/+2 | |
| | | | | | When having RDRAND support, these log messages might be confusing when using pki or other tools. | |||||
* | pem: Use chunk_map() instead of non-portable mmap() | Martin Willi | 2014-01-23 | 1 | -29/+6 | |
| | ||||||
* | curl: Replace spaces in URIs with %20 | Tobias Brunner | 2014-01-23 | 1 | -3/+14 | |
| | | | | | | | cURL requires the URIs to be URL-encoded. Apparently, some CAs encode CRL URIs with spaces in them. Fixes #454. | |||||
* | agent: Keep CAP_DAC_OVERRIDE to connect to ssh-agent socket | Tobias Brunner | 2014-01-23 | 2 | -2/+7 | |
| | | | | This is also required if charon-cmd is used with capability dropping. | |||||
* | min_MGF_hash_calls parameter is not needed anymore | Andreas Steffen | 2013-12-07 | 2 | -18/+0 | |
| | ||||||
* | Optimized MGF1 implementation | Andreas Steffen | 2013-12-07 | 1 | -8/+13 | |
| | ||||||
* | Implemented ntru_trits class | Andreas Steffen | 2013-12-07 | 8 | -291/+292 | |
| | ||||||
* | Streamlined DRBG and MGF1 debug output | Andreas Steffen | 2013-12-07 | 3 | -14/+20 | |
| | ||||||
* | Added own MGF1 mask generating function | Andreas Steffen | 2013-12-05 | 10 | -436/+536 | |
| | ||||||
* | unit-tests: Export ntru_drbg_create as testable function so no linking is ↵ | Tobias Brunner | 2013-12-04 | 1 | -5/+7 | |
| | | | | | | | | required This way the plugin does not have to be linked explicitly to the test runner, which otherwise would require that the plugin is either always enabled to build the tests or that ifdefs are added to the Makefile. | |||||
* | unit-tests: Move ntru_test_rng_t to a utility class in libtest | Tobias Brunner | 2013-12-04 | 3 | -137/+0 | |
| | ||||||
* | ntru: Fix compiler warning caused by ++/-- on righthand side of an assignment | Tobias Brunner | 2013-12-04 | 1 | -4/+4 | |
| | | | | The behavior of stuff like x = --x; (or x++) is not defined. | |||||
* | Added DRBG automatic reseeding tests | Andreas Steffen | 2013-11-27 | 1 | -2/+2 | |
| | ||||||
* | Use strongSwan hash plugins for SHA-1 and SHA-256 | Andreas Steffen | 2013-11-27 | 20 | -2764/+178 | |
| | ||||||
* | Cleaned up ntru-crypto library | Andreas Steffen | 2013-11-27 | 11 | -474/+8 | |
| | ||||||
* | Implemented NIST SP 800-90A DRBG_HMAC with SHA-256 | Andreas Steffen | 2013-11-27 | 14 | -1533/+550 | |
| | ||||||
* | unit-tests: Added ntru wrong ciphertext test | Andreas Steffen | 2013-11-27 | 1 | -0/+1 | |
| | ||||||
* | unit-tests: Added ntru entropy, retransmission and ciphertext tests | Andreas Steffen | 2013-11-27 | 1 | -0/+5 | |
| | ||||||
* | Any of the four NTRU parameter sets can be selected | Andreas Steffen | 2013-11-27 | 2 | -45/+76 | |
| | ||||||
* | Make the NTRU parameter set configurable | Andreas Steffen | 2013-11-27 | 1 | -14/+47 | |
| | ||||||
* | unit-tests: first NTRU test case | Andreas Steffen | 2013-11-27 | 1 | -1/+1 | |
| | ||||||
* | Prototype implementation of IKE key exchange via NTRU encryption | Andreas Steffen | 2013-11-27 | 35 | -0/+9332 | |
| | ||||||
* | openssl: Verify that a peer's ECDH public value is a point on the elliptic curve | Tobias Brunner | 2013-11-19 | 1 | -0/+5 | |
| | | | | | This check is mandated by RFC 6989. Since we don't reuse DH secrets, it is mostly a sanity check. |