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

Private GIT Repository
new
authorcouturie <you@example.com>
Sat, 30 Sep 2017 18:57:20 +0000 (20:57 +0200)
committercouturie <you@example.com>
Sat, 30 Sep 2017 18:57:20 +0000 (20:57 +0200)
OneRoundIoT/OneRound/run_test.sh [new file with mode: 0644]
OneRoundIoT/openssl/execution.plot [new file with mode: 0644]
OneRoundIoT/openssl/run_test.sh

diff --git a/OneRoundIoT/OneRound/run_test.sh b/OneRoundIoT/OneRound/run_test.sh
new file mode 100644 (file)
index 0000000..7b57b13
--- /dev/null
@@ -0,0 +1,34 @@
+#sh run_test.sh  > execution.txt
+
+printf "16\t"; ./one_round_new nb10000000 lena0 ctr0 h4 sizebuf4; ./one_round_new nb10000000 lena0 ctr1 h4 sizebuf4
+printf "\n"
+printf "64\t"; ./one_round_new nb10000000 lena0 ctr0 h8 sizebuf8; ./one_round_new nb10000000 lena0 ctr1 h8 sizebuf8
+printf "\n"
+printf "256\t"; ./one_round_new nb1000000 lena0 ctr0 h16 sizebuf16; ./one_round_new nb1000000 lena0 ctr1 h16 sizebuf16
+printf "\n"
+printf "1024\t"; ./one_round_new nb1000000 lena0 ctr0 h32 sizebuf32; ./one_round_new nb1000000 lena0 ctr1 h32 sizebuf32
+printf "\n"
+printf "4096\t"; ./one_round_new nb100000 lena0 ctr0 h32 sizebuf64; ./one_round_new nb100000 lena0 ctr1 h32 sizebuf64
+printf "\n"
+printf "16384\t"; ./one_round_new nb100000 lena0 ctr0 h32 sizebuf128; ./one_round_new nb100000 lena0 ctr1 h32 sizebuf128
+printf "\n"
+printf "65536\t"; ./one_round_new nb10000 lena0 ctr0 h32 sizebuf256; ./one_round_new nb10000 lena0 ctr1 h32 sizebuf256
+printf "\n"
+printf "262144\t"; ./one_round_new nb1000 lena0 ctr0 h32 sizebuf512; ./one_round_new nb1000 lena0 ctr1 h32 sizebuf512
+printf "\n"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OneRoundIoT/openssl/execution.plot b/OneRoundIoT/openssl/execution.plot
new file mode 100644 (file)
index 0000000..83060ab
--- /dev/null
@@ -0,0 +1,18 @@
+# Analysis description 
+set encoding iso_8859_1
+set terminal x11
+set size 1,0.5
+set term postscript enhanced portrait "Helvetica" 12
+
+set log x
+set log y
+set ylabel "bytes per second"
+
+set xlabel "buffer size" 
+#set key on outside left bmargin
+plot 'execution.txt' using 1:2 t "encrypt CBC"      with linespoints lt 1 lw 2 ps 0 pt 5,\
+  'execution.txt' using 1:3 t "decrypt CBC"    with linespoints lt 2 lw 2 ps 0 pt 1,\
+  'execution.txt' using 1:4 t "(en|de)crypt CTR"    with linespoints lt 3 lw 2 ps 0 pt 1
+
+
+
index c0b5b40a8ff05ed096e987f40caae172376f1fe1..2251b6d0adf12ec3d1800ca562072c525034155a 100644 (file)
@@ -1,4 +1,4 @@
-#sh run_test.sh  > test.txt
+#sh run_test.sh  > execution.txt
 
 printf "16\t"; ./openssl_evp nb10000000 lena0 ctr0 sizebuf4; ./openssl_evp nb10000000 lena0 ctr1 sizebuf4
 printf "\n"
 
 printf "16\t"; ./openssl_evp nb10000000 lena0 ctr0 sizebuf4; ./openssl_evp nb10000000 lena0 ctr1 sizebuf4
 printf "\n"
@@ -14,5 +14,7 @@ printf "16384\t";./openssl_evp  nb100000 lena0 ctr0  sizebuf128; ./openssl_evp
 printf "\n"
 printf "65536\t"; ./openssl_evp  nb10000 lena0 ctr0 sizebuf256; ./openssl_evp  nb10000 lena0 ctr1 sizebuf256
 printf "\n"
 printf "\n"
 printf "65536\t"; ./openssl_evp  nb10000 lena0 ctr0 sizebuf256; ./openssl_evp  nb10000 lena0 ctr1 sizebuf256
 printf "\n"
+printf "262144\t"; ./openssl_evp  nb1000 lena0 ctr0 sizebuf512; ./openssl_evp  nb10000 lena0 ctr1 sizebuf512
+printf "\n"