Skip to content

Commit

Permalink
clear
Browse files Browse the repository at this point in the history
  • Loading branch information
lzjluzijie committed Jan 11, 2024
1 parent eb99b62 commit 6ddd384
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions libOTe/Tools/Subfield/Subfield.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
// }
};

/*
Expand Down
2 changes: 1 addition & 1 deletion libOTe/Tools/Subfield/SubfieldPprf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 6ddd384

Please sign in to comment.