The current implementation in ecfactory to search BN curves did not evaluate the subgroup security, as discussed in https://eprint.iacr.org/2015/247.pdf.
Mainly, pairing might be subject to subgroup attacks. To prevent such attacks, this paper adds additional criteria on selecting good curves, by also requiring the h of the G_2 and G_T to have a large prime factor. This new requirement places a lot of constraints on the choices of parameters.
Note that the parameters of BN254 (which indeed has a historical meaning) in arkworks do not have such properties, since those parameters are sampled before this paper.
Therefore, it is left as a TODO to add BN curve searching algorithms that have subgroup security guarantees.
The current implementation in
ecfactoryto search BN curves did not evaluate the subgroup security, as discussed in https://eprint.iacr.org/2015/247.pdf.Mainly, pairing might be subject to subgroup attacks. To prevent such attacks, this paper adds additional criteria on selecting good curves, by also requiring the
hof the G_2 and G_T to have a large prime factor. This new requirement places a lot of constraints on the choices of parameters.Note that the parameters of BN254 (which indeed has a historical meaning) in arkworks do not have such properties, since those parameters are sampled before this paper.
Therefore, it is left as a TODO to add BN curve searching algorithms that have subgroup security guarantees.