diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-09 16:28:15 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-09 16:28:54 +0100 |
commit | 7286aff2c39a52ab9a92a815dd54d21dd7ed6871 (patch) | |
tree | 33785f5858daff9b4c5de502058cc4a7c0e87296 /src/handshake.h | |
parent | b3dc95b4bef3bbc106b8812daebe4b980e8908cf (diff) | |
download | fastd-7286aff2c39a52ab9a92a815dd54d21dd7ed6871.tar fastd-7286aff2c39a52ab9a92a815dd54d21dd7ed6871.zip |
Move protocol-specific TLV specifications to main handshake record enum
Diffstat (limited to 'src/handshake.h')
-rw-r--r-- | src/handshake.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/handshake.h b/src/handshake.h index a704782..8d5795c 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -47,11 +47,11 @@ typedef enum fastd_handshake_record_type { RECORD_FLAGS, /**< The flags field */ RECORD_MODE, /**< The mode field */ RECORD_PROTOCOL_NAME, /**< The handshake protocol */ - RECORD_PROTOCOL1, /**< Protocol-specific value 1 */ - RECORD_PROTOCOL2, /**< Protocol-specific value 2 */ - RECORD_PROTOCOL3, /**< Protocol-specific value 3 */ - RECORD_PROTOCOL4, /**< Protocol-specific value 4 */ - RECORD_PROTOCOL5, /**< Protocol-specific value 5 */ + RECORD_SENDER_KEY, /**< Sender public key */ + RECORD_RECIPIENT_KEY, /**< Recipient public key */ + RECORD_SENDER_HANDSHAKE_KEY, /**< Sender ephemeral public key */ + RECORD_RECIPIENT_HANDSHAKE_KEY, /**< Recipient ephemeral public key */ + RECORD_HANDSHAKE_TAG, /**< pre-v11 compat handshake authentication tag */ RECORD_MTU, /**< MTU field */ RECORD_METHOD_NAME, /**< The default/chosen method */ RECORD_VERSION_NAME, /**< The fastd version */ |