diff options
Diffstat (limited to 'cipher.h')
-rw-r--r-- | cipher.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 | ||
107 | u_int cipher_mask_ssh1(int); | 107 | u_int cipher_mask_ssh1(int); |
108 | Cipher *cipher_by_name(const char *); | 108 | Cipher *cipher_by_name(const char *); |
109 | Cipher *cipher_by_number(int); | 109 | Cipher *cipher_by_number(int); |
110 | int cipher_number(const char *); | 110 | int cipher_number(const char *); |
111 | char *cipher_name(int); | 111 | char *cipher_name(int); |
112 | int ciphers_valid(const char *); | 112 | int ciphers_valid(const char *); |
113 | void cipher_init(CipherContext *, Cipher *, const u_char *, u_int, | 113 | void cipher_init(CipherContext *, Cipher *, const u_char *, u_int, |
114 | const u_char *, u_int); | 114 | const u_char *, u_int); |
115 | void cipher_encrypt(CipherContext *, u_char *, const u_char *, u_int); | 115 | void cipher_encrypt(CipherContext *, u_char *, const u_char *, u_int); |
116 | void cipher_decrypt(CipherContext *, u_char *, const u_char *, u_int); | 116 | void cipher_decrypt(CipherContext *, u_char *, const u_char *, u_int); |
117 | void cipher_set_key_string(CipherContext *, Cipher *, const char *); | 117 | void cipher_set_key_string(CipherContext *, Cipher *, const char *); |
118 | 118 | ||
119 | #endif /* CIPHER_H */ | 119 | #endif /* CIPHER_H */ |