From df9a6f3709580d85073a863dd881e6fcd09d7ee5 Mon Sep 17 00:00:00 2001 From: couturie Date: Wed, 13 Sep 2017 19:13:26 +0200 Subject: [PATCH] new --- OneRoundIoT/OneRound/one_round_new.cpp | 5 ++- OneRoundIoT/OneRound/one_round_par2.cpp | 56 ++++++++++++------------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/OneRoundIoT/OneRound/one_round_new.cpp b/OneRoundIoT/OneRound/one_round_new.cpp index 909593e..cb833c4 100644 --- a/OneRoundIoT/OneRound/one_round_new.cpp +++ b/OneRoundIoT/OneRound/one_round_new.cpp @@ -147,8 +147,11 @@ void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, in int ind1,ind2; - for(int a=0;a