Repository navigation
Spec: restore AES-GCM open_to's contracts - #4363
Merged
Merged
Conversation
Restore, unchanged, the open_to definitions #4337 removed as unused: openToSig, openToPre, openToPost, openToLeak, openToContract, openToApi and the precomputed, prepared and prepared16 forms. The open_to implementation (#4307) is proven against them and was not yet merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ajQWvqXkQxFyWZxghqxBG
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.
Trust change (
Spec/only). This restores, unchanged, the AES-GCM out-of-place decryption definitions that pyca/verified-garbage#4337 removed as unused:Spec/Gcm/OutOfPlace.lean:openToSig,openToPre,openToPost,openToLeak,openToContract,openToApi, their_precomputedforms, and the module docstring's paragraph onvg_aes_gcm_open_to.Spec/Gcm/Prepared.lean:openToPreparedSig,openToPreparedPre,openToPreparedContract,openToPreparedApi.Spec/Gcm/Prepared16.lean:openToPrepared16Pre,openToPrepared16Contract,openToPrepared16Api.They were unused on
mainonly because the implementation proven against them, pyca/verified-garbage#4307, had not merged yet. They were reviewed in pyca/verified-garbage#4292.This is the reverse of #4337's hunks in those three files.
OutOfPlace.leanis byte for byte what it was before #4337. #4337's other removals, including thestore_powersAPIs inPowers8.lean, stay removed. No other file changes, and no registration emits these yet: #4307 will.Generated by Claude Code