mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-05 20:30:57 +00:00
Alternative to #659/#661 and #662 which leverages `subtle::Choice` and `subtle::ConditionallySelectable` as the optimization barriers. Really the previous masking was there to conditionally add the scalar field modulus on underflow, so instead of that, we can conditionally select zero or the modulus using a `Choice` constructed from the underflow bit. |
||
|---|---|---|
| .. | ||
| backend | ||
| constants.rs | ||
| diagnostics.rs | ||
| edwards.rs | ||
| field.rs | ||
| lib.rs | ||
| macros.rs | ||
| montgomery.rs | ||
| ristretto.rs | ||
| scalar.rs | ||
| traits.rs | ||
| window.rs | ||