mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Unfortunately, G::from_bytes doesn't require canonicity so that still can't be properly tested for. While we could try to detect SEC1, and write tests on that, there's not a suitably stable/wide enough solution to be worth it.
FF/Group Tests
A series of sanity checks for implementors of the ff/group APIs. Implementors are assumed to be of a non-trivial size. These tests do not attempt to check if constant time implementations are used.