emp-toolkit
halfgate_eva.h File Reference
#include "io_channel.h"
#include "net_io_channel.h"
#include "file_io_channel.h"
#include "block.h"
#include "utils.h"
#include "prp.h"
#include "hash.h"
#include "garble/garble_gate_halfgates.h"
#include <iostream>

Go to the source code of this file.

Classes

class  HalfGateEva< T, rt >
 
class  HalfGateEva< T, RTCktOpt::off >
 

Functions

template<typename T , RTCktOpt rt>
bool halfgate_eva_is_public (GarbleCircuit *gc, const block &b, int party)
 
template<typename T , RTCktOpt rt>
block halfgate_eva_public_label (GarbleCircuit *gc, bool b)
 
template<typename T , RTCktOpt rt>
block halfgate_eva_and (GarbleCircuit *gc, const block &a, const block &b)
 
template<typename T , RTCktOpt rt>
block halfgate_eva_xor (GarbleCircuit *gc, const block &a, const block &b)
 
template<typename T , RTCktOpt rt>
block halfgate_eva_not (GarbleCircuit *gc, const block &a)
 

Function Documentation

§ halfgate_eva_and()

template<typename T , RTCktOpt rt>
block halfgate_eva_and ( GarbleCircuit gc,
const block a,
const block b 
)

§ halfgate_eva_is_public()

template<typename T , RTCktOpt rt>
bool halfgate_eva_is_public ( GarbleCircuit gc,
const block b,
int  party 
)

§ halfgate_eva_not()

template<typename T , RTCktOpt rt>
block halfgate_eva_not ( GarbleCircuit gc,
const block a 
)

§ halfgate_eva_public_label()

template<typename T , RTCktOpt rt>
block halfgate_eva_public_label ( GarbleCircuit gc,
bool  b 
)

§ halfgate_eva_xor()

template<typename T , RTCktOpt rt>
block halfgate_eva_xor ( GarbleCircuit gc,
const block a,
const block b 
)