diff options
Diffstat (limited to 'src/bls.cpp')
-rw-r--r-- | src/bls.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bls.cpp b/src/bls.cpp index d017930..8c6ff4a 100644 --- a/src/bls.cpp +++ b/src/bls.cpp @@ -113,7 +113,7 @@ static void calcDelta(FrVec& delta, const IntVec& S) } template<class G, class T> -void LagrangeIntepolation(G& r, const T& vec) +void LagrangeInterpolation(G& r, const T& vec) { IntVec S(vec.size()); for (size_t i = 0; i < vec.size(); i++) { @@ -230,7 +230,7 @@ std::istream& operator>>(std::istream& os, Sign& s) void Sign::recover(const std::vector<Sign>& signVec) { G1 sHm; - LagrangeIntepolation(sHm, signVec); + LagrangeInterpolation(sHm, signVec); self_->sHm = sHm; id_ = 0; } @@ -378,7 +378,7 @@ void PrivateKey::share(std::vector<PrivateKey>& prvVec, int n, int k) void PrivateKey::recover(const std::vector<PrivateKey>& prvVec) { Fr s; - LagrangeIntepolation(s, prvVec); + LagrangeInterpolation(s, prvVec); self_->s = s; id_ = 0; } |