Separate out simulation code for garbled circuit library