summaryrefslogtreecommitdiff
path: root/rijndael.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-05-10 23:26:11 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-05-10 23:26:11 +0000
commitddb4f24056225322bc97eb366cbe5b2927fd7c89 (patch)
tree53fbad411ae7670ec52f843de00a9d2f8e09f7cb /rijndael.h
parent6d618466e8c20eba056db44acc22fc9f7048f961 (diff)
- markus@cvs.openbsd.org 2001/05/09 23:01:31
[rijndael.h] fix prototype; J.S.Peatfield@damtp.cam.ac.uk
Diffstat (limited to 'rijndael.h')
-rw-r--r--rijndael.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/rijndael.h b/rijndael.h
index fa350483e..1656448c9 100644
--- a/rijndael.h
+++ b/rijndael.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rijndael.h,v 1.7 2001/03/01 03:38:33 deraadt Exp $ */ 1/* $OpenBSD: rijndael.h,v 1.8 2001/05/09 23:01:31 markus Exp $ */
2 2
3/* This is an independent implementation of the encryption algorithm: */ 3/* This is an independent implementation of the encryption algorithm: */
4/* */ 4/* */
@@ -42,7 +42,8 @@ typedef struct _rijndael_ctx {
42/* These are all based on 32 bit unsigned values and will therefore */ 42/* These are all based on 32 bit unsigned values and will therefore */
43/* require endian conversions for big-endian architectures */ 43/* require endian conversions for big-endian architectures */
44 44
45rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); 45rijndael_ctx *
46rijndael_set_key __P((rijndael_ctx *, const u4byte *, const u4byte, int));
46void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); 47void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
47void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); 48void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *));
48 49