summaryrefslogtreecommitdiff
path: root/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher.h')
-rw-r--r--cipher.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/cipher.h b/cipher.h
index 16dd06230..1b79d4d69 100644
--- a/cipher.h
+++ b/cipher.h
@@ -32,7 +32,7 @@
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34 34
35/* RCSID("$OpenBSD: cipher.h,v 1.27 2001/06/26 06:32:49 itojun Exp $"); */ 35/* RCSID("$OpenBSD: cipher.h,v 1.28 2001/06/26 17:27:23 markus Exp $"); */
36 36
37#ifndef CIPHER_H 37#ifndef CIPHER_H
38#define CIPHER_H 38#define CIPHER_H
@@ -104,16 +104,16 @@ struct Cipher {
104 void (*decrypt)(CipherContext *, u_char *, const u_char *, u_int); 104 void (*decrypt)(CipherContext *, u_char *, const u_char *, u_int);
105}; 105};
106 106
107u_int cipher_mask_ssh1(int); 107u_int cipher_mask_ssh1(int);
108Cipher *cipher_by_name(const char *); 108Cipher *cipher_by_name(const char *);
109Cipher *cipher_by_number(int); 109Cipher *cipher_by_number(int);
110int cipher_number(const char *); 110int cipher_number(const char *);
111char *cipher_name(int); 111char *cipher_name(int);
112int ciphers_valid(const char *); 112int ciphers_valid(const char *);
113void cipher_init(CipherContext *, Cipher *, const u_char *, u_int, 113void cipher_init(CipherContext *, Cipher *, const u_char *, u_int,
114 const u_char *, u_int); 114 const u_char *, u_int);
115void cipher_encrypt(CipherContext *, u_char *, const u_char *, u_int); 115void cipher_encrypt(CipherContext *, u_char *, const u_char *, u_int);
116void cipher_decrypt(CipherContext *, u_char *, const u_char *, u_int); 116void cipher_decrypt(CipherContext *, u_char *, const u_char *, u_int);
117void cipher_set_key_string(CipherContext *, Cipher *, const char *); 117void cipher_set_key_string(CipherContext *, Cipher *, const char *);
118 118
119#endif /* CIPHER_H */ 119#endif /* CIPHER_H */