summaryrefslogtreecommitdiffstats
path: root/src/modules/rijndael/libkvirijndael.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/rijndael/libkvirijndael.cpp')
-rw-r--r--src/modules/rijndael/libkvirijndael.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/rijndael/libkvirijndael.cpp b/src/modules/rijndael/libkvirijndael.cpp
index 0a67843..07f37af 100644
--- a/src/modules/rijndael/libkvirijndael.cpp
+++ b/src/modules/rijndael/libkvirijndael.cpp
@@ -46,7 +46,7 @@
on the Advanced Encryptiong Standard algorithm called Rijndael. Rijndael was
originally written by Joan Daemen and Vincent Rijmen. The original Rijndael
description is available at http://www.esat.kuleuven.ac.be/~rijmen/rijndael/.[br]
- It is a private key block cipher that has been designed to replace
+ It is a private key block cipher that has been designed to tqreplace
the widely used DES, and it should provide at leas a decent security agains
common attacks. Theoretically the best attack that one can perform on this cipher
is the "brute force" attack that requires a really massive parallel computation:
@@ -471,7 +471,7 @@
*/
}
- static unsigned char fake_base64[]="./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ static unsigned char fake_base64[]="./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ";
unsigned int fake_base64dec(unsigned char c)
{
@@ -538,9 +538,9 @@
unsigned char * p = (unsigned char *)encoded.ptr();
while(outb < oute)
{
- Q_UINT32 * dd1 = (Q_UINT32 *)outb;
+ TQ_UINT32 * dd1 = (TQ_UINT32 *)outb;
outb += 4;
- Q_UINT32 * dd2 = (Q_UINT32 *)outb;
+ TQ_UINT32 * dd2 = (TQ_UINT32 *)outb;
outb += 4;
*p++ = fake_base64[*dd2 & 0x3f]; *dd2 >>= 6;
*p++ = fake_base64[*dd2 & 0x3f]; *dd2 >>= 6;
@@ -585,9 +585,9 @@
unsigned char * bufp = buf;
while(p < e)
{
- Q_UINT32 * dw1 = (Q_UINT32 *)bufp;
+ TQ_UINT32 * dw1 = (TQ_UINT32 *)bufp;
bufp += 4;
- Q_UINT32 * dw2 = (Q_UINT32 *)bufp;
+ TQ_UINT32 * dw2 = (TQ_UINT32 *)bufp;
bufp += 4;
*dw2 = 0;
for(i=0;i < 6;i++)*dw2 |= (fake_base64dec(*p++)) << (i * 6);