#include "test/test.h" using namespace std; const static int64_t threads = 1; int main(int argc, char** argv) { int length, port; // make sure all functions work for non-power-of-two lengths int64_t party; if (argc <= 3) length = (1<<20) + 101; else length = (1< * np = new OTNP(io); cout <<"128 NPOTs:\t"<>(np, io, party, 128)<<" us"< * iknp = new IKNP(io); cout <<"Passive IKNP OT\t"<>(iknp, io, party, length)*1e6<<" OTps"<>(iknp, io, party, length)*1e6<<" OTps"<>(iknp, io, party, length)*1e6<<" OTps"< * co = new OTCO(io); cout <<"128 COOTs:\t"<>(co, io, party, 128)<<" us"<(io, true); cout <<"Active IKNP OT\t"<>(iknp, io, party, length)*1e6<<" OTps"<>(iknp, io, party, length)*1e6<<" OTps"<>(iknp, io, party, length)*1e6<<" OTps"< * ferretcot = new FerretCOT(party, threads, &io, false); cout <<"Passive FERRET OT\t"<>(ferretcot, io, party, length)*1e6<<" OTps"<>(ferretcot, io, party, length)*1e6<<" OTps"<>(ferretcot, io, party, length)*1e6<<" OTps"<(party, threads, &io, true); cout <<"Active FERRET OT\t"<>(ferretcot, io, party, length)*1e6<<" OTps"<>(ferretcot, io, party, length)*1e6<<" OTps"<>(ferretcot, io, party, length)*1e6<<" OTps"<