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

Add support for signed BIGNUMs in the OSSL_PARAM APIs #17162

Closed
wants to merge 9 commits into from

Conversation

levitte
Copy link
Member

@levitte levitte commented Nov 30, 2021

The OSSL_PARAM APIs currently don't support negative integers larger
than what is supported by the largest integer C type. This was
knowingly left this way in OpenSSL 3.0 for release expedience.

With this change, the OSSL_PARAM API is more feature complete visavi
what is possible with the OSSL_PARAM structure.

This depends on PR #17139

@levitte levitte added branch: master Merge to master branch approval: review pending This pull request needs review by a committer labels Nov 30, 2021
@levitte
Copy link
Member Author

levitte commented Nov 30, 2021

Some discussions in #17139 should really happen here

doc/man3/OSSL_PARAM_BLD.pod Outdated Show resolved Hide resolved
@levitte levitte changed the title Add support for signed BIGNUMs in the OSSL_PARAM APIs [Pending on #17139] Add support for signed BIGNUMs in the OSSL_PARAM APIs Nov 30, 2021
@openssl-machine
Copy link
Collaborator

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

@t8m t8m added triaged: feature The issue/pr requests/adds a feature and removed approval: review pending This pull request needs review by a committer labels Jan 3, 2022
@t8m
Copy link
Member

t8m commented Jan 3, 2022

Needs rebase

@levitte
Copy link
Member Author

levitte commented Jan 11, 2022

Rebase done

@paulidale paulidale added the approval: review pending This pull request needs review by a committer label Jan 12, 2022
crypto/param_build.c Outdated Show resolved Hide resolved
doc/man3/OSSL_PARAM_BLD.pod Outdated Show resolved Hide resolved
@paulidale
Copy link
Contributor

CI?

@levitte
Copy link
Member Author

levitte commented Jan 13, 2022

CI?

This depends on PR #17139

@levitte
Copy link
Member Author

levitte commented Jan 20, 2022

#17139 has been merged, and this PR is rebased on top of that

@levitte levitte changed the title [Pending on #17139] Add support for signed BIGNUMs in the OSSL_PARAM APIs Add support for signed BIGNUMs in the OSSL_PARAM APIs Jan 20, 2022
@github-actions github-actions bot added the severity: fips change The pull request changes FIPS provider sources label Jan 20, 2022
test/params_api_test.c Outdated Show resolved Hide resolved
@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Jan 25, 2022
@openssl-machine openssl-machine removed the approval: done This pull request has the required number of approvals label Jan 26, 2022
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@openssl-machine openssl-machine added the approval: ready to merge The 24 hour grace period has passed, ready to merge label Jan 26, 2022
@levitte
Copy link
Member Author

levitte commented Jan 26, 2022

Merged

f171985 Add support for signed BIGNUMs in the OSSL_PARAM API
17898ec Add support for signed BIGNUMs in the OSSL_PARAM_BLD API
748a296 TEST: Add addition OSSL_PARAM tests for signed BIGNUMs

@levitte levitte closed this Jan 26, 2022
@levitte levitte deleted the signed-BN-for-OSSL_PARAM branch January 26, 2022 20:40
openssl-machine pushed a commit that referenced this pull request Jan 26, 2022
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #17162)
openssl-machine pushed a commit that referenced this pull request Jan 26, 2022
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #17162)
openssl-machine pushed a commit that referenced this pull request Jan 26, 2022
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #17162)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch severity: fips change The pull request changes FIPS provider sources triaged: feature The issue/pr requests/adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants