]> 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>
Wed, 4 Mar 2020 11:07:44 +0000 (12:07 +0100)
committerRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Wed, 4 Mar 2020 11:07:44 +0000 (12:07 +0100)
OneRoundIoT/OneRound/run_hash_throughput.py

index 5fd2f466f5598807b1b0c045e4ff50eabd820782..144475c8cc81bb71dee511b910c505097565a3f7 100644 (file)
@@ -9,7 +9,7 @@ print("#size \t h  \t time")
 print("variant 1");
 h=8
 for k in range(1,6):
-    result=subprocess.check_output("one_round_hash_new2 lena1 nb100 h"+str(h),shell=True)
+    result=subprocess.check_output("./one_round_hash_new2 lena1 nb100 h"+str(h),shell=True)
     res=result.decode()
     print(str(512*512*3)+"\t"+str(h)+"\t"+res)
     h=h+h
@@ -17,7 +17,7 @@ for k in range(1,6):
 print("variant 2");
 h=8
 for k in range(1,6):
-    result=subprocess.check_output("one_round_hash_new3 lena1 nb100 h"+str(h),shell=True)
+    result=subprocess.check_output("./one_round_hash_new3 lena1 nb100 h"+str(h),shell=True)
     res=result.decode()
     print(str(512*512*3)+"\t"+str(h)+"\t"+res)
     h=h+h