Skip to content

Spec: delete the AES block functions' Apis and contracts - #4874

Merged
alex merged 1 commit into
mainfrom
claude/vg-aes-blocks-spec
Nov 9, 2026
Merged

alex merged 1 commit into
mainfrom
claude/vg-aes-blocks-spec

Conversation

@alex

@alex alex commented Nov 9, 2026

Copy link
Copy Markdown
Member

Follows #4873, which made vg_aes_encrypt_blocks and vg_aes_decrypt_blocks internal. Rust never calls them, their registrations are gone, and their contracts are now in Proof/Aes/Rounds.lean.

Trust change (Spec/)

This only deletes; no remaining definition changes. From Spec/Aes/Contract.lean it removes:

  • encryptBlocksContract and decryptBlocksContract
  • encryptBlocksApi and decryptBlocksApi

blocksSig stays, since AES-ECB's contract uses it.

Nothing else names the deleted definitions: the proofs use the Proof.Aes copies. The generated crates don't change.

Checks


Generated by Claude Code

vg_aes_encrypt_blocks and vg_aes_decrypt_blocks are internal functions
(their contracts are in Proof/Aes/Rounds.lean): Rust never calls them.
Spec.Aes keeps blocksSig, which AES-ECB's contract uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TKUFHFjAR7Byf513R4zuFy
@alex
alex enabled auto-merge November 9, 2026 22:48
@alex
alex added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit 588ea98 Nov 9, 2026
27 checks passed
@alex
alex deleted the claude/vg-aes-blocks-spec branch November 9, 2026 23:01
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.

2 participants