diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-30 01:09:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-30 01:09:52 +0000 |
commit | 92451f74a8fd50bbd2f360526263a4913d145677 (patch) | |
tree | 0fd53e000abac269d11ca5bb7c13ae7a14d997bc /src/common/aes.c | |
parent | 6ce1add8da1de0c814b4f10f99e7c1f89736ed90 (diff) | |
download | tor-92451f74a8fd50bbd2f360526263a4913d145677.tar.gz tor-92451f74a8fd50bbd2f360526263a4913d145677.zip |
Reformat inconsistent function declarations.
svn:r5160
Diffstat (limited to 'src/common/aes.c')
-rw-r--r-- | src/common/aes.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 01f6994702..b4dd774755 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -608,7 +608,9 @@ static const u32 rcon[] = { * * @return the number of rounds for the given cipher key size. */ -int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { +int +rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) +{ int i = 0; u32 temp; @@ -689,7 +691,9 @@ int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBit return 0; } -void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) { +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; #ifndef FULL_UNROLL int r; |