diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-05-09 23:01:33 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-05-09 23:01:33 +0000 |
commit | b31a7bf9dcdd978cc90c7ca12008414196f99339 (patch) | |
tree | f40022fe05761d4672e287fdff3c1b1d7288c0bc /sys | |
parent | d59074545b6d8d1206559b40be00841c24179a5c (diff) |
fix prototype; J.S.Peatfield@damtp.cam.ac.uk
Diffstat (limited to 'sys')
-rw-r--r-- | sys/crypto/rijndael.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/crypto/rijndael.h b/sys/crypto/rijndael.h index cc5dbc243d2..0ae72493f1d 100644 --- a/sys/crypto/rijndael.h +++ b/sys/crypto/rijndael.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.h,v 1.2 2000/10/16 22:44:33 deraadt Exp $ */ +/* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */ /* This is an independent implementation of the encryption algorithm: */ /* */ @@ -40,7 +40,8 @@ typedef struct _rijndael_ctx { /* These are all based on 32 bit unsigned values and will therefore */ /* require endian conversions for big-endian architectures */ -rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); +rijndael_ctx * +rijndael_set_key __P((rijndael_ctx *, const u4byte *, const u4byte, int)); void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); |