|
myl7/fss 2.0.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
Own a host parity-tree allocation and expose a borrowed, read-only view. More...
Public Member Functions | |
| OwnedParityTree (std::unique_ptr< bool[]> p) | |
| Take ownership of an already populated host parity tree. | |
| Scheme::ParityTreeView | View () const & |
| Return a view borrowing this live owner's host allocation. | |
| Scheme::ParityTreeView | View () const &&=delete |
| Reject a temporary owner whose borrowed view would immediately dangle. | |
Own a host parity-tree allocation and expose a borrowed, read-only view.
This move-only owner does not copy storage to a GPU. Views remain valid until the allocation is destroyed or replaced, including after ownership is moved.
| Scheme | GrottoDcf specialization describing the tree. |
|
inlineexplicit |
Take ownership of an already populated host parity tree.
| p | Level-order tree with 2^(in_bits+1)-1 entries for Scheme. |