summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-10-11 20:27:25 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-10-11 20:27:25 +0000
commit41fa797508372b9ae735bffb7452ac956736cecc (patch)
treef6e2d3a681145bcc6d27537ace3b862e57e9d721 /usr.bin/ssh/kex.h
parentb0db21bafca83b9f300b0f6004b89abd7fc38dcf (diff)
new cipher framework
Diffstat (limited to 'usr.bin/ssh/kex.h')
-rw-r--r--usr.bin/ssh/kex.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/ssh/kex.h b/usr.bin/ssh/kex.h
index 36af701e495..93c77cac062 100644
--- a/usr.bin/ssh/kex.h
+++ b/usr.bin/ssh/kex.h
@@ -59,22 +59,20 @@ typedef struct Comp Comp;
typedef struct Enc Enc;
struct Enc {
+ char *name;
int type;
+ Cipher *cipher;
int enabled;
- int block_size;
unsigned char *key;
unsigned char *iv;
- int key_len;
- int iv_len;
- char *name;
};
struct Mac {
- EVP_MD *md;
+ char *name;
int enabled;
+ EVP_MD *md;
int mac_len;
unsigned char *key;
int key_len;
- char *name;
};
struct Comp {
int type;