| 19 | #include "OTCorrelator.hpp" |
| 20 | |
| 21 | OTExtensionWithMatrix OTExtensionWithMatrix::setup(TwoPartyPlayer& player, |
| 22 | int128 delta, OT_ROLE role, bool passive) |
| 23 | { |
| 24 | BaseOT baseOT(128, &player, INV_ROLE(role)); |
| 25 | PRNG G; |
| 26 | G.ReSeed(); |
| 27 | baseOT.set_receiver_inputs(delta); |
| 28 | baseOT.exec_base(false); |
| 29 | return OTExtensionWithMatrix(baseOT, &player, passive); |
| 30 | } |
| 31 | |
| 32 | OTExtensionWithMatrix::OTExtensionWithMatrix(BaseOT& baseOT, TwoPartyPlayer* player, |
| 33 | bool passive) : OTCorrelator(baseOT, player, passive) |
nothing calls this directly
no test coverage detected