anza-cryptography-source/curve25519/solana-ed25519/src
zz-sol 53383206b8
fix 128bits scalar precondition (#44)
* Add prechecked optimized triple-base mul

Introduce a prechecked 128/128/256 optimized path for vartime triple-base multiplication: vartime_triple_base_mul_128_128_256 now checks whether a1 and a2 fit in 128 bits and falls back to general multiplication if not. Add vartime_triple_base_mul_128_128_256_prechecked and corresponding serial/vector backend implementations (renamed to *_prechecked). Add scalar_fits_in_128_bits helper and update callers (verification_key) to use the prechecked path. Update docs/comments and add a test to ensure full-width scalars are handled by the fallback path.

* bring back the docs

* CI
2026-06-16 08:59:35 -04:00
..
backend fix 128bits scalar precondition (#44) 2026-06-16 08:59:35 -04:00
ed_sigs fix 128bits scalar precondition (#44) 2026-06-16 08:59:35 -04:00
edwards refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
lizard ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
ristretto refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
scalar [ed25519] improve docs (#47) 2026-06-11 22:10:13 -04:00
backend.rs fix 128bits scalar precondition (#44) 2026-06-16 08:59:35 -04:00
constants.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
diagnostics.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
ed_sigs.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
edwards.rs fix 128bits scalar precondition (#44) 2026-06-16 08:59:35 -04:00
field.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
lib.rs [ed25519] downgrade rand_core (#21) 2026-05-18 21:50:26 -04:00
lizard.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
macros.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
montgomery.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
ristretto.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
scalar.rs [ed25519] improve docs (#47) 2026-06-11 22:10:13 -04:00
short_weierstrass.rs [ed25519] downgrade rand_core (#21) 2026-05-18 21:50:26 -04:00
traits.rs [ed25519] improve docs (#47) 2026-06-11 22:10:13 -04:00
window.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00