]> AND Private Git Repository - Cipher_code.git/blobdiff - OneRoundIoT/OneRound/run_hash_throughput.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
add
[Cipher_code.git] / 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