]> andersk Git - openssh.git/blobdiff - cipher.h
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / cipher.h
index 74b3669fd08a66aa4e3037b8caba31cb27c20fce..3dd2270bbe9e52f534a8dfc4cc6f092e53cd8451 100644 (file)
--- a/cipher.h
+++ b/cipher.h
@@ -1,4 +1,4 @@
-/*     $OpenBSD: cipher.h,v 1.34 2003/11/10 16:23:41 jakob Exp $       */
+/* $OpenBSD: cipher.h,v 1.37 2009/01/26 09:58:15 markus Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -43,7 +43,7 @@
  * be removed for compatibility.  The maximum allowed value is 31.
  */
 #define SSH_CIPHER_SSH2                -3
-#define SSH_CIPHER_ILLEGAL     -2      /* No valid cipher selected. */
+#define SSH_CIPHER_INVALID     -2      /* No valid cipher selected. */
 #define SSH_CIPHER_NOT_SET     -1      /* None selected (invalid number). */
 #define SSH_CIPHER_NONE                0       /* no encryption */
 #define SSH_CIPHER_IDEA                1       /* IDEA CFB */
@@ -81,6 +81,7 @@ void   cipher_cleanup(CipherContext *);
 void    cipher_set_key_string(CipherContext *, Cipher *, const char *, int);
 u_int   cipher_blocksize(const Cipher *);
 u_int   cipher_keylen(const Cipher *);
+u_int   cipher_is_cbc(const Cipher *);
 
 u_int   cipher_get_number(const Cipher *);
 void    cipher_get_keyiv(CipherContext *, u_char *, u_int);
This page took 0.033511 seconds and 4 git commands to generate.