ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
min-euclidean-dist-circuit.h
Go to the documentation of this file.
1 
19 #ifndef __MIN_EUCL_DIST_H_
20 #define __MIN_EUCL_DIST_H_
21 
22 #include "../../../abycore/circuit/circuit.h"
23 #include "../../../abycore/aby/abyparty.h"
24 #include <cassert>
25 
26 uint64_t verify_min_euclidean_dist(uint32_t** serverdb, uint32_t* clientquery, uint32_t dbsize, uint32_t dim);
27 int32_t test_min_eucliden_dist_circuit(e_role role, char* address, seclvl seclvl, uint32_t dbsize, uint32_t dim,
28  uint32_t nthreads, e_mt_gen_alg mt_alg, e_sharing dstsharing, e_sharing minsharing);
29 share* build_min_euclidean_dist_circuit(share*** S, share** C, uint32_t n, uint32_t d, share** Ssqr, share* Csqr,
30  Circuit* distcirc, BooleanCircuit* mincirc);
31 
32 
33 #endif /* __MIN_EUCL_DIST_H_ */
Definition: booleancircuits.h:27
e_mt_gen_alg
Enumeration which defines the method that is used for arithmetic multiplication triple generation...
Definition: constants.h:55
Definition: circuit.h:258
e_role
Defines the role of the party or the source / target for certain operations (e.g., input/output)
Definition: constants.h:139
Definition: typedefs.h:79
e_sharing
Enumeration which defines the different sharing which are there in the framework. ...
Definition: constants.h:124
Definition: circuit.h:30