ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Functions
phasing_circuit.cpp File Reference

Implementation of ABYSetIntersection. More...

#include "phasing_circuit.h"
#include <math.h>
#include <cassert>
Include dependency graph for phasing_circuit.cpp:

Functions

int32_t test_phasing_circuit (e_role role, char *address, seclvl seclvl, uint32_t neles, uint32_t bitlen, double epsilon, uint32_t nthreads, e_mt_gen_alg mt_alg, e_sharing sharing)
 
void sample_random_elements (uint32_t neles, uint32_t bitlen, uint32_t *srv_set, uint32_t *cli_set)
 
void set_fixed_elements (uint32_t neles, uint32_t bitlen, uint32_t *srv_set, uint32_t *cli_set)
 
shareBuildPhasingCircuit (share **shr_srv_set, share *shr_cli_set, uint32_t binsize, BooleanCircuit *circ)
 
shareBuildPhasingStashCircuit (share *shr_srv_set, share **shr_cli_stash, uint32_t neles, uint32_t bitlen, uint32_t maxstashsize, BooleanCircuit *circ)
 
void ServerHashingRoutine (uint8_t *elements, uint32_t neles, uint32_t elebitlen, uint32_t nbins, uint32_t *maxbinsize, uint8_t **hash_table, uint32_t *outbitlen, uint32_t ntasks, crypto *crypt)
 
void ClientHashingRoutine (uint8_t *elements, uint32_t neles, uint32_t elebitlen, uint32_t nbins, uint8_t **hash_table, uint32_t *inv_perm, uint32_t *outbitlen, uint8_t **stash, uint32_t maxstashsize, uint32_t **stashperm, uint32_t ntasks, crypto *crypt)
 
void pad_elements (uint8_t *hash_table, uint32_t elebytelen, uint32_t nbins, uint32_t *nelesinbin, uint32_t maxbinsize, uint8_t *padded_hash_table, uint8_t *dummy_element)
 
uint32_t compute_max_stash_size (uint32_t neles, uint32_t nbins)
 

Detailed Description

Implementation of ABYSetIntersection.

Author
micha.nosp@m.el.z.nosp@m.ohner.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de