diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:46:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:46:56 +0000 |
commit | 4cc240dabbd81a308f06f2717b1942041fe0e205 (patch) | |
tree | 07291c8c2c467fc2ecec9166ed0d8ec1e75631a3 /cipher.h | |
parent | 5bf5d67d497ed91c19851db6b904d54003afe67e (diff) |
- markus@cvs.openbsd.org 2001/06/26 17:27:25
[authfd.h authfile.h auth.h auth-options.h bufaux.h buffer.h
canohost.h channels.h cipher.h clientloop.h compat.h compress.h
crc32.h deattack.h dh.h dispatch.h groupaccess.c groupaccess.h
hostfile.h kex.h key.h log.c log.h mac.h misc.c misc.h mpaux.h
packet.h radix.h readconf.h readpass.h rsa.h servconf.h serverloop.h
session.h sftp-common.c sftp-common.h sftp-glob.h sftp-int.h
sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h sshtty.h
tildexpand.h uidswap.h uuencode.h xmalloc.h]
remove comments from .h, since they are cut&paste from the .c files
and out of sync
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 */ |