Skip to content

Argon2 on x86-64: prove address-cache state retention - #501

Closed
reaperhulk wants to merge 1 commit into
argon2-address-modefrom
argon2-cache-state
Closed

reaperhulk wants to merge 1 commit into
argon2-address-modefrom
argon2-cache-state

Conversation

@reaperhulk

Copy link
Copy Markdown
Member

Retain the filling allocation and represented matrix across independent-address regeneration. The address cache now has an index-independent invariant: counter zero allows arbitrary contents, and every nonzero counter identifies the exact specified address block. Advancing the index preserves that invariant, and it supplies the existing cache-selection precondition.

Prove regeneration retains the frame's public parameters and filling position, and leaves every matrix cell unchanged. Transport cache validity across register-only helpers and index advancement without assuming the previous or next index has a particular value.

Builds on #499. Proof composition only; no specification, TCB, public API or generated assembly changes.

Validation: targeted Lean builds, standard-axiom and compiler-override audits, specification-origin audit, Lean import/proof-speed checks, and git diff --check. Full checks run in CI.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant