X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/bcc065d76a6156a8f1c829babd0fefbcc175ffab..66f2180dbe8a7262017622f9f9e4cfedba66fc32:/OneRoundIoT/OneRound/one_round_new.cpp?ds=sidebyside 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