Argon2 on x86-64: prove filling columns and block addresses - #480
Closed
reaperhulk wants to merge 4 commits into
Closed
reaperhulk wants to merge 4 commits into
reaperhulk wants to merge 4 commits into
Conversation
reaperhulk
force-pushed
the
argon2-reference-map
branch
from
October 1, 2026 21:56
92344db to
dc9d00b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compute the current filling column, its cyclic predecessor, and lane-major block pointers in baseline x86-64 code. The predecessor wraps to the last column at column zero. Reference coordinates may be secret: pointer arithmetic has a fixed trace, and the column branch depends only on public loop coordinates.
Prove the exact natural-number formulas, fault-free execution, memory and permission preservation, enclosing loop register preservation, and MXCSR preservation. Target-independent bounds establish that the current, previous and reference cells are in the matrix;
cell_containscovers each complete 1024-byte block. Checked literals support later artifact checks.This continues the whole-derive implementation above #479. These are inline helpers, with no new API, specification, TCB changes or emitted assembly. The filling operation and complete derive proof remain to be assembled.
Validation: targeted Lean builds of the changed proof modules, standard-axiom and compiler-override audits, specification-origin audit, Lean import and proof-speed checks, and
git diff --check. Full checks run in CI.