From 6ddd384494f8a938f2a24fca72256c04ce1b24c5 Mon Sep 17 00:00:00 2001 From: Halulu Date: Thu, 11 Jan 2024 13:05:06 +0800 Subject: [PATCH] clear --- libOTe/Tools/Subfield/Subfield.h | 21 --------------------- libOTe/Tools/Subfield/SubfieldPprf.h | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/libOTe/Tools/Subfield/Subfield.h b/libOTe/Tools/Subfield/Subfield.h index 4d7878d..1d14529 100644 --- a/libOTe/Tools/Subfield/Subfield.h +++ b/libOTe/Tools/Subfield/Subfield.h @@ -8,27 +8,6 @@ namespace osuCrypto::Subfield { block b; F128() = default; explicit F128(const block& b) : b(b) {} -// OC_FORCEINLINE F128 operator+(const F128& rhs) const { -// F128 ret; -// ret.b = b ^ rhs.b; -// return ret; -// } -// OC_FORCEINLINE F128 operator-(const F128& rhs) const { -// F128 ret; -// ret.b = b ^ rhs.b; -// return ret; -// } -// OC_FORCEINLINE F128 operator*(const F128& rhs) const { -// F128 ret; -// ret.b = b.gf128Mul(rhs.b); -// return ret; -// } -// OC_FORCEINLINE bool operator==(const F128& rhs) const { -// return b == rhs.b; -// } -// OC_FORCEINLINE bool operator!=(const F128& rhs) const { -// return b != rhs.b; -// } }; /* diff --git a/libOTe/Tools/Subfield/SubfieldPprf.h b/libOTe/Tools/Subfield/SubfieldPprf.h index 24549b8..a3d4a46 100644 --- a/libOTe/Tools/Subfield/SubfieldPprf.h +++ b/libOTe/Tools/Subfield/SubfieldPprf.h @@ -956,7 +956,7 @@ namespace osuCrypto::Subfield // Subfield: if (d == mDepth - 1) { if (lastLevel.size() <= childIdx) { - // todo + // todo: I have fix in my old code, not sure we need this for the new pprf throw RTE_LOC; } auto& realChild = lastLevel[childIdx];