std.crypto.edwards25519: add a rejectLowOrder() function (#13668)

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.
7411be3c9eFrank Denis committed on 11/27/2022, 11:34:13 PM· committed by GitHubparent6097165
2 files changedLine totals unavailable