More explanation on the command-line options; Alice emails fixed to equal result in Readme.

This commit is contained in:
Michael Zohner 2016-03-10 11:10:59 +01:00
parent 0deb7637c6
commit 4c16bad844
3 changed files with 10 additions and 10 deletions

View File

@ -17,7 +17,6 @@ Orhan.Emde@live.com
Kasimir.Knauf@live.co.uk
KlausPeter.Schaper@hotmail.com
Torben.Spieß@neuf.fr
Günther.Zoller@googlemail.com
Martina.Haimerl@live.com.mx
Mehdi.Freudenberg@fastmail.fm
Mariechen.Seibert@rambler.ru
@ -41,7 +40,6 @@ Helmut.Ebeling@hotmail.es
Richard.Grenz@virginmedia.com
Kathrin.Dengler@charter.net
Jadwiga.Held@orange.fr
Franz-Xaver.Gentner@gmx.com
Peter-Michael.Petry@hush.com
Mahmut.Arnold@yahoo.com
Siegmund.Preis@laposte.net
@ -1022,3 +1020,5 @@ Michaela.Petry@wanadoo.fr
Bastian.Piel@hotmail.fr
Hubertine.Roder@hotmail.co.uk
Andrey.Eckardt@tvcablenet.be
Tine.Wichtel@freenet.de
Mohammed.Li@gmx.de

View File

@ -134,17 +134,17 @@ int32_t read_bench_options(int32_t* argcp, char*** argvp, role_type* role, uint3
parsing_ctx options[] = {{(void*) &int_role, T_NUM, 'r', "Role: 0/1", true, false},
{(void*) &int_protocol, T_NUM, 'p', "PSI protocol (0: Naive, 1: TTP, 2: DH, 3: OT)", true, false},
{(void*) nelements, T_NUM, 'n', "Num elements", true, false},
{(void*) bytelen, T_NUM, 'b', "Byte length", true, false},
{(void*) secparam, T_NUM, 's', "Symmetric Security Bits", false, false},
{(void*) address, T_STR, 'a', "IP-address", false, false},
{(void*) nelements, T_NUM, 'n', "Number of elements", true, false},
{(void*) bytelen, T_NUM, 'b', "Byte length of elements", true, false},
{(void*) secparam, T_NUM, 's', "Symmetric Security Bits (default: 128)", false, false},
{(void*) address, T_STR, 'a', "Server IP-address (needed by both, client and server)", false, false},
{(void*) &int_port, T_NUM, 'o', "Port", false, false},
{(void*) ntasks, T_NUM, 't', "Number of threads", false, false},
{(void*) nclients, T_NUM, 'c', "Number of clients for TTP based protocol", false, false},
{(void*) epsilon, T_DOUBLE, 'e', "Epsilon in Cuckoo hashing", false, false},
{(void*) cardinality, T_FLAG, 'y', "Compute cardinality (only for DH and TTP PSI)", false, false},
{(void*) &useffc, T_FLAG, 'f', "Use finite-field cryptography", false, false},
{(void*) detailed_timings, T_FLAG, 'd', "Enable Detailed Timings", false, false}
{(void*) detailed_timings, T_FLAG, 'd', "Flag: Enable Detailed Timings", false, false}
};
if(!parse_options(argcp, argvp, options, sizeof(options)/sizeof(parsing_ctx))) {

View File

@ -169,9 +169,9 @@ int32_t read_psi_demo_options(int32_t* argcp, char*** argvp, role_type* role, ps
parsing_ctx options[] = {{(void*) &int_role, T_NUM, 'r', "Role: 0/1", true, false},
{(void*) &int_protocol, T_NUM, 'p', "PSI protocol (0: Naive, 1: TTP, 2: DH, 3: OT)", true, false},
{(void*) filename, T_STR, 'f', "Input file", true, false},
{(void*) address, T_STR, 'a', "IP-address", false, false},
{(void*) nelements, T_NUM, 'n', "Num elements", false, false},
{(void*) detailed_timings, T_FLAG, 't', "Flag: Detailed timings", false, false}
{(void*) address, T_STR, 'a', "Server IP-address (needed by both, client and server)", false, false},
{(void*) nelements, T_NUM, 'n', "Number of elements", false, false},
{(void*) detailed_timings, T_FLAG, 't', "Flag: Enable detailed timings", false, false}
};
if(!parse_options(argcp, argvp, options, sizeof(options)/sizeof(parsing_ctx))) {