diff --git a/include/mcl/ec.hpp b/include/mcl/ec.hpp index 0b3c369..2c5ff85 100644 --- a/include/mcl/ec.hpp +++ b/include/mcl/ec.hpp @@ -445,18 +445,6 @@ public: { compressedExpression_ = compressedExpression; } - /* - append to bv(not clear bv) - */ - static inline size_t getBitVecSize() - { - const size_t bitLen = _Fp::getModBitLen(); - if (compressedExpression_) { - return bitLen + 2; - } else { - return bitLen * 2 + 1;; - } - } static inline void getYfromX(Fp& y, const Fp& x, bool isYodd) { Fp t; diff --git a/include/mcl/fp.hpp b/include/mcl/fp.hpp index b304179..54807e0 100644 --- a/include/mcl/fp.hpp +++ b/include/mcl/fp.hpp @@ -297,7 +297,6 @@ public: return fp::compareArray(v_, op_.p, op_.N) < 0; } static inline size_t getModBitLen() { return op_.bitLen; } - static inline size_t getBitVecSize() { return op_.bitLen; } bool operator==(const FpT& rhs) const { return fp::isEqualArray(v_, rhs.v_, op_.N); } bool operator!=(const FpT& rhs) const { return !operator==(rhs); } inline friend FpT operator+(const FpT& x, const FpT& y) { FpT z; add(z, x, y); return z; }