aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Added not-yet used sa_payload parameters used in IKEv1Martin Willi2012-03-202-10/+170
| | |
| | * IKEv1 XAuth: Add XAUTH authentication types to the enum. Added the ability ↵Clavister OpenSource2012-03-201-0/+17
| | | | | | | | | | | | to switch between hardcoded PSK and XAUTH_INIT_PSK authentications using a flag, default to PSK.
| | * IKEv1 ConfigMode: Fix configuration_attribute encoding rules for IKEv1 to ↵Clavister OpenSource2012-03-201-1/+1
| | | | | | | | | | | | use the attribute type instead of the internal only payload type.
| | * IKEv1 ConfigMode: Fixed cp_payload to use CONFIGURATION_ATTRIBUTE_V1 in all ↵Clavister OpenSource2012-03-203-1/+3
| | | | | | | | | | | | appropriate places, so the parsing is done correctly.
| | * Removed redundant '=>' when logging binary data in parser and generator.Tobias Brunner2012-03-202-6/+6
| | |
| | * Fixed encryption of IKEv2 messages.Tobias Brunner2012-03-201-2/+2
| | |
| | * Print message payload names after prepending IKEv1 HASH payloadMartin Willi2012-03-201-2/+2
| | |
| | * Include hardcoded tunnel mode attribute in porposal, remove ESN attributeMartin Willi2012-03-201-2/+2
| | |
| | * Authenticate and verify Phase 2 IKEv1 messages with appropriate hashes.Tobias Brunner2012-03-201-2/+44
| | |
| | * Fixed verification of DELETE_V1 payloads.Tobias Brunner2012-03-201-4/+13
| | |
| | * Fixed header length calculation of DELETE payload.Tobias Brunner2012-03-201-6/+6
| | |
| | * Fixed conftests after extending CERT payload.Tobias Brunner2012-03-201-2/+4
| | |
| | * Merged IKEv1 attribute payload/data into configuration payload/attributeMartin Willi2012-03-2011-787/+249
| | |
| | * IKEv1 ConfigMode: Added the payload handlers for attribute_payload and ↵Clavister OpenSource2012-03-204-0/+672
| | | | | | | | | | | | data_attribute payload types.
| | * IKEv1 ConfigMode: Added TRANSACTION exchange type. Added attribute_payload ↵Clavister OpenSource2012-03-205-20/+76
| | | | | | | | | | | | (IKEv2 equiv cp_payload) and data_attribute (IKEv2 equiv configuration_attribute) payload types. Did not combine with IKEv2 because it wasn't trivial to do so. This might be a task worth investigating in the future, because there is a decent amount of shared code here.
| | * Updated the CERT payload to work for both IKEv1 and IKEv2.Clavister OpenSource2012-03-202-14/+25
| | |
| | * Parse proposal substructure with multiple IKEv1 transforms to multiple proposalsMartin Willi2012-03-203-34/+33
| | |
| | * Encode multiple IKEv1 proposals in a single transform substructureMartin Willi2012-03-203-13/+74
| | |
| | * Remove public sa_payload.add_proposal() methodMartin Willi2012-03-202-18/+12
| | |
| | * Only add the first algorithm of a kind to IKEv1 transformsMartin Willi2012-03-201-4/+4
| | |
| | * Hardcode some SA lifetimes until we can configure them dynamicallyMartin Willi2012-03-201-0/+12
| | |
| | * Added missing comma after ME_CONNECT declaration.Tobias Brunner2012-03-201-13/+14
| | |
| | * Fixed creation of endpoint notifies.Tobias Brunner2012-03-201-1/+1
| | |
| | * Fixed diagram of IKEv1 encrypted "payload".Tobias Brunner2012-03-201-2/+0
| | |
| | * Partially implemented IKEv1 ESP proposal en-/decodingMartin Willi2012-03-201-2/+73
| | |
| | * Register HASH_V1 in payload factoryMartin Willi2012-03-201-0/+3
| | |
| | * Fix payload length of id_payload created from a traffic selectorMartin Willi2012-03-201-0/+1
| | |
| | * String for ENCRYPTED_DATA fixed.Tobias Brunner2012-03-201-1/+1
| | |
| | * Strings for ENCRYPTED_V1 payload added.Tobias Brunner2012-03-201-10/+14
| | |
| | * Set flags on message according to IKE version when parsing header.Tobias Brunner2012-03-201-2/+8
| | |
| | * Encrypt IKEv1 messages.Tobias Brunner2012-03-201-17/+66
| | |
| | * Decrypt IKEv1 messages.Tobias Brunner2012-03-201-3/+43
| | |
| | * Use modified encryption payload to encrypt/decrypt complete IKEv1 messages.Tobias Brunner2012-03-208-15/+156
| | |
| | * Provide keymat_t to message_t to encrypt/decrypt data.Tobias Brunner2012-03-202-14/+15
| | |
| | * Avoid compiler warnings due to extended enums.Tobias Brunner2012-03-202-2/+2
| | |
| | * Print message ID as unsigned integerMartin Willi2012-03-201-1/+1
| | |
| | * Added message encoding rules for quick modeMartin Willi2012-03-201-0/+65
| | |
| | * Fixed length calculation of delete payloadMartin Willi2012-03-201-3/+5
| | |
| | * Update header length after each parsed rule, as it might change when parsing ↵Martin Willi2012-03-201-2/+3
| | | | | | | | | | | | SPI size
| | * Fix rule selection in transform substructureMartin Willi2012-03-201-1/+1
| | |
| | * Fixed proposal numbering check in sa_payloadMartin Willi2012-03-201-10/+0
| | |
| | * Don't clone chunk in message.get_packet_dataMartin Willi2012-03-202-3/+3
| | |
| | * Verify IKEv1 nonce size, send 32 byte noncesMartin Willi2012-03-201-1/+20
| | |
| | * Added IKEv1 ID payload <-> traffic selector conversion functionsMartin Willi2012-03-202-4/+158
| | |
| | * Re-enable static inclusion of PSK auth method into IKEv1 proposalMartin Willi2012-03-201-2/+2
| | |
| | * Added IKEv1 support to delete payloadMartin Willi2012-03-203-18/+80
| | |
| | * Added IKEv1 support to notify payloadMartin Willi2012-03-207-80/+171
| | |
| | * Use a generic list encoding rule we can use to specify the wrapped payload typeMartin Willi2012-03-209-179/+77
| | |
| | * Use a generic encoding type for all variable length chunksMartin Willi2012-03-2018-199/+23
| | |
| | * Implemented IKEv1 hash payloadMartin Willi2012-03-206-0/+250
| | |