mirror of
https://github.com/encryptogroup/PSI.git
synced 2024-03-22 13:30:44 +08:00
More explanation on the command-line options; Alice emails fixed to equal result in Readme.
This commit is contained in:
parent
0deb7637c6
commit
4c16bad844
|
@ -17,7 +17,6 @@ Orhan.Emde@live.com
|
||||||
Kasimir.Knauf@live.co.uk
|
Kasimir.Knauf@live.co.uk
|
||||||
KlausPeter.Schaper@hotmail.com
|
KlausPeter.Schaper@hotmail.com
|
||||||
Torben.Spieß@neuf.fr
|
Torben.Spieß@neuf.fr
|
||||||
Günther.Zoller@googlemail.com
|
|
||||||
Martina.Haimerl@live.com.mx
|
Martina.Haimerl@live.com.mx
|
||||||
Mehdi.Freudenberg@fastmail.fm
|
Mehdi.Freudenberg@fastmail.fm
|
||||||
Mariechen.Seibert@rambler.ru
|
Mariechen.Seibert@rambler.ru
|
||||||
|
@ -41,7 +40,6 @@ Helmut.Ebeling@hotmail.es
|
||||||
Richard.Grenz@virginmedia.com
|
Richard.Grenz@virginmedia.com
|
||||||
Kathrin.Dengler@charter.net
|
Kathrin.Dengler@charter.net
|
||||||
Jadwiga.Held@orange.fr
|
Jadwiga.Held@orange.fr
|
||||||
Franz-Xaver.Gentner@gmx.com
|
|
||||||
Peter-Michael.Petry@hush.com
|
Peter-Michael.Petry@hush.com
|
||||||
Mahmut.Arnold@yahoo.com
|
Mahmut.Arnold@yahoo.com
|
||||||
Siegmund.Preis@laposte.net
|
Siegmund.Preis@laposte.net
|
||||||
|
@ -1022,3 +1020,5 @@ Michaela.Petry@wanadoo.fr
|
||||||
Bastian.Piel@hotmail.fr
|
Bastian.Piel@hotmail.fr
|
||||||
Hubertine.Roder@hotmail.co.uk
|
Hubertine.Roder@hotmail.co.uk
|
||||||
Andrey.Eckardt@tvcablenet.be
|
Andrey.Eckardt@tvcablenet.be
|
||||||
|
Tine.Wichtel@freenet.de
|
||||||
|
Mohammed.Li@gmx.de
|
||||||
|
|
|
@ -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},
|
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*) &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*) nelements, T_NUM, 'n', "Number of elements", true, false},
|
||||||
{(void*) bytelen, T_NUM, 'b', "Byte length", true, false},
|
{(void*) bytelen, T_NUM, 'b', "Byte length of elements", true, false},
|
||||||
{(void*) secparam, T_NUM, 's', "Symmetric Security Bits", false, false},
|
{(void*) secparam, T_NUM, 's', "Symmetric Security Bits (default: 128)", false, false},
|
||||||
{(void*) address, T_STR, 'a', "IP-address", 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*) &int_port, T_NUM, 'o', "Port", false, false},
|
||||||
{(void*) ntasks, T_NUM, 't', "Number of threads", 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*) 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*) 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*) 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*) &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))) {
|
if(!parse_options(argcp, argvp, options, sizeof(options)/sizeof(parsing_ctx))) {
|
||||||
|
|
|
@ -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},
|
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*) &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*) filename, T_STR, 'f', "Input file", true, false},
|
||||||
{(void*) address, T_STR, 'a', "IP-address", false, false},
|
{(void*) address, T_STR, 'a', "Server IP-address (needed by both, client and server)", false, false},
|
||||||
{(void*) nelements, T_NUM, 'n', "Num elements", false, false},
|
{(void*) nelements, T_NUM, 'n', "Number of elements", false, false},
|
||||||
{(void*) detailed_timings, T_FLAG, 't', "Flag: Detailed timings", 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))) {
|
if(!parse_options(argcp, argvp, options, sizeof(options)/sizeof(parsing_ctx))) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user