Skip to content

fix(DiffieHellman): state correctness over complete executions - #1044

Merged
fmontesi merged 2 commits into
samschles/fix-dh-modulus-checkfrom
samschles/fix-dh-execution-spec
Oct 6, 2026
Merged

fmontesi merged 2 commits into
samschles/fix-dh-modulus-checkfrom
samschles/fix-dh-execution-spec

Conversation

@SamuelSchlesinger

Copy link
Copy Markdown
Collaborator

The correctness statement assumed that the initial network reached 0 in one transition, which is impossible. Use MTr so the statement covers complete executions.

Adds a regression proof constructing a four-step execution from any initial store, with both final keys equal to g ^ (a * b).

Depends on #1042 (the modulus-check fix); this PR targets that branch.

Implemented with Codex.

@fmontesi
fmontesi merged commit 49f719d into samschles/fix-dh-modulus-check Oct 6, 2026
2 checks passed
SamuelSchlesinger added a commit that referenced this pull request Oct 7, 2026
The correctness statement assumed that the initial network reached `0`
in one transition, which is impossible. Use `MTr` so the statement
covers complete executions.

Adds a regression proof constructing a four-step execution from any
initial store, with both final keys equal to `g ^ (a * b)`.

Depends on #1042 (the modulus-check fix); this PR targets that branch.

Implemented with Codex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants