ABY Framework
1.0
Arithmetic Bool Yao Framework
|
Implementation of PSI using Phasing. More...
#include "../../../abycore/circuit/booleancircuits.h"
#include "../../../abycore/circuit/arithmeticcircuits.h"
#include "../../../abycore/circuit/circuit.h"
#include "../../../abycore/aby/abyparty.h"
#include "hashing/cuckoo.h"
#include "hashing/hashing_util.h"
#include "hashing/simple_hashing.h"
#include <cassert>
Go to the source code of this file.
Functions | |
int32_t | test_phasing_circuit (e_role role, char *address, seclvl seclvl, uint32_t nvals, 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) |
share * | BuildPhasingCircuit (share **shr_srv_set, share *shr_cli_set, uint32_t binsize, BooleanCircuit *circ) |
share * | BuildPhasingStashCircuit (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) |
Implementation of PSI using Phasing.