]> AND Private Git Repository - Cipher_code.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new tests for eor
authorcouturie <you@example.com>
Sun, 23 Dec 2018 14:45:53 +0000 (15:45 +0100)
committercouturie <you@example.com>
Sun, 23 Dec 2018 14:45:53 +0000 (15:45 +0100)
OneRoundIoT/EnhancedOneRound/run_test_small1.sh [new file with mode: 0644]
OneRoundIoT/EnhancedOneRound/run_test_small2.sh [new file with mode: 0644]

diff --git a/OneRoundIoT/EnhancedOneRound/run_test_small1.sh b/OneRoundIoT/EnhancedOneRound/run_test_small1.sh
new file mode 100644 (file)
index 0000000..ea94a40
--- /dev/null
@@ -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 (file)
index 0000000..5d7f4e2
--- /dev/null
@@ -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"
+
+
+
+
+
+
+
+
+
+
+
+
+