myl7/fss 2.0.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
Loading...
Searching...
No Matches
fss::HalfTreeDpf< in_bits, Group, Hash, In >::Cw Struct Reference

Correction word. More...

Public Attributes

int4 s
 Seed correction word, or final HCW with LCW_0 in its least significant bit.
bool extra
 Final tree-level LCW_1. Ignored in earlier levels and the output correction word.

Detailed Description

template<int in_bits, typename Group, typename Hash, typename In = uint>
struct fss::HalfTreeDpf< in_bits, Group, Hash, In >::Cw

Correction word.

For levels 1..n-1, s is the CW and extra is unused (false). For level n, s stores SetLsb(HCW, LCW_0) and extra stores LCW_1. The final entry cws[in_bits] stores the output correction word in s. Its extra is false after Gen() and is ignored by evaluation.


The documentation for this struct was generated from the following file: