From caa49419c4db8b3925c7af2ab014f14bddea4d21 Mon Sep 17 00:00:00 2001 From: couturie Date: Sun, 23 Dec 2018 15:45:53 +0100 Subject: [PATCH] new tests for eor --- .../EnhancedOneRound/run_test_small1.sh | 29 +++++++++++++++++++ .../EnhancedOneRound/run_test_small2.sh | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 OneRoundIoT/EnhancedOneRound/run_test_small1.sh create mode 100644 OneRoundIoT/EnhancedOneRound/run_test_small2.sh diff --git a/OneRoundIoT/EnhancedOneRound/run_test_small1.sh b/OneRoundIoT/EnhancedOneRound/run_test_small1.sh new file mode 100644 index 0000000..ea94a40 --- /dev/null +++ b/OneRoundIoT/EnhancedOneRound/run_test_small1.sh @@ -0,0 +1,29 @@ +#sh run_test.sh > execution_oneround.txt +printf "#size \t h \t ecbprng enc dec \t \t cbcprng enc dec \t \t cbcrm enc dec\n" +printf "256 \t 4"; ./enhanced_oneround nb10000000 lena0 ecbprng h4 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h4 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h4 sizebuf16 +printf "\n" +printf "256 \t 8"; ./enhanced_oneround nb10000000 lena0 ecbprng h8 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h8 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h8 sizebuf16 +printf "\n" +printf "256 \t 16"; ./enhanced_oneround nb10000000 lena0 ecbprng h16 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h16 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h16 sizebuf16 +printf "\n" +printf "256 \t 32"; ./enhanced_oneround nb10000000 lena0 ecbprng h32 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h32 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h32 sizebuf16 +printf "\n" +printf "256 \t 64"; ./enhanced_oneround nb10000000 lena0 ecbprng h64 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h64 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h64 sizebuf16 +printf "\n" +printf "256 \t 128"; ./enhanced_oneround nb10000000 lena0 ecbprng h128 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h128 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h128 sizebuf16 +printf "\n" +printf "256 \t 256"; ./enhanced_oneround nb10000000 lena0 ecbprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcprng h256 sizebuf16; ./enhanced_oneround nb10000000 lena0 cbcrm h256 sizebuf16 +printf "\n" + + + + + + + + + + + + + diff --git a/OneRoundIoT/EnhancedOneRound/run_test_small2.sh b/OneRoundIoT/EnhancedOneRound/run_test_small2.sh new file mode 100644 index 0000000..5d7f4e2 --- /dev/null +++ b/OneRoundIoT/EnhancedOneRound/run_test_small2.sh @@ -0,0 +1,29 @@ +#sh run_test.sh > execution_oneround.txt +printf "#size \t h \t ecbprng enc dec \t \t cbcprng enc dec \t \t cbcrm enc dec\n" +printf "1024 \t 4"; ./enhanced_oneround nb1000000 lena0 ecbprng h4 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h4 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h4 sizebuf32 +printf "\n" +printf "1024 \t 8"; ./enhanced_oneround nb1000000 lena0 ecbprng h8 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h8 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h8 sizebuf32 +printf "\n" +printf "1024 \t 16"; ./enhanced_oneround nb1000000 lena0 ecbprng h16 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h16 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h16 sizebuf32 +printf "\n" +printf "1024 \t 32"; ./enhanced_oneround nb1000000 lena0 ecbprng h32 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h32 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h32 sizebuf32 +printf "\n" +printf "1024 \t 64"; ./enhanced_oneround nb1000000 lena0 ecbprng h64 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h64 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h64 sizebuf32 +printf "\n" +printf "1024 \t 128"; ./enhanced_oneround nb1000000 lena0 ecbprng h128 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h128 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h128 sizebuf32 +printf "\n" +printf "1024 \t 256"; ./enhanced_oneround nb1000000 lena0 ecbprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcprng h256 sizebuf32; ./enhanced_oneround nb1000000 lena0 cbcrm h256 sizebuf32 +printf "\n" + + + + + + + + + + + + + -- 2.39.5