Skip to content

Commit

Permalink
aligned silent ot/vole gen base ots
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Oct 4, 2022
1 parent b6c8946 commit 9c3f118
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libOTe/TwoChooseOne/Silent/SilentOtExtReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace osuCrypto
{
MC_BEGIN(task<>, this, &prng, &chl, useOtExtension,
choice = sampleBaseChoiceBits(prng),
msg = std::vector<block>{},
msg = AlignedUnVector<block>{},
base = DefaultBaseOT{}
);

Expand Down
2 changes: 1 addition & 1 deletion libOTe/TwoChooseOne/Silent/SilentOtExtSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace osuCrypto
task<> SilentOtExtSender::genSilentBaseOts(PRNG& prng, Socket& chl, bool useOtExtension)
{
MC_BEGIN(task<>, this, &prng, &chl, useOtExtension,
msg = std::vector<std::array<block, 2>>(silentBaseOtCount()),
msg = AlignedUnVector<std::array<block, 2>>(silentBaseOtCount()),
base = DefaultBaseOT{}
);

Expand Down
2 changes: 1 addition & 1 deletion libOTe/Vole/Silent/SilentVoleReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ namespace osuCrypto
MC_BEGIN(task<>, this, &prng, &chl,
choice = BitVector{},
bb = BitVector{},
msg = std::vector<block>{},
msg = AlignedUnVector<block>{},
baseVole = std::vector<block>{},
baseOt = DefaultBaseOT{},
chl2 = Socket{},
Expand Down
2 changes: 1 addition & 1 deletion libOTe/Vole/Silent/SilentVoleSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace osuCrypto
task<> SilentVoleSender::genSilentBaseOts(PRNG& prng, Socket& chl, cp::optional<block> delta)
{
MC_BEGIN(task<>,this, delta, &prng, &chl,
msg = std::vector<std::array<block, 2>>(silentBaseOtCount()),
msg = AlignedUnVector<std::array<block, 2>>(silentBaseOtCount()),
baseOt = DefaultBaseOT{},
prng2 = std::move(PRNG{}),
xx = BitVector{},
Expand Down

0 comments on commit 9c3f118

Please sign in to comment.