update-fork
MITSUNARI Shigeo 5 years ago
parent b399592446
commit d26bee4e33
  1. 2
      src/fp.cpp

@ -394,7 +394,7 @@ bool Op::init(const mpz_class& _p, size_t maxBitSize, int _xi_a, Mode mode, size
{ PM_NIST_P192, "0xfffffffffffffffffffffffffffffffeffffffffffffffff" }, { PM_NIST_P192, "0xfffffffffffffffffffffffffffffffeffffffffffffffff" },
{ PM_NIST_P521, "0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, { PM_NIST_P521, "0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" },
}; };
// user fastMode for special primes // use fastMode for special primes
for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) { for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) {
bool b; bool b;
mpz_class target; mpz_class target;

Loading…
Cancel
Save