Patched source for Aeneas/Charon formal verification transpilation
Find a file
mrwulf 8e299cd0f5 Aeneas-compat: factor from_bytes_wide through named, closure-free helpers
Pure refactor, semantics identical (cargo check green):
- from_bytes_wide_parts(bytes) -> (Scalar52, Scalar52): the byte-unpack
  loops + the 52-bit lo/hi split, as a named prefix
- split_words_lo / split_words_hi: the two split halves, built with
  Scalar52([...]) struct literals instead of per-index mutation
- from_bytes_wide: parts -> montgomery_mul(lo, R) ->
  montgomery_mul(hi, RR) -> add

Why: the verification side measured that (a) a WP walk whose motives
contain a montgomery_mul call replays its whole body at every kernel
step, and (b) straight-line chains of IndexMut closure back-functions
make kernel defeq exponential in chain depth. Named prefix functions fix
(a); struct-literal construction eliminates the closures and fixes (b).
With this shape the full from_bytes_wide certificate kernel-checks in
77 seconds (was: aborted after 30+ minutes).
2026-07-04 10:23:24 +02:00
.github chore: remove upstream CI workflows (not our CI infrastructure) 2026-06-30 17:44:29 +02:00
curve25519 Aeneas-compat: factor from_bytes_wide through named, closure-free helpers 2026-07-04 10:23:24 +02: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