summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-04-07 02:02:06 +0000
committerChristian Pointner <equinox@anytun.org>2009-04-07 02:02:06 +0000
commitc3e9f547e8da6b20c314f3d61661407a65a6111a (patch)
treeb7add6770f35deb647c20f702421f02b734582d5 /src/cipher.h
parentupdated to new crypto label (diff)
removed anytun02 compat mode
Diffstat (limited to 'src/cipher.h')
-rw-r--r--src/cipher.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cipher.h b/src/cipher.h
index 8a7e65d..f53e412 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -54,14 +54,13 @@ typedef enum cipher_type_enum cipher_type_t;
struct cipher_struct {
cipher_type_t type_;
u_int16_t key_length_;
- int8_t anytun02_compat_;
buffer_t key_;
buffer_t salt_;
void* params_;
};
typedef struct cipher_struct cipher_t;
-int cipher_init(cipher_t* c, const char* type, int8_t anytun02_compat);
+int cipher_init(cipher_t* c, const char* type);
void cipher_close(cipher_t* c);
int cipher_encrypt(cipher_t* c, key_derivation_t* kd, key_derivation_dir_t dir, plain_packet_t* in, encrypted_packet_t* out, seq_nr_t seq_nr, sender_id_t sender_id, mux_t mux);