diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-21 09:45:07 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-21 09:45:07 +0800 |
commit | a04b1099b6e241319319a418a3e38001ace1bbbd (patch) | |
tree | cbf79842954a4f1b655b801ac6c0965923232300 | |
parent | 47767251a1ae236b0813484bcaebd4d104c76fa2 (diff) | |
download | dexon-mcl-a04b1099b6e241319319a418a3e38001ace1bbbd.tar.gz dexon-mcl-a04b1099b6e241319319a418a3e38001ace1bbbd.tar.zst dexon-mcl-a04b1099b6e241319319a418a3e38001ace1bbbd.zip |
remove warning of vc15
-rw-r--r-- | sample/pairing.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sample/pairing.cpp b/sample/pairing.cpp index 9db375c..09a30d5 100644 --- a/sample/pairing.cpp +++ b/sample/pairing.cpp @@ -2,11 +2,6 @@ using namespace mcl::bn256; -const char *aa = "12723517038133731887338407189719511622662176727675373276651903807414909099441"; -const char *ab = "4168783608814932154536427934509895782246573715297911553964171371032945126671"; -const char *ba = "13891744915211034074451795021214165905772212241412891944830863846330766296736"; -const char *bb = "7937318970632701341203597196594272556916396164729705624521405069090520231616"; - void minimum_sample(const G1& P, const G2& Q) { const mpz_class a = 123; @@ -45,6 +40,11 @@ void precomputed(const G1& P, const G2& Q) int main() { + const char *aa = "12723517038133731887338407189719511622662176727675373276651903807414909099441"; + const char *ab = "4168783608814932154536427934509895782246573715297911553964171371032945126671"; + const char *ba = "13891744915211034074451795021214165905772212241412891944830863846330766296736"; + const char *bb = "7937318970632701341203597196594272556916396164729705624521405069090520231616"; + bn256init(); G2 Q(Fp2(aa, ab), Fp2(ba, bb)); G1 P(-1, 1); |