|
myl7/fss 1.1.0
Function secret sharing (FSS) primitives including distributed point/comparison function (DPF/DCF)
|
ChaCha as a PRG. More...
Public Member Functions | |
| ChaCha (const int *nonce) | |
| Constructor. | |
| cuda::std::array< int4, mul > | Gen (int4 seed) |
ChaCha as a PRG.
| mul | See Prgable mul. For this class, can only be 1, 2, or 4. |
| rounds | Security parameter. The default value is secure enough and widely used, thus preferred. |
|
inline |
Constructor.
| nonce | Can be randomly sampled by users. Read-only and can be shared by multiple instances. Users are responsible for managing their lifetime. |