diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index 59f2407..0c514de 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -889,7 +889,8 @@ struct Param { *pb = true; return; #endif - Fp2::init(); + Fp2::init(pb); + if (!*pb) return; const Fp2 xi(cp.xi_a, 1); g2 = Fp2::get_gTbl()[0]; g3 = Fp2::get_gTbl()[3];