myl7/fss
2.0.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
9
10
#pragma once
11
#include <cuda_runtime.h>
12
#include <concepts>
13
23
template
<
typename
Prp>
24
concept
Permutable
=
requires
(Prp prp, int4 seed, __uint128_t x, __uint128_t domain_size) {
25
{ prp.Permu(seed, x, domain_size) } -> std::same_as<__uint128_t>;
26
};
Permutable
Small-domain pseudorandom permutation (PRP) interface.
Definition
prp.cuh:24
include
fss
prp.cuh
Generated by
1.15.0