EVP_PKEY_CTX* Best Practices

Christian Mazakas christian.mazakas at gmail.com
Wed Oct 2 02:10:55 UTC 2019


I'm relatively new to the world of OpenSSL.

I'm trying to write a QUIC stream class and for that, I need to use the
EVP_PKEY_CTX and I'm not sure what's the optimal way of scoping instances
of this context.

For example, should I have a CTX per Quic connection? Or rather one that's
shared by many in a thread-safe manner? What's the cost of generating one
per connection? Are there docs where I can read about this kind of stuff?

- Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20191001/8d98a656/attachment.html>


More information about the openssl-users mailing list