diff options
author | mouring <mouring> | 2002-03-22 01:39:44 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-03-22 01:39:44 +0000 |
commit | 62dea679e7bd9e6238234c74369d51f1dfc68826 (patch) | |
tree | 5a12430e0842a04e5f1b20f9110877a65398e010 /cipher.h | |
parent | 6fe1ed9aa27e172fccb8394ba171d9fecba96e82 (diff) | |
download | openssh-62dea679e7bd9e6238234c74369d51f1dfc68826.tar.gz |
- markus@cvs.openbsd.org 2002/03/18 17:13:15
[cipher.c cipher.h]
export/import cipher states; needed by ssh-privsep
Diffstat (limited to 'cipher.h')
-rw-r--r-- | cipher.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: cipher.h,v 1.32 2002/03/04 17:27:39 stevesk Exp $ */ +/* $OpenBSD: cipher.h,v 1.33 2002/03/18 17:13:15 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -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 */ |