From d1ace21de4f1e37a3b9900e1572ecc269fb5a110 Mon Sep 17 00:00:00 2001 From: couturie Date: Sun, 20 Aug 2017 09:39:54 +0200 Subject: [PATCH] new --- OneRoundIoT/OneRound/one_round_new.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OneRoundIoT/OneRound/one_round_new.cpp b/OneRoundIoT/OneRound/one_round_new.cpp index 1fe114c..165fb19 100644 --- a/OneRoundIoT/OneRound/one_round_new.cpp +++ b/OneRoundIoT/OneRound/one_round_new.cpp @@ -181,7 +181,7 @@ void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, in printf("\n"); }*/ - *(int*)&fX[0]=it; + *(int*)&fX[0]^=it; /* if(it<513) { for(int a=0;a