aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-05-27 14:45:22 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-05-27 14:45:22 +0800
commit600cc468d8884edbd8945dbe55cf2e86e5b48ed7 (patch)
tree238349aa5b3b4f68721edb7320d26b7310d8c516
parentb0249247f4aee3fd292fb177f3504c2042701dfc (diff)
downloaddexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar.gz
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar.bz2
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar.lz
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar.xz
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.tar.zst
dexon-bls-600cc468d8884edbd8945dbe55cf2e86e5b48ed7.zip
rename mcl::Vector to mcl::Array
-rw-r--r--src/bls_c.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp
index d3ad2f5..c7541a6 100644
--- a/src/bls_c.cpp
+++ b/src/bls_c.cpp
@@ -17,9 +17,9 @@
*/
static G2 g_Q;
-static mcl::Vector<Fp6> g_Qcoeff; // precomputed Q
+static mcl::Array<Fp6> g_Qcoeff; // precomputed Q
static const G2& getQ() { return g_Q; }
-static const mcl::Vector<Fp6>& getQcoeff() { return g_Qcoeff; }
+static const mcl::Array<Fp6>& getQcoeff() { return g_Qcoeff; }
int blsInitNotThreadSafe(int curve, int maxUnitSize)
{
@@ -79,7 +79,7 @@ static inline const mclBnG2 *cast(const G2* x) { return (const mclBnG2*)x; }
*/
bool isEqualTwoPairings(const G1& P1, const Fp6* Q1coeff, const G1& P2, const G2& Q2)
{
- mcl::Vector<Fp6> Q2coeff;
+ mcl::Array<Fp6> Q2coeff;
if (!precomputeG2(Q2coeff, Q2)) return false;
Fp12 e;
precomputedMillerLoop2(e, P1, Q1coeff, -P2, Q2coeff.data());