summaryrefslogtreecommitdiff
path: root/aes.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2016-02-22 13:23:16 +0100
committerBen Fuhrmannek2016-02-22 13:23:16 +0100
commit759139184a4e322c561de889484f7de3d181756f (patch)
tree34f0ceac20058b7f96c003be588c5c7c40bade75 /aes.c
parente668d3495dce6e33855266fc830fc27b1a003689 (diff)
removed TSRMLS
Diffstat (limited to 'aes.c')
-rw-r--r--aes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/aes.c b/aes.c
index 65b6421..b44d88b 100644
--- a/aes.c
+++ b/aes.c
@@ -181,7 +181,7 @@ void suhosin_aes_gentables()
181 } 181 }
182} 182}
183 183
184void suhosin_aes_gkey(int nb,int nk,char *key TSRMLS_DC) 184void suhosin_aes_gkey(int nb,int nk,char *key)
185{ /* blocksize=32*nb bits. Key=32*nk bits */ 185{ /* blocksize=32*nb bits. Key=32*nk bits */
186 /* currently nb,bk = 4, 6 or 8 */ 186 /* currently nb,bk = 4, 6 or 8 */
187 /* key comes as 4*Nk bytes */ 187 /* key comes as 4*Nk bytes */
@@ -253,7 +253,7 @@ void suhosin_aes_gkey(int nb,int nk,char *key TSRMLS_DC)
253 * Instead of just one ftable[], I could have 4, the other * 253 * Instead of just one ftable[], I could have 4, the other *
254 * 3 pre-rotated to save the ROTL8, ROTL16 and ROTL24 overhead */ 254 * 3 pre-rotated to save the ROTL8, ROTL16 and ROTL24 overhead */
255 255
256void suhosin_aes_encrypt(char *buff TSRMLS_DC) 256void suhosin_aes_encrypt(char *buff)
257{ 257{
258 int i,j,k,m; 258 int i,j,k,m;
259 WORD a[8],b[8],*x,*y,*t; 259 WORD a[8],b[8],*x,*y,*t;
@@ -300,7 +300,7 @@ void suhosin_aes_encrypt(char *buff TSRMLS_DC)
300 return; 300 return;
301} 301}
302 302
303void suhosin_aes_decrypt(char *buff TSRMLS_DC) 303void suhosin_aes_decrypt(char *buff)
304{ 304{
305 int i,j,k,m; 305 int i,j,k,m;
306 WORD a[8],b[8],*x,*y,*t; 306 WORD a[8],b[8],*x,*y,*t;