mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 17:40:34 +00:00
ee6316b26b
While Group::random shouldn't be used instead of a hash to curve, anyone who did would've previously been insecure and now isn't. Could've done a recover_x and a raw Point construction, followed by a cofactor mul, to avoid the serialization, yet the serialization ensures full validity under the standard from_bytes function. THis also doesn't need to be micro-optimized. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Minimal Ed448
Inefficient, barebones implementation of Ed448 bound to the ff/group API, rejecting torsion to achieve a PrimeGroup definition. This likely should not be used and was only done so another library under Serai could confirm its completion. It is minimally tested, yet should be correct for what it has. Multiple functions remain unimplemented.
constant time and no_std.