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

Private GIT Repository
new
authorRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Sun, 13 Jun 2021 13:32:41 +0000 (15:32 +0200)
committerRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Sun, 13 Jun 2021 13:32:41 +0000 (15:32 +0200)
OneRoundIoT/NEW/run_test.sh [new file with mode: 0644]
OneRoundIoT/NEW/scprng.cpp

diff --git a/OneRoundIoT/NEW/run_test.sh b/OneRoundIoT/NEW/run_test.sh
new file mode 100644 (file)
index 0000000..e8f4c69
--- /dev/null
@@ -0,0 +1,19 @@
+#sh run_test.sh  > execution_oneround.txt
+
+
+printf "size;   throughtput delta enc dec;   throughtput enhanced ctr delta enc dec;  throughtput AES ctr enc dec"
+printf "\n"
+printf "64\t"; ./scprng nb10000000 lena0 h8 sizebuf8;  ../OneRound/one_round_new4 nb10000000 lena0 ctr1 h8 sizebuf8; ../openssl/openssl_evp nb1000000 lena0 ctr1 h8 sizebuf8
+printf "\n"
+printf "256\t"; ./scprng nb1000000 lena0  h16 sizebuf16; ../OneRound/one_round_new4 nb1000000 lena0 ctr1 h16 sizebuf16; ../openssl/openssl_evp nb1000000 lena0 ctr1 h16 sizebuf16
+printf "\n"
+printf "1024\t"; ./scprng nb1000000 lena0  h32 sizebuf32; ../OneRound/one_round_new4 nb1000000 lena0 ctr1 h32 sizebuf32; ../openssl/openssl_evp nb1000000 lena0 ctr1 h32 sizebuf32
+printf "\n"
+printf "4096\t"; ./scprng nb100000 lena0  h32 sizebuf64; ../OneRound/one_round_new4 nb100000 lena0 ctr1 h32 sizebuf64; ../openssl/openssl_evp nb100000 lena0 ctr1 h32 sizebuf64
+printf "\n"
+printf "16384\t"; ./scprng nb100000 lena0  h32 sizebuf128; ../OneRound/one_round_new4 nb100000 lena0 ctr1 h32 sizebuf128; ../openssl/openssl_evp nb100000 lena0 ctr1 h32 sizebuf128
+printf "\n"
+printf "65536\t"; ./scprng nb10000 lena0  h32 sizebuf256; ../OneRound/one_round_new4 nb10000 lena0 ctr1 h32 sizebuf256; ../openssl/openssl_evp nb10000 lena0 ctr1 h32 sizebuf256
+printf "\n"
+printf "262144\t"; ./scprng nb1000 lena0  h32 sizebuf512; ../OneRound/one_round_new4 nb1000 lena0 ctr1 h32 sizebuf512; ../openssl/openssl_evp nb1000 lena0 ctr1 h32 sizebuf512
+printf "\n"
index 75b952c542f76d484b87ba3694c8874a48d31843..fe68c03fc51442fb4e399f6d7b75c8923ea91741 100644 (file)
@@ -432,7 +432,7 @@ int main(int argc, char **argv) {
 
 
   time=TimeStop(t);
-  printf("%e\n",nb_test*nb_bloc*h*8/time);
+  printf("%e\t",nb_test*nb_bloc*h*8/time);
   
   if(lena) {
     for(int i=0;i<oneD;i++) {