Repository navigation
Spec/Dit: vg_dit_enter's contract makes the mode public - #4327
Closed
reaperhulk wants to merge 1 commit into
Closed
reaperhulk wants to merge 1 commit into
reaperhulk wants to merge 1 commit into
Conversation
This was referenced Nov 6, 2026
reaperhulk
force-pushed
the
claude/dit-mode-spec
branch
from
November 7, 2026 00:25
b1717b9 to
b161c1e
Compare
So that `vg_dit_enter` may branch on whether data independent timing was already on and not write PSTATE.DIT then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ajQWwnPmAfvKpXDUq9Tjq
reaperhulk
force-pushed
the
claude/dit-mode-spec
branch
from
November 7, 2026 01:11
b161c1e to
56b06dc
Compare
This was referenced Nov 7, 2026
Member
Author
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.
Spec change.
vg_dit_enter's contract now makes the mode public. It is stacked on the TCB change #4326, and #4328 builds on it.What changes
Spec.Dit.enterContractisenterSig.contract (A.withMode true) ….enterApisetspubMode := true.crates/verified-garbage-asm-aarch64/src/dit.rssays the same.Why
So that
vg_dit_entercan branch on whether data independent timing is already on, and not write PSTATE.DIT then (#4328).Proofs
vg_dit_clear's contract is unchanged. The current proof ofvg_dit_enterstill checks against the stronger contract. The only difference is the added mode equality inpub, whichsig_implies_pubignores.🤖 Generated with Claude Code
https://claude.ai/code/session_015ajQWwnPmAfvKpXDUq9Tjq