myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
Loading...
Searching...
No Matches
prp.cuh
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
10#pragma once
11#include <cuda_runtime.h>
12#include <concepts>
13
22template <typename Prp>
23concept Permutable = requires(Prp prp, int4 seed, __uint128_t x, __uint128_t domain) {
24 { prp.Permu(seed, x, domain) } -> std::same_as<__uint128_t>;
25};
Small-domain pseudorandom permutation (PRP) interface.
Definition prp.cuh:23