|
myl7/fss 2.0.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
Own packed host leaves and their block-parity tree. More...
Public Member Functions | |
| OwnedPackedParityTree (std::unique_ptr< int4[]> blocks, std::unique_ptr< bool[]> p) | |
| Take ownership of populated packed leaves and block-parity entries. | |
| Scheme::ParityTreeView | View () const & |
| Return a view borrowing both allocations from this live owner. | |
| Scheme::ParityTreeView | View () const &&=delete |
| Reject a temporary owner whose borrowed view would immediately dangle. | |
Own packed host leaves and their block-parity tree.
This move-only owner does not transfer storage to a GPU. Views borrow both allocations and remain valid while those allocations remain alive.
| Scheme | HalfTreeGrottoDcf specialization describing the tree. |
|
inlineexplicit |
Take ownership of populated packed leaves and block-parity entries.
| blocks | Array of 2^Scheme::kDepth packed leaf blocks. |
| p | Level-order parity tree with 2^(Scheme::kDepth+1)-1 bool entries. |