rdpf.hpp 466 B

123456789101112131415
  1. #ifndef __RDPF_HPP__
  2. #define __RDPF_HPP__
  3. #include "mpcio.hpp"
  4. #include "coroutine.hpp"
  5. #include "types.hpp"
  6. // Construct a DPF of the given depth to be used for random-access
  7. // memory reads and writes. The DPF is construction collaboratively by
  8. // P0 and P1, with the server P2 helping by providing various kinds of
  9. // correlated randomness, such as MultTriples and AndTriples.
  10. void rdpf_gen(MPCTIO &tio, yield_t &yield,
  11. RDPF &rdpf, nbits_t depth);
  12. #endif