From 43dcec640e3ca462625fe259f0b2bb5660ac8131 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Couturier?= Date: Wed, 4 Mar 2020 12:07:44 +0100 Subject: [PATCH 1/1] new --- OneRoundIoT/OneRound/run_hash_throughput.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5