From 4553a83006d0a932965cdf3bd67bd596a2573a1a Mon Sep 17 00:00:00 2001 From: Halulu Date: Thu, 23 Nov 2023 19:52:02 +0800 Subject: [PATCH] temp fix --- libOTe/Vole/Subfield/SilentVoleReceiver.h | 10 ++++++---- libOTe_Tests/Subfield_Tests.cpp | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libOTe/Vole/Subfield/SilentVoleReceiver.h b/libOTe/Vole/Subfield/SilentVoleReceiver.h index 3a4e25f..a18792a 100644 --- a/libOTe/Vole/Subfield/SilentVoleReceiver.h +++ b/libOTe/Vole/Subfield/SilentVoleReceiver.h @@ -527,10 +527,12 @@ namespace osuCrypto::Subfield mExConvEncoder.setTimer(getTimer()); } - mExConvEncoder.template dualEncode2( - mA.subspan(0, mExConvEncoder.mCodeSize), - mC.subspan(0, mExConvEncoder.mCodeSize) - ); +// mExConvEncoder.template dualEncode2( +// mA.subspan(0, mExConvEncoder.mCodeSize), +// mC.subspan(0, mExConvEncoder.mCodeSize) +// ); + mExConvEncoder.template dualEncode(mA.subspan(0, mExConvEncoder.mCodeSize)); + mExConvEncoder.template dualEncode(mC.subspan(0, mExConvEncoder.mCodeSize)); break; default: diff --git a/libOTe_Tests/Subfield_Tests.cpp b/libOTe_Tests/Subfield_Tests.cpp index 20d3a0f..a34bae4 100644 --- a/libOTe_Tests/Subfield_Tests.cpp +++ b/libOTe_Tests/Subfield_Tests.cpp @@ -33,6 +33,7 @@ namespace osuCrypto::Subfield code.dualEncode(z1); code.dualEncode(z0); code.dualEncode(y); +// code.dualEncode2(z0, y); for (u64 i = 0; i < n; ++i) {