summaryrefslogtreecommitdiff
path: root/cipher.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:39:44 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:39:44 +0000
commit212facacdeae1b5c004860500b03ee33dc5a2240 (patch)
treed0d490cf069962084b64ab811a05c7814681cabd /cipher.h
parentb481e1323e305a0de4934b3341b4f0d5fe759cea (diff)
- 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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cipher.h b/cipher.h
index b3b0303c7..fc7f6dd0f 100644
--- a/cipher.h
+++ b/cipher.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher.h,v 1.32 2002/03/04 17:27:39 stevesk Exp $ */ 1/* $OpenBSD: cipher.h,v 1.33 2002/03/18 17:13:15 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -81,4 +81,11 @@ void cipher_cleanup(CipherContext *);
81void cipher_set_key_string(CipherContext *, Cipher *, const char *, int); 81void cipher_set_key_string(CipherContext *, Cipher *, const char *, int);
82u_int cipher_blocksize(Cipher *); 82u_int cipher_blocksize(Cipher *);
83u_int cipher_keylen(Cipher *); 83u_int cipher_keylen(Cipher *);
84
85u_int cipher_get_number(Cipher *);
86void cipher_get_keyiv(CipherContext *, u_char *, u_int);
87void cipher_set_keyiv(CipherContext *, u_char *);
88int cipher_get_keyiv_len(CipherContext *);
89int cipher_get_keycontext(CipherContext *, u_char *);
90void cipher_set_keycontext(CipherContext *, u_char *);
84#endif /* CIPHER_H */ 91#endif /* CIPHER_H */