Skip to content

Conversation

@bdrodes
Copy link
Contributor

@bdrodes bdrodes commented May 16, 2025

Adds modeling for EVP cipher update calls, flowing their inputs through to EVP cipher final calls.
Fixes a bug in JCA where intermediate cipher calls (updates) were being modeled as cipher operation instances.

@nicolaswill nicolaswill self-requested a review May 16, 2025 15:31
@nicolaswill nicolaswill changed the title Openssl cipher update Quantum: Expand OpenSSL cipher modeling and fix false reporting of intermediate calls May 16, 2025
}

EVP_Update_Call getUpdateCalls() {
CTXFlow::ctxArgFlowsToCtxArg(result.getContextArg(), this.getContextArg())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest adding a flow configuration as in the JCA for properly modelling inputs and distinguishing between intermediate and final calls.

@nicolaswill nicolaswill changed the title Quantum: Expand OpenSSL cipher modeling and fix false reporting of intermediate calls Quantum: Expand OpenSSL cipher modeling and fix JCA false reporting of intermediate calls May 16, 2025
@nicolaswill nicolaswill marked this pull request as ready for review May 16, 2025 16:46
@nicolaswill nicolaswill requested a review from a team as a code owner May 16, 2025 16:46
@nicolaswill nicolaswill self-requested a review May 16, 2025 16:46
@nicolaswill nicolaswill merged commit 30e2c44 into github:main May 16, 2025
17 checks passed
@bdrodes bdrodes deleted the openssl_cipher_update branch May 19, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants