summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/kex.h b/kex.h
index b1b20f500..8e29c90e9 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.44 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: kex.h,v 1.46 2007/06/07 19:37:34 pvalchev Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -28,6 +28,7 @@
28 28
29#include <signal.h> 29#include <signal.h>
30#include <openssl/evp.h> 30#include <openssl/evp.h>
31#include <openssl/hmac.h>
31 32
32#define KEX_DH1 "diffie-hellman-group1-sha1" 33#define KEX_DH1 "diffie-hellman-group1-sha1"
33#define KEX_DH14 "diffie-hellman-group14-sha1" 34#define KEX_DH14 "diffie-hellman-group14-sha1"
@@ -86,10 +87,13 @@ struct Enc {
86struct Mac { 87struct Mac {
87 char *name; 88 char *name;
88 int enabled; 89 int enabled;
89 const EVP_MD *md;
90 u_int mac_len; 90 u_int mac_len;
91 u_char *key; 91 u_char *key;
92 u_int key_len; 92 u_int key_len;
93 int type;
94 const EVP_MD *evp_md;
95 HMAC_CTX evp_ctx;
96 struct umac_ctx *umac_ctx;
93}; 97};
94struct Comp { 98struct Comp {
95 int type; 99 int type;