aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid problems with Doxygen by adding warn_unused_result attribute at the ↵Tobias Brunner2012-08-119-61/+57
| | | | end of method signatures
* Add warn_unused_result attributes to rng_(get|allocate)_bytes_not_zeroTobias Brunner2012-08-111-5/+6
| | | | Also fixed Doxygen comments.
* Move MODP_CUSTOM va_arg fetching out of loopMartin Willi2012-08-021-15/+11
| | | | It seems problematic at least on PPC with gcc 4.3, fixes #208.
* Add short names for hasher algorithmsMartin Willi2012-07-172-0/+18
|
* Test reset() of hasher in crypto testerMartin Willi2012-07-161-1/+9
|
* Refactored error handling in crypto testerMartin Willi2012-07-161-95/+114
|
* Set a key before benching PRFsMartin Willi2012-07-161-1/+8
|
* Add a return value to hasher_t.reset()Martin Willi2012-07-161-1/+4
|
* Add a return value to hasher_t.allocate_hash()Martin Willi2012-07-163-8/+14
|
* Add a return value to hasher_t.get_hash()Martin Willi2012-07-162-7/+15
|
* Add a return value to crypter_t.set_key()Martin Willi2012-07-164-14/+17
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-164-8/+21
|
* Add a return value to crypter_t.encryptMartin Willi2012-07-164-9/+30
|
* Identation fixes, warn about unused nonce_gen return valuesMartin Willi2012-07-161-2/+4
|
* Add a return value to mac_t.set_key()Martin Willi2012-07-163-5/+5
|
* Add a return value to mac_t.get_bytes()Martin Willi2012-07-163-27/+23
|
* Wrapper functions added to generate non-zero random bytesTobias Brunner2012-07-162-0/+68
|
* Check rng return value when generating key and IV in PKCS#7 wrapperTobias Brunner2012-07-161-2/+14
|
* Check rng return value in crypto testerTobias Brunner2012-07-161-15/+17
|
* RNGs' get_bytes and allocate_bytes return booleanTobias Brunner2012-07-161-2/+7
|
* Nonce: Let get_nonce, allocate_nonce return booleanReto Buerki2012-07-161-2/+4
|
* Add a return value to prf_t.set_key()Martin Willi2012-07-163-5/+17
|
* Add a return value to prf_t.allocate_bytes()Martin Willi2012-07-163-5/+11
|
* Add a return value to prf_t.get_bytes()Martin Willi2012-07-164-16/+46
|
* prf_plus_create() can return NULL on failureMartin Willi2012-07-161-1/+1
|
* Add a return value to prf_plus_t.get_bytes()Martin Willi2012-07-162-7/+7
|
* Add a return value to prf_plus_t.allocate_bytes()Martin Willi2012-07-162-2/+5
|
* Add a return value to signer_t.set_key()Martin Willi2012-07-164-6/+17
|
* Add a return value to signer_t.get_signature()Martin Willi2012-07-164-13/+37
|
* Add a return value to signer_t.allocate_signature()Martin Willi2012-07-164-5/+18
|
* Add a return value to aead_t.set_key()Martin Willi2012-07-163-4/+14
|
* Add a return value to aead_t.encrypt()Martin Willi2012-07-163-10/+23
|
* Make the hmac_t interface a generic interface for message authentication codesTobias Brunner2012-06-255-70/+69
|
* Function to convert PRFs to hash algorithms addedTobias Brunner2012-06-252-0/+39
|
* hasher_algorithm_from_integrity() optionally returns truncation lengthTobias Brunner2012-06-252-6/+43
|
* Simple wrappers for HMAC based prf_t and signer_t implementations addedTobias Brunner2012-06-255-0/+392
|
* Doxygen fix in PKCS#7 wrapperTobias Brunner2012-06-191-1/+1
|
* Added function to convert integrity algorithms to hash algorithms (if based ↵Tobias Brunner2012-06-112-4/+50
| | | | on one).
* Changed memory management and call logic in PKCS#7 parser/generator.Tobias Brunner2012-06-112-85/+86
|
* Changed memory management and attribute handling in PKCS#9 wrapper.Tobias Brunner2012-06-113-112/+40
|
* Added get_attributes() method to pkcs7_t.Tobias Brunner2012-06-112-1/+15
|
* Updated PKCS#7 parser/generator in libstrongswan.Tobias Brunner2012-06-112-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 deregistrationMartin Willi2012-05-211-1/+1
|
* Add enumerator for registered nonce generators.Tobias Brunner2012-05-182-9/+33
|
* Add nonce generator interfaceAdrian-Ken Rueegsegger2012-05-183-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 Willi2012-05-141-1/+1
|
* Merge branch 'ikev1'Martin Willi2012-05-022-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-masterMartin Willi2012-03-202-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 bitsMartin Willi2012-03-201-1/+1
| | |
| | * Compiler warning fixed in prf_plus_t.Tobias Brunner2012-03-201-5/+5
| | |