myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
Loading...
Searching...
No Matches
Permutable Concept Reference

Small-domain pseudorandom permutation (PRP) interface. More...

Concept definition

template<typename Prp>
concept Permutable = requires(Prp prp, int4 seed, __uint128_t x, __uint128_t domain) {
{ prp.Permu(seed, x, domain) } -> std::same_as<__uint128_t>;
}
Small-domain pseudorandom permutation (PRP) interface.
Definition prp.cuh:23

Detailed Description

Small-domain pseudorandom permutation (PRP) interface.

Required to be cryptographically secure.

Permu(seed, x, domain) is a keyed permutation on [0, domain). The seed is a 16-byte key.