summaryrefslogtreecommitdiff
path: root/cipher.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-08-19 14:23:51 +0100
committerColin Watson <cjwatson@debian.org>2015-08-19 16:48:11 +0100
commit0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch)
treeba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /cipher.h
parentf2a5f5dae656759efb0b76c3d94890b65c197a02 (diff)
parent8698446b972003b63dfe5dcbdb86acfe986afb85 (diff)
New upstream release (6.8p1).
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,