- for(int a=0;a<h2;a+=4) {
- seq_out[ind1+a]=fX[id*h2+a];
- seq_out[ind1+a+1]=fX[id*h2+a+1];
- seq_out[ind1+a+2]=fX[id*h2+a+2];
- seq_out[ind1+a+3]=fX[id*h2+a+3];
- }
-
- /*for(int a=0;a<h2;a+=4) {
- RM1[id*h2+a]=RM1[id*h2+PboxRM[a]];
- RM1[id*h2+a+1]=RM1[id*h2+PboxRM[a+1]];
- RM1[id*h2+a+2]=RM1[id*h2+PboxRM[a+2]];
- RM1[id*h2+a+3]=RM1[id*h2+PboxRM[a+3]];
- }
- */
+ for(int a=0;a<h2;a+=4) {
+ seq_out[ind1+a]=fX[a];
+ seq_out[ind1+a+1]=fX[a+1];
+ seq_out[ind1+a+2]=fX[a+2];
+ seq_out[ind1+a+3]=fX[a+3];
+ }
+
+
+
+ for(int a=0;a<h2;a+=4) {
+ RM2[a]=RM2[PboxRM[a]];
+ RM2[a+1]=RM2[PboxRM[a+1]];
+ RM2[a+2]=RM2[PboxRM[a+2]];
+ RM2[a+3]=RM2[PboxRM[a+3]];
+ }
+
+
+ /*for(int a=0;a<h2;a+=4) {
+ RM1[id*h2+a]=RM1[id*h2+PboxRM[a]];
+ RM1[id*h2+a+1]=RM1[id*h2+PboxRM[a+1]];
+ RM1[id*h2+a+2]=RM1[id*h2+PboxRM[a+2]];
+ RM1[id*h2+a+3]=RM1[id*h2+PboxRM[a+3]];
+ }
+ */