aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-11 11:09:52 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-11 11:09:59 +0800
commit6293942d3896de58eacf8282bf6c055bedf59a63 (patch)
tree2639eff4ccc0c3319335e998dd671ed48f673012
parent8c22276570be3e3b78b159f90f6784988a6be3cc (diff)
downloaddexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar.gz
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar.bz2
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar.lz
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar.xz
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.tar.zst
dexon-bls-6293942d3896de58eacf8282bf6c055bedf59a63.zip
fix typo
-rw-r--r--include/bls.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/bls.hpp b/include/bls.hpp
index 99d6ac3..2ba7ef5 100644
--- a/include/bls.hpp
+++ b/include/bls.hpp
@@ -28,7 +28,7 @@ class Sign {
friend class PublicKey;
friend class PrivateKey;
template<class G, class T>
- friend void LagrangeIntepolation(G& r, const T& vec);
+ friend void LagrangeInterpolation(G& r, const T& vec);
public:
Sign();
~Sign();
@@ -52,6 +52,8 @@ class PublicKey {
impl::PublicKey *self_;
int id_;
friend class PrivateKey;
+ template<class G, class T>
+ friend void LagrangeInterpolation(G& r, const T& vec);
public:
PublicKey();
~PublicKey();
@@ -71,7 +73,7 @@ class PrivateKey {
impl::PrivateKey *self_;
int id_; // master if id_ = 0, shared if id_ > 0
template<class G, class T>
- friend void LagrangeIntepolation(G& r, const T& vec);
+ friend void LagrangeInterpolation(G& r, const T& vec);
public:
PrivateKey();
~PrivateKey();