diff options
Diffstat (limited to 'cipher.h')
-rw-r--r-- | cipher.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||
75 | typedef struct sshcipher Cipher ; | 75 | typedef struct sshcipher Cipher; |
76 | typedef struct sshcipher_ctx CipherContext ; | 76 | typedef struct sshcipher_ctx CipherContext; |
77 | 77 | ||
78 | u_int cipher_mask_ssh1(int); | 78 | u_int cipher_mask_ssh1(int); |
79 | const struct sshcipher *cipher_by_name(const char *); | 79 | const struct sshcipher *cipher_by_name(const char *); |
80 | const struct sshcipher *cipher_by_number(int); | 80 | const struct sshcipher *cipher_by_number(int); |
81 | int cipher_number(const char *); | 81 | int cipher_number(const char *); |
82 | char *cipher_name(int); | 82 | char *cipher_name(int); |
83 | const char *cipher_warning_message(const struct sshcipher_ctx *); | ||
83 | int ciphers_valid(const char *); | 84 | int ciphers_valid(const char *); |
84 | char *cipher_alg_list(char, int); | 85 | char *cipher_alg_list(char, int); |
85 | int cipher_init(struct sshcipher_ctx *, const struct sshcipher *, | 86 | int 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); |
87 | const char* cipher_warning_message(const struct sshcipher_ctx *); | ||
88 | int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *, | 88 | int 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); |
90 | int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int, | 90 | int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int, |