X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/70fc1609b4be970401facdbde34887a3633dd908..9300be60be71b56cfa3ee5bf6bb2e9239abb1ae2:/cipher.h diff --git a/cipher.h b/cipher.h index b800c961..fc7f6dd0 100644 --- a/cipher.h +++ b/cipher.h @@ -1,3 +1,5 @@ +/* $OpenBSD: cipher.h,v 1.33 2002/03/18 17:13:15 markus Exp $ */ + /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -32,8 +34,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* RCSID("$OpenBSD: cipher.h,v 1.31 2002/02/18 13:05:32 markus Exp $"); */ - #ifndef CIPHER_H #define CIPHER_H @@ -81,4 +81,11 @@ void cipher_cleanup(CipherContext *); void cipher_set_key_string(CipherContext *, Cipher *, const char *, int); u_int cipher_blocksize(Cipher *); u_int cipher_keylen(Cipher *); + +u_int cipher_get_number(Cipher *); +void cipher_get_keyiv(CipherContext *, u_char *, u_int); +void cipher_set_keyiv(CipherContext *, u_char *); +int cipher_get_keyiv_len(CipherContext *); +int cipher_get_keycontext(CipherContext *, u_char *); +void cipher_set_keycontext(CipherContext *, u_char *); #endif /* CIPHER_H */