From: Raphaƫl Couturier Date: Wed, 4 Mar 2020 11:07:44 +0000 (+0100) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/43dcec640e3ca462625fe259f0b2bb5660ac8131?ds=sidebyside;hp=bd0fd45010fd0c1803d6368bd7d7dab255615f51 new --- diff --git a/OneRoundIoT/OneRound/run_hash_throughput.py b/OneRoundIoT/OneRound/run_hash_throughput.py index 5fd2f46..144475c 100644 --- a/OneRoundIoT/OneRound/run_hash_throughput.py +++ b/OneRoundIoT/OneRound/run_hash_throughput.py @@ -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