From: couturie Date: Sun, 23 Dec 2018 19:11:29 +0000 (+0100) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/a501010a5baf9d94ba7086a599cb5add10f9ad07?ds=sidebyside new --- diff --git a/OneRoundIoT/EnhancedOneRound/run_test_small1.sh b/OneRoundIoT/EnhancedOneRound/run_test_small1.sh index 4030dd7..916f7a4 100644 --- a/OneRoundIoT/EnhancedOneRound/run_test_small1.sh +++ b/OneRoundIoT/EnhancedOneRound/run_test_small1.sh @@ -1,18 +1,18 @@ #sh run_test_small1.sh > execution_oneround_small1.txt printf "#size \t h \t ecbprng enc dec \t \t cbcprng enc dec \t \t cbcrm enc dec\n" -printf "256 \t 4 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h4 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h4 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h4 sizebuf16 +printf "256 \t 4 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h4 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h4 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h4 sizebuf16 printf "\n" -printf "256 \t 8 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h8 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h8 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h8 sizebuf16 +printf "256 \t 8 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h8 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h8 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h8 sizebuf16 printf "\n" -printf "256 \t 16 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h16 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h16 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h16 sizebuf16 +printf "256 \t 16 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h16 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h16 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h16 sizebuf16 printf "\n" -printf "256 \t 32 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h32 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h32 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h32 sizebuf16 +printf "256 \t 32 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h32 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h32 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h32 sizebuf16 printf "\n" -printf "256 \t 64 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h64 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h64 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h64 sizebuf16 +printf "256 \t 64 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h64 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h64 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h64 sizebuf16 printf "\n" -printf "256 \t 12 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h128 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h128 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h128 sizebuf16 +printf "256 \t 12 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h128 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h128 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h128 sizebuf16 printf "\n" -printf "256 \t 256 \t"; ./enhanced_oneround nb10000000 lena0 ecbprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h256 sizebuf16 +printf "256 \t 256 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h256 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcprng h256 sizebuf16; ./enhanced_oneround nb1000000 lena0 cbcrm h256 sizebuf16 printf "\n" diff --git a/OneRoundIoT/EnhancedOneRound/run_test_small2.sh b/OneRoundIoT/EnhancedOneRound/run_test_small2.sh index e0bc113..3fea26c 100644 --- a/OneRoundIoT/EnhancedOneRound/run_test_small2.sh +++ b/OneRoundIoT/EnhancedOneRound/run_test_small2.sh @@ -1,18 +1,18 @@ #sh run_test_small2.sh > execution_oneround_small2.txt printf "#size \t h \t ecbprng enc dec \t \t cbcprng enc dec \t \t cbcrm enc dec\n" -printf "1024 \t 4 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h4 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h4 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h4 sizebuf32 +printf "1024 \t 4 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h4 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h4 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h4 sizebuf32 printf "\n" -printf "1024 \t 8 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h8 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h8 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h8 sizebuf32 +printf "1024 \t 8 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h8 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h8 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h8 sizebuf32 printf "\n" -printf "1024 \t 16 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h16 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h16 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h16 sizebuf32 +printf "1024 \t 16 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h16 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h16 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h16 sizebuf32 printf "\n" -printf "1024 \t 32 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h32 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h32 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h32 sizebuf32 +printf "1024 \t 32 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h32 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h32 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h32 sizebuf32 printf "\n" -printf "1024 \t 64 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h64 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h64 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h64 sizebuf32 +printf "1024 \t 64 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h64 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h64 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h64 sizebuf32 printf "\n" -printf "1024 \t 128 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h128 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h128 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h128 sizebuf32 +printf "1024 \t 128 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h128 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h128 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h128 sizebuf32 printf "\n" -printf "1024 \t 256 \t"; ./enhanced_oneround nb1000000 lena0 ecbprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h256 sizebuf32 +printf "1024 \t 256 \t"; ./enhanced_oneround nb100000 lena0 ecbprng h256 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcprng h256 sizebuf32; ./enhanced_oneround nb100000 lena0 cbcrm h256 sizebuf32 printf "\n"