diff options
author | rsc <devnull@localhost> | 2003-11-23 20:04:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-11-23 20:04:53 +0000 |
commit | 478ee9636fcfe3509d0a901d1250524a5c41d3a8 (patch) | |
tree | 539eccccbee0a00b306c45583212e4ebb25d7ab6 /src/libsec | |
parent | 1c253ceb586c4519f42ce115954c4efab787f81a (diff) | |
download | plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.gz plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.bz2 plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.zip |
Make things build on FreeBSD again.
Diffstat (limited to 'src/libsec')
-rw-r--r-- | src/libsec/port/aes.c | 2 | ||||
-rw-r--r-- | src/libsec/port/md5.c | 1 |
2 files changed, 2 insertions, 1 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; diff --git a/src/libsec/port/md5.c b/src/libsec/port/md5.c index bb2f3cb3..1d579446 100644 --- a/src/libsec/port/md5.c +++ b/src/libsec/port/md5.c @@ -28,7 +28,6 @@ */ static void encode(uchar*, u32int*, ulong); -static void decode(u32int*, uchar*, ulong); extern void _md5block(uchar*, ulong, u32int*); |