]> AND Private Git Repository - Cipher_code.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
authorcouturie <couturie@extinction>
Sun, 20 Aug 2017 07:39:54 +0000 (09:39 +0200)
committercouturie <couturie@extinction>
Sun, 20 Aug 2017 07:39:54 +0000 (09:39 +0200)
OneRoundIoT/OneRound/one_round_new.cpp

index 1fe114c12aad36c0d4afc85a0d66a885ab31dd93..165fb192f6dc11b080c67c309f780d23b1d9a328 100644 (file)
@@ -181,7 +181,7 @@ void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, in
       printf("\n");
       }*/
     
       printf("\n");
       }*/
     
-    *(int*)&fX[0]=it;
+    *(int*)&fX[0]^=it;
 
     /* if(it<513) {
       for(int a=0;a<h2;a++)
 
     /* if(it<513) {
       for(int a=0;a<h2;a++)