-
Notifications
You must be signed in to change notification settings - Fork 491
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
Use of non-default OSSL_LIB_CTX* within OpenSSL construction #2034
Comments
Thanks for the proposal @RodriM11 -- this somewhat begs the question, though, how (and where/via which API) this specific |
Yes, precisely my doubt as well. At first, I was thinking of exposing an API that would let you precisely configure the "more relevant" parameters within an OpenSSL's DRBG (i.e., the type, and the underlying cipher/digest to employ, as |
Which relevance do you see if there's now way to configure it? |
At the very least, not relying on a global library context which is shared between all applications using the same OpenSSL libraries (noy only |
True. But at least there is a way for apps to get at and change the default libctx. I don't see how this would work for a libctx specific to |
Yes, that is true. It is precisely the capacity of
In any case, this would allow both to add control by "honoring" a library context, and provide the same personalization options you would have by modifying the default library context. |
Hi! I wanted to propose the improvement of using a
OSSL_LIB_CTX *
library context generated withinliboqs
, instead of the default (NULL
) that is being used now, particularly regarding randomness generation, and also fetching procedures, whenliboqs
is constructed withOQS_USE_OPENSSL=ON
.I think this modification on itself is of interest, as
liboqs
would generate its own library context and would not rely on the defaultNULL
library context, which could be potentially modified by other application using the same OpenSSL libraries, potentially impacting where randomness is derived from, and the definition of the underlying primitives being fetched.Additionally, I wanted to also ask whether it would be of interest that, once this modification is performed,
liboqs
should account for some "personalization" of this library context (e.g. with OpenSSL'sRAND_set_DRBG_type
, or maybe with more detailed procedures for specific parameters). Although maybe this is outside of the scope of whatliboqs
should account for.The text was updated successfully, but these errors were encountered: