Adding a sketch for a CipherOperation concept to model encryption/dec…#4
Merged
nicolaswill merged 76 commits intoknewbury01/JCA-samplefrom Apr 30, 2025
Merged
Conversation
…ryption operations.
…nwrap and doFinal calls. Corrected pathing for init tracing to detect what mode is being set along a path. Added support for tracing the init operation mode argument to source. Since this involved creating an Operation Mode, changes were also made to make cipher block modes (CBC) more explicit (previously just called mode, but now that term is used for various purposes).
The relation between RNG and other artifacts has been added Nonce has been completed to report its source
TODO: refactor the interfaces
…n alg getters, and converting the literal to a TCipherType.
…d have known literals for cipher instances, and it traces those instances to consumers (inits) and those inits are traced to cipher operations.
…ort, started developing openssl hashing modeling.
…t bound in all cases, fixing using a bindingetset)
…ill/codeql into brodes/cipher_operation
…rs from older versions of openssl (e.g., EVP_md5())
…y part of the call name now.
…ill/codeql into brodes/cipher_operation
…ill/codeql into brodes/cipher_operation
…enerally. Putting in a stop gap to use 'isCipherAVC' for now.
Misc. modifications to support elliptic curves and hooking them up to…
- KeyOperation and Algorithm now encompasses encryption, decryption, wrapping, unwrapping, signing, and verifying. - Removed elliptic curve implementation from JCA.qll pending rewrite - Removed JCAAlgorithmInstance abstraction from JCA.qll - Cleaned up and removed JCA-specific naming from Model.qll - Added and clarified documentation
…/codeql into brodes/key_agreement
Initial progress on key agreement.
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.
Sketch for CipherOperation