diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
commit | a25ec0b132c44c9e341e08464ff830de06b81126 (patch) | |
tree | e20842d80f9e25cb6cf09525abea63f7bf655dd7 /kex.h | |
parent | 1b816ea846aca3ee89e7995373ace609e9518424 (diff) | |
parent | 70847d299887abb96f8703ca99db6d817b78960e (diff) |
import openssh-4.7p1-gsskex-20070927.patch
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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" |
@@ -89,10 +90,13 @@ struct Enc { | |||
89 | struct Mac { | 90 | struct Mac { |
90 | char *name; | 91 | char *name; |
91 | int enabled; | 92 | int enabled; |
92 | const EVP_MD *md; | ||
93 | u_int mac_len; | 93 | u_int mac_len; |
94 | u_char *key; | 94 | u_char *key; |
95 | u_int key_len; | 95 | u_int key_len; |
96 | int type; | ||
97 | const EVP_MD *evp_md; | ||
98 | HMAC_CTX evp_ctx; | ||
99 | struct umac_ctx *umac_ctx; | ||
96 | }; | 100 | }; |
97 | struct Comp { | 101 | struct Comp { |
98 | int type; | 102 | int type; |