You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup_time=0
for i in range(10):
start_bench(groupObj)
(pk, mk) = cpabe.setup(len(U))
setup_time += end_bench(groupObj)
result.append(setup_time*100)
`
Hello, I would like to inquire about the unit of output for this Readtime? ns or ms
The text was updated successfully, but these errors were encountered:
`groupObj = PairingGroup('SS512')
cpabe = CPabe_SP21(groupObj)
def start_bench(group):
group.InitBenchmark()
group.StartBenchmark(["RealTime"])
def end_bench(group):
group.EndBenchmark()
benchmarks = group.GetGeneralBenchmarks()
real_time = benchmarks['RealTime']
return real_time
setup_time=0
for i in range(10):
start_bench(groupObj)
(pk, mk) = cpabe.setup(len(U))
setup_time += end_bench(groupObj)
result.append(setup_time*100)
`
Hello, I would like to inquire about the unit of output for this Readtime? ns or ms
The text was updated successfully, but these errors were encountered: