diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | cipher.c | 18 | ||||
-rw-r--r-- | compat.c | 4 | ||||
-rw-r--r-- | myproposal.h | 6 |
4 files changed, 10 insertions, 24 deletions
@@ -215,6 +215,10 @@ | |||
215 | [sshconnect.c] | 215 | [sshconnect.c] |
216 | use read_passphrase+ECHO in confirm(), allows use of ssh-askpass | 216 | use read_passphrase+ECHO in confirm(), allows use of ssh-askpass |
217 | for hostkey confirm. | 217 | for hostkey confirm. |
218 | - markus@cvs.openbsd.org 2002/01/21 22:30:12 | ||
219 | [cipher.c compat.c myproposal.h] | ||
220 | remove "rijndael-*", just use "aes-" since this how rijndael is called | ||
221 | in the drafts; ok stevesk@ | ||
218 | 222 | ||
219 | 20020121 | 223 | 20020121 |
220 | - (djm) Rework ssh-rand-helper: | 224 | - (djm) Rework ssh-rand-helper: |
@@ -7362,4 +7366,4 @@ | |||
7362 | - Wrote replacements for strlcpy and mkdtemp | 7366 | - Wrote replacements for strlcpy and mkdtemp |
7363 | - Released 1.0pre1 | 7367 | - Released 1.0pre1 |
7364 | 7368 | ||
7365 | $Id: ChangeLog,v 1.1783 2002/01/22 12:34:12 djm Exp $ | 7369 | $Id: ChangeLog,v 1.1784 2002/01/22 12:34:35 djm Exp $ |
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: cipher.c,v 1.49 2002/01/18 18:14:17 stevesk Exp $"); | 38 | RCSID("$OpenBSD: cipher.c,v 1.50 2002/01/21 22:30:12 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "log.h" | 41 | #include "log.h" |
@@ -392,22 +392,6 @@ Cipher ciphers[] = { | |||
392 | SSH_CIPHER_SSH2, 16, 32, | 392 | SSH_CIPHER_SSH2, 16, 32, |
393 | rijndael_setkey, rijndael_setiv, | 393 | rijndael_setkey, rijndael_setiv, |
394 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, | 394 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, |
395 | { "rijndael128-cbc", | ||
396 | SSH_CIPHER_SSH2, 16, 16, | ||
397 | rijndael_setkey, rijndael_setiv, | ||
398 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, | ||
399 | { "rijndael192-cbc", | ||
400 | SSH_CIPHER_SSH2, 16, 24, | ||
401 | rijndael_setkey, rijndael_setiv, | ||
402 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, | ||
403 | { "rijndael256-cbc", | ||
404 | SSH_CIPHER_SSH2, 16, 32, | ||
405 | rijndael_setkey, rijndael_setiv, | ||
406 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, | ||
407 | { "rijndael-cbc@lysator.liu.se", | ||
408 | SSH_CIPHER_SSH2, 16, 32, | ||
409 | rijndael_setkey, rijndael_setiv, | ||
410 | rijndael_cbc_encrypt, rijndael_cbc_decrypt }, | ||
411 | { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL, NULL, NULL, NULL } | 395 | { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL, NULL, NULL, NULL } |
412 | }; | 396 | }; |
413 | 397 | ||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: compat.c,v 1.57 2002/01/13 17:57:37 markus Exp $"); | 26 | RCSID("$OpenBSD: compat.c,v 1.58 2002/01/21 22:30:12 markus Exp $"); |
27 | 27 | ||
28 | #include "buffer.h" | 28 | #include "buffer.h" |
29 | #include "packet.h" | 29 | #include "packet.h" |
@@ -193,7 +193,7 @@ compat_cipher_proposal(char *cipher_prop) | |||
193 | buffer_init(&b); | 193 | buffer_init(&b); |
194 | tmp = orig_prop = xstrdup(cipher_prop); | 194 | tmp = orig_prop = xstrdup(cipher_prop); |
195 | while ((cp = strsep(&tmp, ",")) != NULL) { | 195 | while ((cp = strsep(&tmp, ",")) != NULL) { |
196 | if (strncmp(cp, "aes", 3) && strncmp(cp, "rijndael", 8)) { | 196 | if (strncmp(cp, "aes", 3) != 0) { |
197 | if (buffer_len(&b) > 0) | 197 | if (buffer_len(&b) > 0) |
198 | buffer_append(&b, ",", 1); | 198 | buffer_append(&b, ",", 1); |
199 | buffer_append(&b, cp, strlen(cp)); | 199 | buffer_append(&b, cp, strlen(cp)); |
diff --git a/myproposal.h b/myproposal.h index 4a9a36370..1caf04a4e 100644 --- a/myproposal.h +++ b/myproposal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: myproposal.h,v 1.12 2001/03/05 15:56:16 deraadt Exp $ */ | 1 | /* $OpenBSD: myproposal.h,v 1.13 2002/01/21 22:30:12 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -27,9 +27,7 @@ | |||
27 | #define KEX_DEFAULT_PK_ALG "ssh-rsa,ssh-dss" | 27 | #define KEX_DEFAULT_PK_ALG "ssh-rsa,ssh-dss" |
28 | #define KEX_DEFAULT_ENCRYPT \ | 28 | #define KEX_DEFAULT_ENCRYPT \ |
29 | "aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour," \ | 29 | "aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour," \ |
30 | "aes192-cbc,aes256-cbc," \ | 30 | "aes192-cbc,aes256-cbc" |
31 | "rijndael128-cbc,rijndael192-cbc,rijndael256-cbc," \ | ||
32 | "rijndael-cbc@lysator.liu.se" | ||
33 | #define KEX_DEFAULT_MAC \ | 31 | #define KEX_DEFAULT_MAC \ |
34 | "hmac-md5,hmac-sha1,hmac-ripemd160," \ | 32 | "hmac-md5,hmac-sha1,hmac-ripemd160," \ |
35 | "hmac-ripemd160@openssh.com," \ | 33 | "hmac-ripemd160@openssh.com," \ |