emp-toolkit / emp-sh2pc

Semi-honest Two Party Computation Based on Garbled Circuits.
Other
76 stars 38 forks source link

Measuring Communication & benchmarking #14

Closed nitincic closed 5 years ago

nitincic commented 5 years ago

Is there a way to measure communication for evaluation of circuits or other mpc protocols within emp toolkit. Also, is it possible to time individual components of the GC evaluation like garbling, OT setups etc?

wangxiao1254 commented 5 years ago

communication:please refer to https://github.com/emp-toolkit/emp-tool/blob/stable/emp-tool/io/net_io_channel.h#L35 timing: please add different timing counters in the code.