mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 22:33:08 +00:00
Does what the name says: rejects generators of low-order groups. `clearCofactor()` was previously used to do it, but for e.g. cofactored signature verification, we don't need the result of an actual multiplication. Only check that we didn't end up with a low-order point, which is a faster operation.