diff options
author | rsc <devnull@localhost> | 2004-12-27 19:13:31 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 19:13:31 +0000 |
commit | 73bfbacb2409b10f45fd080891a95de29cafe4a0 (patch) | |
tree | 369abfaa0c088e1df6d7c63688b8d29d76bbf1d5 /src/libsec | |
parent | b3efcdbf5950a4b5bd43a83d3c7afe984e3238d7 (diff) | |
download | plan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.tar.gz plan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.tar.bz2 plan9port-73bfbacb2409b10f45fd080891a95de29cafe4a0.zip |
silence various warnings
Diffstat (limited to 'src/libsec')
-rw-r--r-- | src/libsec/port/aes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsec/port/aes.c b/src/libsec/port/aes.c index dda9c8a5..cdcb9bb5 100644 --- a/src/libsec/port/aes.c +++ b/src/libsec/port/aes.c @@ -43,7 +43,9 @@ static const u32 Td3[256]; static const u8 Te4[256]; static int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits); +/* static int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits); +*/ static int rijndaelKeySetup(u32 erk[/*4*(Nr + 1)*/], u32 drk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits); static void rijndaelEncrypt(const u32int rk[], int Nr, const uchar pt[16], uchar ct[16]); static void rijndaelDecrypt(const u32int rk[], int Nr, const uchar ct[16], uchar pt[16]); @@ -955,6 +957,7 @@ static int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int * * @return the number of rounds for the given cipher key size. */ +#ifdef NOTUSED static int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { int Nr, i, j; u32 temp; @@ -994,6 +997,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; |