-
+typedef __uint64_t ulong;
typedef unsigned char uchar;
uchar Y[h];
uchar fX[h];
uchar gY[h];
- uchar RM1[h];
- uchar RM2[h];
+ uchar *RM1=&RM[0];
+ uchar *RM2=&RM[h];
uchar tmp[h];
ulong *rm1=(ulong*)RM1;
ulong *rm2=(ulong*)RM2;
+
+
for(int it=0;it<len/2;it++) {
int ind1=Pbox[it]*h;
uchar tmp[h];
ulong *rm1=(ulong*)RM1;
ulong *rm2=(ulong*)RM2;
+
for(int it=0;it<len/2;it++) {
int ind1=Pbox[it]*h;
uchar gY[h];
uchar IV1[h];
uchar IV2[h];
- uchar RM1[h];
- uchar RM2[h];
+ uchar *RM1=&RM[0];
+ uchar *RM2=&RM[h];
uchar tmp[h];
ulong *rm1=(ulong*)RM1;
ulong *rm2=(ulong*)RM2;
+
+
+
for(int it=0;it<len/2;it++) {
int ind1=Pbox[it]*h;
uchar gY[h];
uchar IV1[h];
uchar IV2[h];
- uchar RM1[h];
- uchar RM2[h];
+ uchar *RM1=&RM[0];
+ uchar *RM2=&RM[h];
+// uchar RM1[h];
+// uchar RM2[h];
uchar tmp[h];
ulong *rm1=(ulong*)RM1;
ulong *rm2=(ulong*)RM2;
}
-
return 0;
}