Open oznurkalkar opened 2 years ago
Changed InCorrectSubgroup to M. Scott's method in https://eprint.iacr.org/2021/1130
On i7-3770 CPU @ 3.40GHz
BenchmarkG2SubgroupCheck-8 153520 ns/op BenchmarkG2SubgroupCheckOld-8 167288 ns/op
changed gt.isValid to M. Scott's method in https://eprint.iacr.org/2021/1130
BenchmarkGT_IsValid-8 250904 ns/op BenchmarkGT_IsValidOld-8 2301026 ns/op
Changed InCorrectSubgroup to M. Scott's method in https://eprint.iacr.org/2021/1130
On i7-3770 CPU @ 3.40GHz
BenchmarkG2SubgroupCheck-8 153520 ns/op BenchmarkG2SubgroupCheckOld-8 167288 ns/op