Patched source for Aeneas/Charon formal verification transpilation
Find a file
Edvard Fagerholm 0a54ccaf04
ed25519: add 128-bit NAF path (#27)
* ed25519: add 128-bit NAF path

Add Scalar::non_adjacent_form_128 and use it in the serial and vector triple-base verifier paths for scalars known to fit in 128 bits. The helper computes only the HEEA-readable digit range instead of producing a full 256-entry NAF array for each scalar.

Benchmark notes:

- Ran this repository's Criterion benchmark program, benches/bench.rs, filtering to Single Verification, pinned to CPU 4 with 1s warmup, 2s measurement, and sample size 10.

- local_verify_zebra estimate was 19.740 us, with 95% CI 19.686..19.789 us.

- master measured 20.051 us, with 95% CI 19.938..20.134 us, so this branch was about 1.55% faster in that run.

* Use 128-bit NAF in triple-base paths

---------

Co-authored-by: zz-sol <allaboutshop10@163.com>
2026-06-24 16:47:31 +09:00
.github Bump taiki-e/install-action from 2.81.6 to 2.81.10 (#61) 2026-06-22 14:54:15 -04:00
curve25519 ed25519: add 128-bit NAF path (#27) 2026-06-24 16:47:31 +09:00
experimental/ed25519-pokos Add workspace.package information and do minor clean-up (#14) 2026-04-26 10:11:05 +09:00
scripts [chore] ci for crate release (#7) 2026-04-15 08:44:33 -04:00
secp256r1 impl secp256r1 (#45) 2026-06-17 09:45:41 -04:00
syscall [solana-bn254-syscall] Add solana-bn254-syscall crate (#13) 2026-05-19 08:56:06 +09:00
.gitattributes Skeleton for cryptography repo (#1) 2026-03-07 15:52:28 -05:00
.gitignore Skeleton for cryptography repo (#1) 2026-03-07 15:52:28 -05:00
Cargo.lock impl secp256r1 (#45) 2026-06-17 09:45:41 -04:00
Cargo.toml impl secp256r1 (#45) 2026-06-17 09:45:41 -04:00