Skip to content

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lzjluzijie committed Nov 23, 2023
1 parent e68797a commit 4553a83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions libOTe/Vole/Subfield/SilentVoleReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,12 @@ namespace osuCrypto::Subfield
mExConvEncoder.setTimer(getTimer());
}

mExConvEncoder.template dualEncode2<F, G>(
mA.subspan(0, mExConvEncoder.mCodeSize),
mC.subspan(0, mExConvEncoder.mCodeSize)
);
// mExConvEncoder.template dualEncode2<F, G>(
// mA.subspan(0, mExConvEncoder.mCodeSize),
// mC.subspan(0, mExConvEncoder.mCodeSize)
// );
mExConvEncoder.template dualEncode<F>(mA.subspan(0, mExConvEncoder.mCodeSize));
mExConvEncoder.template dualEncode<G>(mC.subspan(0, mExConvEncoder.mCodeSize));

break;
default:
Expand Down
1 change: 1 addition & 0 deletions libOTe_Tests/Subfield_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ namespace osuCrypto::Subfield
code.dualEncode<block>(z1);
code.dualEncode<block>(z0);
code.dualEncode<block>(y);
// code.dualEncode2<block, block>(z0, y);

for (u64 i = 0; i < n; ++i)
{
Expand Down

0 comments on commit 4553a83

Please sign in to comment.