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

Include use of loaded 'libctx' context in KEM and SIG procedures (#557) #614

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

RodriM11
Copy link
Contributor

@RodriM11 RodriM11 commented Jan 4, 2025

Inclusion of use of OSSL_LIB_CTX * context in which the oqsprovider is loaded to KeyGen, Encaps, Decaps (KEM) and KeyGen, Sign, Verify (SIG) (classical) operations, along with a explicit test to verify this behavior.

This PR is associated with issue #557.

test/oqs_test_libctx.c Outdated Show resolved Hide resolved
@baentsch
Copy link
Member

baentsch commented Jan 4, 2025

CI failure seems relevant @RodriM11

@RodriM11
Copy link
Contributor Author

RodriM11 commented Jan 4, 2025

Weird that only happens on MSVC... I will take a look at it, although I don't have a local MSVC environment to test.

@RodriM11
Copy link
Contributor Author

RodriM11 commented Jan 5, 2025

I found the problem on MSVC and tests now run correctly on my local MSVC environment. I have uploaded the changes, along with your suggestion regarding the input to the DRBG procedures, @baentsch.

Copy link
Member

@baentsch baentsch left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution, thoroughness and diligence, @RodriM11 !

@RodriM11
Copy link
Contributor Author

RodriM11 commented Jan 6, 2025

Thanks for your help @baentsch! As we talked, I will now open an issue in liboqs to proceed in the same manner regarding use of a library context.

@baentsch baentsch merged commit 221efa1 into open-quantum-safe:main Jan 6, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants