Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY #423

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Jul 22, 2024

We already have the value and a function to compute it from EC_POINT if needed, just return it when requested. It is sometimes used by openssl to get the public point for ECDH.

Checklist

  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • This feature/change has adequate documentation added
  • Code conform to coding style that today cannot yet be enforced via the check style test
  • Commits have short titles and sensible commit messages
  • Coverity Scan has run if needed (code PR) and no new defects were found

We already have the value and a function to compute it from EC_POINT if
needed, just return it when requested. It is sometimes used by openssl
to get the public point for ECDH.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 requested a review from Jakuje July 22, 2024 16:06
Copy link
Contributor

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

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

untested, but looks good.

@simo5 simo5 added the covscan Triggers Coverity Scanner label Jul 22, 2024
@github-actions github-actions bot removed the covscan Triggers Coverity Scanner label Jul 22, 2024
@simo5 simo5 added the covscan-ok Coverity scan passed label Jul 22, 2024
@simo5
Copy link
Member Author

simo5 commented Jul 22, 2024

Covscan is happy and this is a minor thing, pushing as is even w/o specific tests

@simo5 simo5 merged commit 4a00497 into latchset:main Jul 22, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
covscan-ok Coverity scan passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants