Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Avoid problems with Doxygen by adding warn_unused_result attribute at the ↵ | Tobias Brunner | 2012-08-11 | 9 | -61/+57 | |
| | | | | end of method signatures | |||||
* | Add warn_unused_result attributes to rng_(get|allocate)_bytes_not_zero | Tobias Brunner | 2012-08-11 | 1 | -5/+6 | |
| | | | | Also fixed Doxygen comments. | |||||
* | Move MODP_CUSTOM va_arg fetching out of loop | Martin Willi | 2012-08-02 | 1 | -15/+11 | |
| | | | | It seems problematic at least on PPC with gcc 4.3, fixes #208. | |||||
* | Add short names for hasher algorithms | Martin Willi | 2012-07-17 | 2 | -0/+18 | |
| | ||||||
* | Test reset() of hasher in crypto tester | Martin Willi | 2012-07-16 | 1 | -1/+9 | |
| | ||||||
* | Refactored error handling in crypto tester | Martin Willi | 2012-07-16 | 1 | -95/+114 | |
| | ||||||
* | Set a key before benching PRFs | Martin Willi | 2012-07-16 | 1 | -1/+8 | |
| | ||||||
* | Add a return value to hasher_t.reset() | Martin Willi | 2012-07-16 | 1 | -1/+4 | |
| | ||||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 3 | -8/+14 | |
| | ||||||
* | Add a return value to hasher_t.get_hash() | Martin Willi | 2012-07-16 | 2 | -7/+15 | |
| | ||||||
* | Add a return value to crypter_t.set_key() | Martin Willi | 2012-07-16 | 4 | -14/+17 | |
| | ||||||
* | Add a return value to crypter_t.decrypt() | Martin Willi | 2012-07-16 | 4 | -8/+21 | |
| | ||||||
* | Add a return value to crypter_t.encrypt | Martin Willi | 2012-07-16 | 4 | -9/+30 | |
| | ||||||
* | Identation fixes, warn about unused nonce_gen return values | Martin Willi | 2012-07-16 | 1 | -2/+4 | |
| | ||||||
* | Add a return value to mac_t.set_key() | Martin Willi | 2012-07-16 | 3 | -5/+5 | |
| | ||||||
* | Add a return value to mac_t.get_bytes() | Martin Willi | 2012-07-16 | 3 | -27/+23 | |
| | ||||||
* | Wrapper functions added to generate non-zero random bytes | Tobias Brunner | 2012-07-16 | 2 | -0/+68 | |
| | ||||||
* | Check rng return value when generating key and IV in PKCS#7 wrapper | Tobias Brunner | 2012-07-16 | 1 | -2/+14 | |
| | ||||||
* | Check rng return value in crypto tester | Tobias Brunner | 2012-07-16 | 1 | -15/+17 | |
| | ||||||
* | RNGs' get_bytes and allocate_bytes return boolean | Tobias Brunner | 2012-07-16 | 1 | -2/+7 | |
| | ||||||
* | Nonce: Let get_nonce, allocate_nonce return boolean | Reto Buerki | 2012-07-16 | 1 | -2/+4 | |
| | ||||||
* | Add a return value to prf_t.set_key() | Martin Willi | 2012-07-16 | 3 | -5/+17 | |
| | ||||||
* | Add a return value to prf_t.allocate_bytes() | Martin Willi | 2012-07-16 | 3 | -5/+11 | |
| | ||||||
* | Add a return value to prf_t.get_bytes() | Martin Willi | 2012-07-16 | 4 | -16/+46 | |
| | ||||||
* | prf_plus_create() can return NULL on failure | Martin Willi | 2012-07-16 | 1 | -1/+1 | |
| | ||||||
* | Add a return value to prf_plus_t.get_bytes() | Martin Willi | 2012-07-16 | 2 | -7/+7 | |
| | ||||||
* | Add a return value to prf_plus_t.allocate_bytes() | Martin Willi | 2012-07-16 | 2 | -2/+5 | |
| | ||||||
* | Add a return value to signer_t.set_key() | Martin Willi | 2012-07-16 | 4 | -6/+17 | |
| | ||||||
* | Add a return value to signer_t.get_signature() | Martin Willi | 2012-07-16 | 4 | -13/+37 | |
| | ||||||
* | Add a return value to signer_t.allocate_signature() | Martin Willi | 2012-07-16 | 4 | -5/+18 | |
| | ||||||
* | Add a return value to aead_t.set_key() | Martin Willi | 2012-07-16 | 3 | -4/+14 | |
| | ||||||
* | Add a return value to aead_t.encrypt() | Martin Willi | 2012-07-16 | 3 | -10/+23 | |
| | ||||||
* | Make the hmac_t interface a generic interface for message authentication codes | Tobias Brunner | 2012-06-25 | 5 | -70/+69 | |
| | ||||||
* | 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 | |
| | ||||||
* | Simple wrappers for HMAC based prf_t and signer_t implementations added | Tobias Brunner | 2012-06-25 | 5 | -0/+392 | |
| | ||||||
* | Doxygen fix in PKCS#7 wrapper | Tobias Brunner | 2012-06-19 | 1 | -1/+1 | |
| | ||||||
* | Added function to convert integrity algorithms to hash algorithms (if based ↵ | Tobias Brunner | 2012-06-11 | 2 | -4/+50 | |
| | | | | on one). | |||||
* | 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 | |
| | ||||||
* | Updated PKCS#7 parser/generator in libstrongswan. | Tobias Brunner | 2012-06-11 | 2 | -201/+224 | |
| | | | | | Added some functionality from pluto's version, updated usage of asn1 and crypto primitives. It does compile but is not really tested yet. | |||||
* | Enumerate correct list while removing nonce_gens, fix deregistration | Martin Willi | 2012-05-21 | 1 | -1/+1 | |
| | ||||||
* | Add enumerator for registered nonce generators. | Tobias Brunner | 2012-05-18 | 2 | -9/+33 | |
| | ||||||
* | Add nonce generator interface | Adrian-Ken Rueegsegger | 2012-05-18 | 3 | -0/+142 | |
| | | | | | | | Nonce generators (nonce_gen_t) can be used to get or allocate nonces. Users can request nonce generators from the crypto factory while nonce plugins register/remove themselves to/from the crypto factory. | |||||
* | Use correct integrity_algorithm_t enum type in bench_signer() | Martin Willi | 2012-05-14 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'ikev1' | Martin Willi | 2012-05-02 | 2 | -65/+50 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c | |||||
| * | Merge branch 'ikev1-clean' into ikev1-master | Martin Willi | 2012-03-20 | 2 | -65/+50 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins. | |||||
| | * | Fixed IKEv1 prf+ keymat expansion beyond 320 bits | Martin Willi | 2012-03-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | Compiler warning fixed in prf_plus_t. | Tobias Brunner | 2012-03-20 | 1 | -5/+5 | |
| | | |