|
myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
Small-domain AES-128 Feistel PRP for Cuckoo hashing. More...
Public Member Functions | |
| __uint128_t | Permu (int4 seed, __uint128_t x, __uint128_t domain) |
| Small-domain PRP on [0, domain) using 4-round Feistel + cycle-walking. | |
Small-domain AES-128 Feistel PRP for Cuckoo hashing.
This backend is host-only because it uses OpenSSL. It satisfies Permutable and is intended for VDMPF setup paths that need a permutation over a compact integer domain.
|
inline |
Small-domain PRP on [0, domain) using 4-round Feistel + cycle-walking.
Host-only.
| seed | 16-byte PRP key. |
| x | Input in [0, domain). |
| domain | Domain size. Must be >= 2. |