mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
The function `FieldElement::sqrt_ratio_i` always returns a positive root by definition. Therefore the test for negativity in the edwards point decompression function always returns false and we only need to flip its sign if `compressed_sign_bit` is set. |
||
|---|---|---|
| .. | ||
| backend | ||
| constants.rs | ||
| edwards.rs | ||
| field.rs | ||
| lib.rs | ||
| macros.rs | ||
| montgomery.rs | ||
| prelude.rs | ||
| ristretto.rs | ||
| scalar.rs | ||
| traits.rs | ||
| window.rs | ||