summaryrefslogtreecommitdiff
path: root/rijndael.h
diff options
context:
space:
mode:
authormouring <mouring>2001-05-10 23:26:11 +0000
committermouring <mouring>2001-05-10 23:26:11 +0000
commit1bda15efdf2610c614bf0b59cd5046c0c75b3c12 (patch)
tree4dcef2d244955f7cb83e2bf638684a738a95cf6d /rijndael.h
parent58db7d9792426544c231926de59460e9d080e5c1 (diff)
downloadopenssh-1bda15efdf2610c614bf0b59cd5046c0c75b3c12.tar.gz
- 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 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 *));