Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add an option to disable libstrongswan certificate caching | Martin Willi | 2012-07-09 | 1 | -18/+29 | |
| | ||||||
* | getpwnam_r and getgrnam_r are not supported by the Android NDK | Tobias Brunner | 2012-07-09 | 1 | -24/+69 | |
| | ||||||
* | Android.mk of libstrongswan updated | Tobias Brunner | 2012-07-09 | 1 | -0/+2 | |
| | ||||||
* | Refactored heavily #ifdefd capability code to its own libstrongswan class | Martin Willi | 2012-07-04 | 3 | -0/+358 | |
| | ||||||
* | Added wrapper for POSIX spin locks | Tobias Brunner | 2012-07-04 | 3 | -0/+191 | |
| | ||||||
* | Default to register_printf_specifier() if no printf hooking #defined | Martin Willi | 2012-07-03 | 1 | -0/+7 | |
| | | | | | | This allows us to build (non-./configured) external tools against libstrongswan without explicitly specifiying the most commonly used printf hooking function. | |||||
* | openssl: Ensure the thread ID is never zero | Tobias Brunner | 2012-07-03 | 1 | -1/+3 | |
| | | | | | | This might otherwise cause problems because OpenSSL tries to lock mutexes recursively if it assumes the lock is held by a different thread e.g. during FIPS initialization. | |||||
* | Accept non-"/0" subnet sizes for traffic selectors starting at 0.0.0.0 | Martin Willi | 2012-07-02 | 1 | -40/+9 | |
| | ||||||
* | Added GPL header to AndroidConfigLocal.h | Tobias Brunner | 2012-06-29 | 1 | -0/+15 | |
| | ||||||
* | Removed superfluous remove_hasher() call in md5 plugin | Tobias Brunner | 2012-06-29 | 1 | -2/+0 | |
| | ||||||
* | Defined a macro to replace strerror(3) with calls to thread-safe wrapper | Tobias Brunner | 2012-06-28 | 2 | -0/+7 | |
| | ||||||
* | Thread-safe wrapper around strerror(3)/strerror_r(3) added | Tobias Brunner | 2012-06-28 | 2 | -4/+92 | |
| | ||||||
* | gcrypt: Register SHA1 first as HASH_PREFERRED depends on it | Tobias Brunner | 2012-06-27 | 1 | -1/+1 | |
| | ||||||
* | Added MAC wrappers to Android.mk | Tobias Brunner | 2012-06-26 | 1 | -0/+3 | |
| | ||||||
* | Build nonce plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+3 | |
| | ||||||
* | Added support for the curl plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+6 | |
| | ||||||
* | Make rescheduling a job more predictable | Tobias Brunner | 2012-06-25 | 2 | -37/+85 | |
| | | | | | | | | | | | | | This avoids race conditions between calls to cancel() and jobs that like to be rescheduled. If jobs were able to reschedule themselves it would theoretically be possible that two worker threads have the same job assigned (the one currently executing the job and the one executing the same but rescheduled job if it already is time to execute it), this means that cancel() could be called twice for that job. Creating a new job based on the current one and reschedule that is also OK, but rescheduling itself is more efficient for jobs that need to be executed often. | |||||
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 7 | -223/+127 | |
| | | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation. | |||||
* | Give processor_t more control over the lifecycle of a job | Tobias Brunner | 2012-06-25 | 6 | -105/+176 | |
| | | | | | | | | | | | Jobs are now destroyed by the processor, but they are allowed to reschedule themselves. That is, parts of the reschedule functionality already provided by callback_job_t is moved to the processor. Not yet fully supported is JOB_REQUEUE_DIRECT and canceling jobs. Note: job_t.destroy() is now called not only for queued jobs but also after execution or cancellation of jobs. job_t.status can be used to decide what to do in said method. | |||||
* | Added a method to plugin_loader_t to add 'static' plugin features | Tobias Brunner | 2012-06-25 | 2 | -0/+115 | |
| | | | | | | | | This allows daemons and other components to register plugin features like those provided by plugins (following the same lifecycle). The added features are internally handled like they were added by a plugin. | |||||
* | Make sure that all features of critical plugins are loaded | Tobias Brunner | 2012-06-25 | 1 | -5/+64 | |
| | ||||||
* | Use mac_t and PRF and signer wrappers in cmac plugin | Tobias Brunner | 2012-06-25 | 8 | -443/+82 | |
| | ||||||
* | Use mac_t and PRF and signer wrappers in xcbc plugin | Tobias Brunner | 2012-06-25 | 8 | -452/+91 | |
| | ||||||
* | Make the hmac_t interface a generic interface for message authentication codes | Tobias Brunner | 2012-06-25 | 11 | -132/+131 | |
| | ||||||
* | Simplified creation of PRFs and signers in openssl and hmac plugins | Tobias Brunner | 2012-06-25 | 2 | -136/+10 | |
| | ||||||
* | Function to convert PRFs to hash algorithms added | Tobias Brunner | 2012-06-25 | 2 | -0/+39 | |
| | ||||||
* | hasher_algorithm_from_integrity() optionally returns truncation length | Tobias Brunner | 2012-06-25 | 2 | -6/+43 | |
| | ||||||
* | Use simple wrappers for HMAC based PRF and signer in openssl plugin | Tobias Brunner | 2012-06-25 | 8 | -562/+132 | |
| | ||||||
* | Use simple wrappers for HMAC based PRF and signer in hmac plugin | Tobias Brunner | 2012-06-25 | 8 | -524/+127 | |
| | ||||||
* | Simple wrappers for HMAC based prf_t and signer_t implementations added | Tobias Brunner | 2012-06-25 | 6 | -0/+395 | |
| | ||||||
* | Refactored OpenSSL based HMAC implementation | Tobias Brunner | 2012-06-25 | 5 | -173/+382 | |
| | ||||||
* | Adding OpenSSL HMAC signer functions to openssl plugin | Aleksandr Grinberg | 2012-06-25 | 4 | -1/+322 | |
| | ||||||
* | Adding OpenSSL HMAC pseudo random functions to openssl plugin | Aleksandr Grinberg | 2012-06-25 | 4 | -1/+245 | |
| | ||||||
* | Adding OpenSSL random number functions to openssl plugin | Aleksandr Grinberg | 2012-06-25 | 4 | -1/+159 | |
| | ||||||
* | Doxygen fix in PKCS#7 wrapper | Tobias Brunner | 2012-06-19 | 1 | -1/+1 | |
| | ||||||
* | Support multiple different public key strength types in constraints | Martin Willi | 2012-06-12 | 1 | -41/+38 | |
| | ||||||
* | Add signature schemes to auth_cfg during trustchain validation | Martin Willi | 2012-06-12 | 5 | -19/+45 | |
| | ||||||
* | certificate_t->issued_by takes an argument to receive signature scheme | Martin Willi | 2012-06-12 | 12 | -17/+61 | |
| | ||||||
* | Define auth_cfg rules for signature schemes | Martin Willi | 2012-06-12 | 2 | -0/+53 | |
| | ||||||
* | Implement strdupnull() macro as static inline function. | Tobias Brunner | 2012-06-11 | 1 | -1/+4 | |
| | | | | This avoids compiler warnings if the argument is a const char*. | |||||
* | Added function to convert integrity algorithms to hash algorithms (if based ↵ | Tobias Brunner | 2012-06-11 | 2 | -4/+50 | |
| | | | | on one). | |||||
* | Properly encode 0 in ASN.1. | Tobias Brunner | 2012-06-11 | 1 | -10/+7 | |
| | | | | | According to X.690 an INTEGER object always has at least one content octet. | |||||
* | Don't use chunk_skip() in asn1_length(). | Tobias Brunner | 2012-06-11 | 1 | -1/+2 | |
| | | | | | | | | chunk_skip() returns chunk_empty if the length of the chunk is equal to the number of bytes to skip, this is problematic as asn1_length() modifies the original chunk. asn1_parser_t for instance uses the modified chunk to later calculate the length of the resulting ASN.1 object which produces incorrect results if it is based on chunk_empty. | |||||
* | Changed memory management and call logic in PKCS#7 parser/generator. | Tobias Brunner | 2012-06-11 | 2 | -85/+86 | |
| | ||||||
* | Changed memory management and attribute handling in PKCS#9 wrapper. | Tobias Brunner | 2012-06-11 | 3 | -112/+40 | |
| | ||||||
* | Added get_attributes() method to pkcs7_t. | Tobias Brunner | 2012-06-11 | 2 | -1/+15 | |
| | ||||||
* | Log group added for applications other than daemons. | Tobias Brunner | 2012-06-11 | 2 | -0/+4 | |
| | ||||||
* | Updated PKCS#7 parser/generator in libstrongswan. | Tobias Brunner | 2012-06-11 | 4 | -201/+226 | |
| | | | | | Added some functionality from pluto's version, updated usage of asn1 and crypto primitives. It does compile but is not really tested yet. | |||||
* | Properly handle empty RDN values in DN strings. | Tobias Brunner | 2012-06-07 | 1 | -3/+11 | |
| | ||||||
* | Fixed return values of several functions (e.g. return FALSE for pointer types). | Tobias Brunner | 2012-05-31 | 6 | -8/+8 | |
| |