aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/generator.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-32/+32
|
* encoding: Don't explicitly include <arpa/inet.h>Martin Willi2014-06-041-1/+0
|
* payload: Use common prefixes for all payload type identifiersMartin Willi2014-06-041-9/+9
| | | | | The old identifiers did not use a proper namespace and often clashed with other defines.
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* inserted spaceAndreas Steffen2012-05-051-1/+1
|
* Merge branch 'ikev1'Martin Willi2012-05-021-48/+104
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Renamed CONFIGURATION_ATTRIBUTE_LENGTH to streamline it with other ATTRIBUTE ↵Martin Willi2012-03-201-3/+3
| | | | | | | | rules
| * Added an option to create a generator that does not log debug messages.Tobias Brunner2012-03-201-24/+88
| |
| * IKEv1 ConfigMode: Fixed cp_payload to use CONFIGURATION_ATTRIBUTE_V1 in all ↵Clavister OpenSource2012-03-201-0/+1
| | | | | | | | appropriate places, so the parsing is done correctly.
| * Removed redundant '=>' when logging binary data in parser and generator.Tobias Brunner2012-03-201-4/+4
| |
| * Use modified encryption payload to encrypt/decrypt complete IKEv1 messages.Tobias Brunner2012-03-201-0/+1
| |
| * Avoid compiler warnings due to extended enums.Tobias Brunner2012-03-201-1/+1
| |
| * Use a generic list encoding rule we can use to specify the wrapped payload typeMartin Willi2012-03-201-8/+8
| |
| * Use a generic encoding type for all variable length chunksMartin Willi2012-03-201-15/+1
| |
| * Implemented IKEv1 hash payloadMartin Willi2012-03-201-0/+1
| |
| * Simplify signature of get_encoding_rules(), make all rules staticMartin Willi2012-03-201-3/+2
| |
| * Extended KE payload for IKEv1 supportMartin Willi2012-03-201-0/+1
| |
| * Added SA payload IKEv1 encoding types to generatorMartin Willi2012-03-201-0/+3
| |
* | Don't cast second argument of mem_printf_hook (%b) to size_t.Tobias Brunner2012-03-271-1/+1
|/ | | | | | | | | | | | | Also treat the given number as unsigned int. Due to the printf hook registration the second argument of mem_printf_hook (if called via printf etc.) is always of type int*. Casting this to a size_t pointer and then dereferencing that as int does not work on big endian machines if int is smaller than size_t (e.g. on ppc64). In order to make this change work if the argument is of a type larger than int, size_t for instance, the second argument for %b has to be casted to (u_)int.
* Reserved field get parsed/generated like any other bit/byte fieldMartin Willi2011-01-051-55/+10
|
* Do not recalculate payload header length after generation, payloads do ↵Martin Willi2011-01-051-291/+19
| | | | length calculation
* Support encoding of UKNOWN_DATAMartin Willi2011-01-051-0/+4
|
* Use AEAD wrapper for encryption payload encryption/decryptionMartin Willi2010-08-191-17/+8
|
* Migrated generator_t to INIT/METHOD macrosMartin Willi2010-08-191-41/+32
|
* Moving charon to libcharon.Tobias Brunner2010-03-191-0/+888