myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
Loading...
Searching...
No Matches
util.cuh File Reference
#include <cuda_runtime.h>
#include <cuda/std/array>
#include <cuda/std/span>
#include <omp.h>

Go to the source code of this file.

Functions

int4 fss::util::Xor (int4 lhs, int4 rhs)
 
cuda::std::array< int4, 2 > fss::util::Xor (cuda::std::span< const int4, 2 > lhs, cuda::std::span< const int4, 2 > rhs)
 
cuda::std::array< int4, 4 > fss::util::Xor (cuda::std::span< const int4, 4 > lhs, cuda::std::span< const int4, 4 > rhs)
 
int4 fss::util::SetLsb (int4 val, bool bit)
 
bool fss::util::GetLsb (int4 val)
 
int fss::util::ResolveParDepth (int par_depth)
 
template<typename In >
int4 fss::util::Pack (In val)
 

Detailed Description

Author
Yulong Ming i@myl.nosp@m.7.or.nosp@m.g