diff options
Diffstat (limited to 'cipher.h')
-rw-r--r-- | cipher.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cipher.h,v 1.33 2002/03/18 17:13:15 markus Exp $ */ | 1 | /* $OpenBSD: cipher.h,v 1.34 2003/11/10 16:23:41 jakob Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -79,13 +79,13 @@ void cipher_init(CipherContext *, Cipher *, const u_char *, u_int, | |||
79 | void cipher_crypt(CipherContext *, u_char *, const u_char *, u_int); | 79 | void cipher_crypt(CipherContext *, u_char *, const u_char *, u_int); |
80 | void cipher_cleanup(CipherContext *); | 80 | void cipher_cleanup(CipherContext *); |
81 | void cipher_set_key_string(CipherContext *, Cipher *, const char *, int); | 81 | void cipher_set_key_string(CipherContext *, Cipher *, const char *, int); |
82 | u_int cipher_blocksize(Cipher *); | 82 | u_int cipher_blocksize(const Cipher *); |
83 | u_int cipher_keylen(Cipher *); | 83 | u_int cipher_keylen(const Cipher *); |
84 | 84 | ||
85 | u_int cipher_get_number(Cipher *); | 85 | u_int cipher_get_number(const Cipher *); |
86 | void cipher_get_keyiv(CipherContext *, u_char *, u_int); | 86 | void cipher_get_keyiv(CipherContext *, u_char *, u_int); |
87 | void cipher_set_keyiv(CipherContext *, u_char *); | 87 | void cipher_set_keyiv(CipherContext *, u_char *); |
88 | int cipher_get_keyiv_len(CipherContext *); | 88 | int cipher_get_keyiv_len(const CipherContext *); |
89 | int cipher_get_keycontext(CipherContext *, u_char *); | 89 | int cipher_get_keycontext(const CipherContext *, u_char *); |
90 | void cipher_set_keycontext(CipherContext *, u_char *); | 90 | void cipher_set_keycontext(CipherContext *, u_char *); |
91 | #endif /* CIPHER_H */ | 91 | #endif /* CIPHER_H */ |