summaryrefslogtreecommitdiff
path: root/sys/crypto/xform.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-05-27 05:43:18 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-05-27 05:43:18 +0000
commitbba5059ae1e446c3c6cae11c02e40b486b538f88 (patch)
treeda8c4d022936c0461729473966d63ede39f246ff /sys/crypto/xform.c
parent63fee2b348dc8840b4818efa6d8d1154a6b3d830 (diff)
make the #defines in rijndael.h a bit more meaningful
ok djm and with a hint from henning
Diffstat (limited to 'sys/crypto/xform.c')
-rw-r--r--sys/crypto/xform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c
index 7eee9e258e5..080fe302720 100644
--- a/sys/crypto/xform.c
+++ b/sys/crypto/xform.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xform.c,v 1.30 2007/02/19 08:55:41 hshoexer Exp $ */
+/* $OpenBSD: xform.c,v 1.31 2007/05/27 05:43:17 tedu Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -514,7 +514,7 @@ rijndael128_zerokey(u_int8_t **sched)
#define AESCTR_BLOCKSIZE 16
struct aes_ctr_ctx {
- u_int32_t ac_ek[4*(MAXNR + 1)];
+ u_int32_t ac_ek[4*(AES_MAXROUNDS + 1)];
u_int8_t ac_block[AESCTR_BLOCKSIZE];
int ac_nr;
};