aboutsummaryrefslogtreecommitdiffstats
path: root/include/mcl/bn.hpp
Commit message (Expand)AuthorAgeFilesLines
* fix testsw-encodeSonic2019-04-171-15/+28
* change hash function into FpSonic2019-04-171-1/+1
* sw-encodeSonic2019-04-171-0/+45
* add G1onlyMITSUNARI Shigeo2019-02-151-21/+83
* clear() is reducedMITSUNARI Shigeo2018-12-051-1/+6
* refactor fp_generator and the argument of Fp2::init() is changedMITSUNARI Shigeo2018-11-131-4/+4
* fix compile error if MCL_USE_OLD_MAPTO_FOR_BLS12 is definedMITSUNARI Shigeo2018-11-021-1/+1
* mapToFunction for BLS12 is changed to calcBNMITSUNARI Shigeo2018-09-221-1/+17
* shortcut of twist_b for BN254MITSUNARI Shigeo2018-09-161-1/+5
* shortcut of GLV2::init for BN254MITSUNARI Shigeo2018-09-161-4/+24
* use precomputed table for GLV1.init if possibleMITSUNARI Shigeo2018-09-041-8/+88
* add BN160 for low level testMITSUNARI Shigeo2018-08-181-0/+2
* remove some unused functionsMITSUNARI Shigeo2018-06-101-8/+0
* more generic template parameter of precomputeG2MITSUNARI Shigeo2018-06-101-2/+2
* precomputedMillerLoop2mixed for nonprecomputed Q1MITSUNARI Shigeo2018-06-101-4/+86
* avoid malloc for SingVecMITSUNARI Shigeo2018-06-101-1/+1
* fix ; bad flag checkMITSUNARI Shigeo2018-06-051-1/+1
* remove warning of vcMITSUNARI Shigeo2018-06-041-1/+0
* reduce including standard headersMITSUNARI Shigeo2018-05-271-2/+10
* build bn_c256 with -fno-exceptionsMITSUNARI Shigeo2018-05-271-16/+35
* reducing string/throwMITSUNARI Shigeo2018-05-271-1/+12
* split error and throwMITSUNARI Shigeo2018-05-271-21/+21
* rename vector.hpp to array.hppMITSUNARI Shigeo2018-05-271-4/+4
* remove std::stringMITSUNARI Shigeo2018-05-241-4/+9
* Vector without exceptionMITSUNARI Shigeo2018-05-231-1/+17
* all try are removed in bn_c_impl.hppMITSUNARI Shigeo2018-05-231-14/+35
* add bn::init wo exceptionMITSUNARI Shigeo2018-05-221-17/+38
* add Fp::init for mpz_classMITSUNARI Shigeo2018-05-221-1/+1
* rename mul_b_div_xi to mul_twist_bMITSUNARI Shigeo2018-05-211-2/+2
* reduce bit size of scalar multiplication on BLS12MITSUNARI Shigeo2018-04-251-18/+18
* refactor namespaceMITSUNARI Shigeo2018-04-251-890/+827
* scalar multiplication of G2/GT on BLS12 by GLV methodMITSUNARI Shigeo2018-04-241-24/+43
* enable GLV method for BLS12/G1MITSUNARI Shigeo2018-04-221-3/+2
* GLV method for BLS12MITSUNARI Shigeo2018-04-221-10/+30
* refactor G2::FrobeniusMITSUNARI Shigeo2018-04-191-166/+128
* refactor structure of BNMITSUNARI Shigeo2018-04-191-0/+117
* bench for setStr w/wo checkMITSUNARI Shigeo2018-04-051-0/+10
* rename curve nameMITSUNARI Shigeo2018-04-051-11/+11
* add mclBn_verifyOrderG1/G2MITSUNARI Shigeo2018-04-041-0/+3
* fix clear GLV for BLS12MITSUNARI Shigeo2018-04-041-1/+6
* refactor some classesMITSUNARI Shigeo2018-04-031-131/+107
* unify BNT and BasePairintTMITSUNARI Shigeo2018-04-031-54/+42
* remove bls12.hppMITSUNARI Shigeo2018-04-031-17/+1483
* remove default value of ParamT::initMITSUNARI Shigeo2018-04-031-1/+1
* unify MapToTMITSUNARI Shigeo2018-04-031-128/+2
* rename expHardPart as BN/BLS12MITSUNARI Shigeo2018-04-031-72/+6
* remove macro for bls12MITSUNARI Shigeo2018-04-011-2/+68
* unify curve paramMITSUNARI Shigeo2018-03-291-2/+2
* unify bn and bls12MITSUNARI Shigeo2018-03-291-37/+8
* remove old order of pairingsMITSUNARI Shigeo2018-03-181-7/+0
* [break backward compatibility] mapToG2 is changedMITSUNARI Shigeo2018-03-161-21/+55
* move HaveFrobenius to utilMITSUNARI Shigeo2018-03-141-53/+2
* remove MCL_DEVMITSUNARI Shigeo2018-03-141-1/+0
* BLS12::addLine is okMITSUNARI Shigeo2018-03-041-2/+1
* remove duplicate code in bls12.hppMITSUNARI Shigeo2018-03-031-917/+4
* move ParamT to utilMITSUNARI Shigeo2018-03-031-178/+21
* move some functions to pairing_util.hppMITSUNARI Shigeo2018-03-031-19/+5
* start to split bn.hppMITSUNARI Shigeo2018-03-021-30/+6
* use Fp2Dbl::mulPre instead of mulOptMITSUNARI Shigeo2018-03-021-63/+37
* MCL_DEV is okMITSUNARI Shigeo2018-03-021-142/+110
* use mul_025MITSUNARI Shigeo2018-02-271-28/+123
* add MCL_DEVMITSUNARI Shigeo2018-02-251-23/+46
* use mul_024MITSUNARI Shigeo2018-02-231-4/+2
* start to consider bls12MITSUNARI Shigeo2018-02-221-18/+67
* G2::Frobenius for MtypeMITSUNARI Shigeo2018-02-011-3/+28
* [she] save curveType in HashTableMITSUNARI Shigeo2017-12-281-0/+2
* add getCurveParam()MITSUNARI Shigeo2017-12-281-6/+20
* [bn] remove old unused codeMITSUNARI Shigeo2017-10-041-95/+0
* [bn] a little optimization of addLineWithoutPMITSUNARI Shigeo2017-10-041-29/+27
* [bn] mul_024 uses mulOptMITSUNARI Shigeo2017-10-041-17/+110
* [bn] a little optimization of mul_024MITSUNARI Shigeo2017-10-041-4/+65
* a little optimization for twist_b = 1 - 2iMITSUNARI Shigeo2017-09-181-12/+42
* 128-bit security BN curve is okMITSUNARI Shigeo2017-09-181-6/+2
* add BN462 parameter (but not run)MITSUNARI Shigeo2017-09-181-3/+7
* rename bnXXXinit to initPairing()MITSUNARI Shigeo2017-09-181-0/+1
* fix sign of Vint::adu1MITSUNARI Shigeo2017-09-171-14/+14
* rename AddFrobenius to HaveFrobeniusMITSUNARI Shigeo2017-08-031-4/+4
* change maxUnit does not depend on 64-bit modeMITSUNARI Shigeo2017-07-241-2/+2
* avoid zero-division if x = 1 in fixed_powerMITSUNARI Shigeo2017-07-241-0/+4
* fix mapTo function throws exception if t = 0MITSUNARI Shigeo2017-07-241-0/+1
* fix many bugs of VintMITSUNARI Shigeo2017-07-231-1/+1
* build ok;test ngMITSUNARI Shigeo2017-07-221-3/+3
* avoid _P because it is defined in androidMITSUNARI Shigeo2017-07-191-3/+3
* fix test on debug modeMITSUNARI Shigeo2017-07-071-1/+1
* rename FrobeniusOnTwist to G2withF::FrobeniusMITSUNARI Shigeo2017-07-071-144/+65
* Fp12::pow supports GLV methodMITSUNARI Shigeo2017-07-061-0/+117
* move const vars for Frobenius into fp_tower.hppMITSUNARI Shigeo2017-07-051-98/+6
* remove unused variablesMITSUNARI Shigeo2017-06-261-6/+0
* move Frobenius to Fp2MITSUNARI Shigeo2017-06-261-23/+8
* move unitaryInv to Fp12TMITSUNARI Shigeo2017-06-261-11/+3
* add const std::string& version of hashAndMapToGiMITSUNARI Shigeo2017-06-231-0/+8
* mulGeneric is constant timeMITSUNARI Shigeo2017-06-191-2/+2
* const time GVL::mul does not depent on bit lengthMITSUNARI Shigeo2017-06-161-81/+100
* implement GLV for G2MITSUNARI Shigeo2017-06-111-5/+171
* fix comment of gMITSUNARI Shigeo2017-06-081-2/+6
* rename GLV to GLV1MITSUNARI Shigeo2017-06-071-7/+7
* add hashAndMapToG{1,2}MITSUNARI Shigeo2017-06-071-0/+13
* change struct gmp to namespace gmpMITSUNARI Shigeo2017-05-121-2/+2
* rename getGoodRepl to getNAFMITSUNARI Shigeo2017-05-121-79/+2
* pairing(P, zero) should be 1MITSUNARI Shigeo2017-04-191-0/+10
* change 'Ec::normalize() const' to 'Ec::normalize()'MITSUNARI Shigeo2017-04-131-4/+9
* remove warning of vcMITSUNARI Shigeo2017-04-071-2/+2
* update referMITSUNARI Shigeo2017-04-071-2/+1
* use another GLV algo.MITSUNARI Shigeo2017-04-071-92/+44
* a little faster G1::mulMITSUNARI Shigeo2017-04-031-30/+51
* bug fix of mulCTrelease20170402MITSUNARI Shigeo2017-04-021-1/+2
* constTime version of GLV for G1MITSUNARI Shigeo2017-03-281-9/+19
* at first moduloMITSUNARI Shigeo2017-03-281-1/+1
* enable glv method for G1MITSUNARI Shigeo2017-03-271-1/+50
* start to imple GLV for G1MITSUNARI Shigeo2017-03-261-0/+105
* change type of z from mpz_class to const char*MITSUNARI Shigeo2017-03-111-8/+9
* add bn384_testMITSUNARI Shigeo2017-03-101-2/+4
* change type of CurveParam.zMITSUNARI Shigeo2017-03-101-10/+7
* add precomputed functions for CMITSUNARI Shigeo2017-03-081-18/+25
* add getPrecomputedQcoeffSizeMITSUNARI Shigeo2017-03-081-0/+11
* reduce posibility of calling mallocMITSUNARI Shigeo2017-02-161-0/+1
* remove old order argumentsMITSUNARI Shigeo2017-02-131-12/+0
* add wrapper functions ; BN::mapToGiMITSUNARI Shigeo2017-02-131-0/+2
* change the order of arguments of G1 and G2MITSUNARI Shigeo2017-02-121-20/+23
* reorder arguments P and Q of pairingMITSUNARI Shigeo2017-02-121-0/+16
* check order of G2MITSUNARI Shigeo2017-01-291-1/+2
* fix ; ensure that the elements by mapTo.calcG2 is in G2MITSUNARI Shigeo2017-01-281-4/+18
* add precomputedMillerLoop2MITSUNARI Shigeo2017-01-161-0/+52
* reduce copy of mulFp6cb_by_G1xyMITSUNARI Shigeo2017-01-161-15/+23
* add precomupted miller loopMITSUNARI Shigeo2017-01-161-4/+90
* enable Compress::fixed_power for Fp254BNbMITSUNARI Shigeo2017-01-141-7/+8
* split mapToCyclotomicMITSUNARI Shigeo2017-01-131-6/+10
* use Fp::divBy4MITSUNARI Shigeo2017-01-131-3/+3
* add Compress:fixed_power(TBD)MITSUNARI Shigeo2017-01-111-11/+175
* reduce temporary variables in exp_d1MITSUNARI Shigeo2017-01-111-24/+22
* precompute exp_ciMITSUNARI Shigeo2017-01-111-11/+14
* a little faster sqrFp4MITSUNARI Shigeo2016-12-281-0/+14
* merge loopMITSUNARI Shigeo2016-12-261-3/+2
* use faster pow_zMITSUNARI Shigeo2016-12-231-0/+16
* use Frobenius3MITSUNARI Shigeo2016-12-231-5/+17
* use sqrFp4MITSUNARI Shigeo2016-12-231-1/+1
* add Frobenius2MITSUNARI Shigeo2016-12-231-11/+42
* a little optimization of dblLineWithoutPMITSUNARI Shigeo2016-12-191-74/+7
* remove unused commentMITSUNARI Shigeo2016-12-191-2/+0
* fix dblLineWithoutP(TBD)MITSUNARI Shigeo2016-11-241-1/+1
* add operator<< for FpDbl, Fp2DblMITSUNARI Shigeo2016-11-241-1/+0
* rewriting dblLineWithoutPMITSUNARI Shigeo2016-11-231-1/+58
* test ok for snarkMITSUNARI Shigeo2016-11-171-2/+1
* comment out unused varMITSUNARI Shigeo2016-11-161-2/+2
* unify calcG1 and calcG2MITSUNARI Shigeo2016-10-171-48/+40
* add MapToG2MITSUNARI Shigeo2016-10-171-1/+36
* remove omitted versionMITSUNARI Shigeo2016-09-271-1/+1
* rename map-to-point classMITSUNARI Shigeo2016-08-091-11/+14
* change hash.calcMITSUNARI Shigeo2016-08-061-5/+6
* hash throws if exceptional valueMITSUNARI Shigeo2016-08-051-8/+14
* add map-to-point to G1MITSUNARI Shigeo2016-08-041-0/+40
* avoid aliasMITSUNARI Shigeo2016-06-091-21/+15
* rename optimalAtePairing to pairingMITSUNARI Shigeo2016-05-301-1/+1
* add default paramMITSUNARI Shigeo2016-05-301-1/+1
* add mode option for BNTMITSUNARI Shigeo2016-05-181-2/+2
* a little optimization of mul_b_div_xiMITSUNARI Shigeo2016-05-071-4/+15
* remove copy of Fp2MITSUNARI Shigeo2016-05-071-3/+5
* remove debug clk codeMITSUNARI Shigeo2016-05-041-2/+0
* add fasterSqrMITSUNARI Shigeo2016-05-041-3/+64
* rename power to powMITSUNARI Shigeo2016-05-041-13/+13
* avoid negative powerMITSUNARI Shigeo2016-05-041-8/+25
* a little optimization of addLineWithoutPMITSUNARI Shigeo2016-05-041-10/+19
* reduce mul of mul_024MITSUNARI Shigeo2016-05-041-0/+57
* a little optimize of mul_024MITSUNARI Shigeo2016-05-041-10/+44
* faster finalExpMITSUNARI Shigeo2016-05-031-53/+87
* fix set zMITSUNARI Shigeo2016-05-021-1/+5
* add CFLAGS_USER, LDFLAGS_USERMITSUNARI Shigeo2016-05-021-1/+1
* use Frobenius in finalExpMITSUNARI Shigeo2016-05-021-3/+17
* rename gamma to gMITSUNARI Shigeo2016-05-021-17/+17
* x^(p^6) is conjugate of xMITSUNARI Shigeo2016-05-021-14/+7
* remove inline in OperatorMITSUNARI Shigeo2016-05-021-0/+1
* use Frobenius in finalExpMITSUNARI Shigeo2016-05-021-42/+73
* rename mulXi to mul_xiMITSUNARI Shigeo2016-05-021-2/+2
* add finalExpMITSUNARI Shigeo2016-05-011-13/+21
* add FrobeniusOnTwistMITSUNARI Shigeo2016-05-011-9/+52
* remove base argument in Fp::initMITSUNARI Shigeo2016-04-301-4/+5
* pairing TBDMITSUNARI Shigeo2016-04-281-41/+189
* add test of pairing(not pass)MITSUNARI Shigeo2016-04-271-15/+45
* add test of edge of Fp::mulMITSUNARI Shigeo2016-04-271-7/+2
* makeing Naive::pairingMITSUNARI Shigeo2016-04-261-65/+76
* start to impl naive optimal ateMITSUNARI Shigeo2016-04-251-1/+76
* change Param to ParamTMITSUNARI Shigeo2016-04-251-13/+3
* fix DblMITSUNARI Shigeo2016-04-201-9/+6
* add bn.hppMITSUNARI Shigeo2016-04-191-0/+190