From: couturie Date: Sun, 9 Dec 2018 10:29:20 +0000 (+0100) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/9b54e701a0d5abcf47b533fcb86a1c24ffa034a9?ds=inline new --- diff --git a/OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp b/OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp index db3d98c..c895a8a 100644 --- a/OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp +++ b/OneRoundIoT/EnhancedOneRound/enhanced_oneround.cpp @@ -1459,7 +1459,7 @@ int main(int argc, char** argv) { if(strncmp(argv[i],"lena",4)==0) lena = atoi(&(argv[i][4])); //Use Lena or buffer } - printf("nb times %d\n",nb_test); +/* printf("nb times %d\n",nb_test); printf("cbcrm %d\n",cbcrm); printf("cbcprng %d\n",cbcprng); printf("ecbrm %d\n",ecbrm); @@ -1467,7 +1467,7 @@ int main(int argc, char** argv) { printf("h %d\n",h); printf("lena %d\n",lena); printf("size_buf %d\n",size_buf); - +*/ @@ -1511,7 +1511,7 @@ int main(int argc, char** argv) { else { width=height=size_buf; imsize=width*height; - cout<<"imsize "< execution_oneround.txt +printf "#size \t ecbprng enc dec \t \t cbcprng enc dec \t \t cbcrm enc dec\n" +printf "256\t"; ./enhanced_oneround nb10000000 lena0 ecbprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h256 sizebuf16 +printf "\n" +printf "1024\t"; ./enhanced_oneround nb1000000 lena0 ecbprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h256 sizebuf32 +printf "\n" +printf "4096\t"; ./enhanced_oneround nb100000 lena0 ecbprng h256 sizebuf64; ./enhanced_oneround nb100000 lena0 cbcprng h256 sizebuf64; ./enhanced_oneround nb100000 lena0 cbcrm h256 sizebuf64 +printf "\n" +printf "16384\t"; ./enhanced_oneround nb100000 lena0 ecbprng h256 sizebuf128; ./enhanced_oneround nb100000 lena0 cbcprng h256 sizebuf128; ./enhanced_oneround nb100000 lena0 cbcrm h256 sizebuf128 +printf "\n" +printf "65536\t"; ./enhanced_oneround nb10000 lena0 ecbprng h256 sizebuf256; ./enhanced_oneround nb10000 lena0 cbcprng h256 sizebuf256; ./enhanced_oneround nb10000 lena0 cbcrm h256 sizebuf256 +printf "\n" +printf "262144\t"; ./enhanced_oneround nb1000 lena0 ecbprng h256 sizebuf512; ./enhanced_oneround nb1000 lena0 cbcprng h256 sizebuf512; ./enhanced_oneround nb1000 lena0 cbcrm h256 sizebuf512 +printf "\n" + + + + + + + + + + + + + + + +