summaryrefslogtreecommitdiff
path: root/include/blf.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-02-16 20:54:29 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-02-16 20:54:29 +0000
commit49baa8ba0b6a320e6a4e08b13d02ba38f77f2e02 (patch)
tree70e8bba27d2f4f37a1a6b5e3dd6488b47579cb83 /include/blf.h
parent5ab46413028f3ff7deef7f8b7706f33ea95cdcf1 (diff)
small cleanup
Diffstat (limited to 'include/blf.h')
-rw-r--r--include/blf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/blf.h b/include/blf.h
index b4689da5c80..54883b66f4f 100644
--- a/include/blf.h
+++ b/include/blf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: blf.h,v 1.2 1997/02/14 18:42:10 provos Exp $ */
+/* $OpenBSD: blf.h,v 1.3 1997/02/16 20:54:26 provos Exp $ */
/*
* Blowfish - a fast block cipher designed by Bruce Schneier
*
@@ -15,7 +15,7 @@
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
- * This product includes software developed by Theo de Raadt.
+ * This product includes software developed by Niels Provos.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
@@ -59,17 +59,17 @@ typedef struct BlowfishContext {
void Blowfish_encipher __P((blf_ctx *, u_int32_t *, u_int32_t *));
void Blowfish_decipher __P((blf_ctx *, u_int32_t *, u_int32_t *));
void Blowfish_initstate __P((blf_ctx *));
-void Blowfish_expand0state __P((blf_ctx *, u_int8_t *, u_int16_t));
-void Blowfish_expandstate
- __P((blf_ctx *, u_int8_t *, u_int16_t, u_int8_t *, u_int16_t));
+void Blowfish_expand0state __P((blf_ctx *, const u_int8_t *, u_int16_t));
+void Blowfish_expandstate
+ __P((blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t));
/* Standard Blowfish */
-void blf_key __P((blf_ctx *, u_int8_t *, u_int16_t));
+void blf_key __P((blf_ctx *, const u_int8_t *, u_int16_t));
void blf_enc __P((blf_ctx *, u_int32_t *, u_int16_t));
void blf_dec __P((blf_ctx *, u_int32_t *, u_int16_t));
/* Converts u_int8_t to u_int32_t */
-u_int32_t Blowfish_stream2word __P((u_int8_t *, u_int16_t , u_int16_t *));
+u_int32_t Blowfish_stream2word __P((const u_int8_t *, u_int16_t , u_int16_t *));
#endif