#include <ot_hl17.h>
|
| | OtHL17 (std::function< void(flatbuffers::FlatBufferBuilder &&)> send, BaseOtData &data_storage) |
| |
| std::vector< std::pair< std::vector< std::byte >, std::vector< std::byte > > > | Send (size_t) override |
| |
| std::vector< std::vector< std::byte > > | Receive (const BitVector<> &) override |
| |
| virtual | ~RandomOt ()=default |
| |
A random OT implementation based on the protocol by Hauck and Loss (2017). https://eprint.iacr.org/2017/1011
◆ OtHL17()
| encrypto::motion::OtHL17::OtHL17 |
( |
std::function< void(flatbuffers::FlatBufferBuilder &&)> |
send, |
|
|
BaseOtData & |
data_storage |
|
) |
| |
◆ Receive()
| std::vector< std::vector< std::byte > > encrypto::motion::OtHL17::Receive |
( |
const BitVector<> & |
choices | ) |
|
|
overridevirtual |
◆ Send()
| std::vector< std::pair< std::vector< std::byte >, std::vector< std::byte > > > encrypto::motion::OtHL17::Send |
( |
size_t |
number_of_ots | ) |
|
|
overridevirtual |
Send/receive for a single random OT. Send/receive parts of the random OT protocol (batch version).
Implements encrypto::motion::RandomOt.
The documentation for this class was generated from the following files: