]> AND Private Git Repository - Cipher_code.git/blobdiff - OneRoundIoT/OneRound/one_round_new4.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
add
[Cipher_code.git] / OneRoundIoT / OneRound / one_round_new4.cpp
index 414c03c495a1403f7c81704ab918a4caeffd40dd..ecee0d6593fa1b421570c80a62534453b0795a63 100644 (file)
@@ -219,13 +219,6 @@ void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, in
     }
 
 
-    for(int a=0;a<h2/8;a+=2) {
-      ((unsigned long*)X)[a]=((unsigned long*)X)[a]^((unsigned long*)RM1)[a];
-      ((unsigned long*)X)[a+1]=((unsigned long*)X)[a+1]^((unsigned long*)RM1)[a+1];
-    }
-
-
-
 
     for(int a=0;a<h2/8;a+=2) {