- seq_out[ind1+a]=X[a];
- seq_out[ind1+a+1]=X[a+1];
- seq_out[ind1+a+2]=X[a+2];
- seq_out[ind1+a+3]=X[a+3];
+ seq_out[ind1+a]=Inv_Sbox1[tmp[a]]^RM1[a];
+ seq_out[ind1+a+1]=Inv_Sbox1[tmp[a+1]]^RM1[a+1];
+ seq_out[ind1+a+2]=Inv_Sbox1[tmp[a+2]]^RM1[a+2];
+ seq_out[ind1+a+3]=Inv_Sbox1[tmp[a+3]]^RM1[a+3];