aboutsummaryrefslogtreecommitdiff
path: root/src/libsec/port/aes.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 20:04:53 +0000
committerrsc <devnull@localhost>2003-11-23 20:04:53 +0000
commit478ee9636fcfe3509d0a901d1250524a5c41d3a8 (patch)
tree539eccccbee0a00b306c45583212e4ebb25d7ab6 /src/libsec/port/aes.c
parent1c253ceb586c4519f42ce115954c4efab787f81a (diff)
downloadplan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.gz
plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.bz2
plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.zip
Make things build on FreeBSD again.
Diffstat (limited to 'src/libsec/port/aes.c')
-rw-r--r--src/libsec/port/aes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsec/port/aes.c b/src/libsec/port/aes.c
index dda9c8a5..ac1cac21 100644
--- a/src/libsec/port/aes.c
+++ b/src/libsec/port/aes.c
@@ -950,6 +950,7 @@ static int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int
return 0;
}
+#if 0
/**
* Expand the cipher key into the decryption key schedule.
*
@@ -994,6 +995,7 @@ static int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int
}
return Nr;
}
+#endif
static void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) {
u32 s0, s1, s2, s3, t0, t1, t2, t3;