From ddb4f24056225322bc97eb366cbe5b2927fd7c89 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 10 May 2001 23:26:11 +0000 Subject: - markus@cvs.openbsd.org 2001/05/09 23:01:31 [rijndael.h] fix prototype; J.S.Peatfield@damtp.cam.ac.uk --- rijndael.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rijndael.h') diff --git a/rijndael.h b/rijndael.h index fa350483..1656448c 100644 --- a/rijndael.h +++ b/rijndael.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.h,v 1.7 2001/03/01 03:38:33 deraadt Exp $ */ +/* $OpenBSD: rijndael.h,v 1.8 2001/05/09 23:01:31 markus Exp $ */ /* This is an independent implementation of the encryption algorithm: */ /* */ @@ -42,7 +42,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 *)); -- cgit v1.2.1