| |
- np_pseudorandom_share(field, m, i, prfs, uci, n)
- Return pseudorandom Shamir shares for party i for n random numbers.
The shares are based on the pseudorandom functions for party i,
given in prfs, which maps subsets of parties to PRF instances.
Input uci is used to evaluate the PRFs on a unique common input.
- np_pseudorandom_share_0(field, m, i, prfs, uci, n)
- Return pseudorandom Shamir shares for party i for n sharings of 0.
The shares are based on the pseudorandom functions for party i,
given in prfs, which maps subsets of parties to PRF instances.
Input uci is used to evaluate the PRFs on a unique common input.
- np_random_split(field, s, t, m)
- Split each secret given in s into m random Shamir shares.
The (maximum) degree for the Shamir polynomials is t, 0 <= t < m.
Return matrix of shares, one row per party.
- np_recombine(field, points, x_rs=0)
- Recombine shares given by points into secrets.
Recombination is done for x-coordinates x_rs.
- pseudorandom_share(field, m, i, prfs, uci, n)
- Return pseudorandom Shamir shares for party i for n random numbers.
The shares are based on the pseudorandom functions for party i,
given in prfs, which maps subsets of parties to PRF instances.
Input uci is used to evaluate the PRFs on a unique common input.
- pseudorandom_share_zero(field, m, i, prfs, uci, n)
- Return pseudorandom Shamir shares for party i for n sharings of 0.
The shares are based on the pseudorandom functions for party i,
given in prfs, which maps subsets of parties to PRF instances.
Input uci is used to evaluate the PRFs on a unique common input.
- random_split(field, s, t, m)
- Split each secret given in s into m random Shamir shares.
The (maximum) degree for the Shamir polynomials is t, 0 <= t < m.
Return matrix of shares, one row per party.
- recombine(field, points, x_rs=0)
- Recombine shares given by points into secrets.
Recombination is done for x-coordinates x_rs.
|