summaryrefslogtreecommitdiff
path: root/cipher.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-14 10:24:42 +0000
committerDamien Miller <djm@mindrot.org>2015-01-14 21:32:54 +1100
commit60c2c4ea5e1ad0ddfe8b2877b78ed5143be79c53 (patch)
tree55c765df3aed7aedbdd5bcd2a4d3d82e71280820 /cipher.h
parent128343bcdb0b60fc826f2733df8cf979ec1627b4 (diff)
upstream commit
remove unneeded includes, sync my copyright across files & whitespace; ok djm@
Diffstat (limited to 'cipher.h')
-rw-r--r--cipher.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cipher.h b/cipher.h
index de74c1e3b..62a88b42e 100644
--- a/cipher.h
+++ b/cipher.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher.h,v 1.46 2014/06/24 01:13:21 djm Exp $ */ 1/* $OpenBSD: cipher.h,v 1.47 2015/01/14 10:24:42 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -72,19 +72,19 @@ struct sshcipher_ctx {
72 const struct sshcipher *cipher; 72 const struct sshcipher *cipher;
73}; 73};
74 74
75typedef struct sshcipher Cipher ; 75typedef struct sshcipher Cipher;
76typedef struct sshcipher_ctx CipherContext ; 76typedef struct sshcipher_ctx CipherContext;
77 77
78u_int cipher_mask_ssh1(int); 78u_int cipher_mask_ssh1(int);
79const struct sshcipher *cipher_by_name(const char *); 79const struct sshcipher *cipher_by_name(const char *);
80const struct sshcipher *cipher_by_number(int); 80const struct sshcipher *cipher_by_number(int);
81int cipher_number(const char *); 81int cipher_number(const char *);
82char *cipher_name(int); 82char *cipher_name(int);
83const char *cipher_warning_message(const struct sshcipher_ctx *);
83int ciphers_valid(const char *); 84int ciphers_valid(const char *);
84char *cipher_alg_list(char, int); 85char *cipher_alg_list(char, int);
85int cipher_init(struct sshcipher_ctx *, const struct sshcipher *, 86int cipher_init(struct sshcipher_ctx *, const struct sshcipher *,
86 const u_char *, u_int, const u_char *, u_int, int); 87 const u_char *, u_int, const u_char *, u_int, int);
87const char* cipher_warning_message(const struct sshcipher_ctx *);
88int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *, 88int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *,
89 u_int, u_int, u_int); 89 u_int, u_int, u_int);
90int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int, 90int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int,