Skip to content

Offloading Yarp crypto operations to OpenSSL dynamic engines. Is that possible? #1964

Answered by wfurt
JEduCB asked this question in General
Discussion options

You must be logged in to vote

There is no setting for engines or other HW in .NET. And we certainly don't have any test coverage. dotnet/runtime#37383 is still open but it may work if the initialization is done by openssl itself.
I'm planning to take closer look at dotnet/runtime#66224 and perhaps engines as well for 8.0

My suggestion would be to create simple app with SslStream and give it try. When you look at the operations with strace it should be clear. You can also create self-contained app (to limit noise) and do LD_DEBUG=libs maApp. That would show you what libraries are loaded and you can check if the engine is there.
You can also run https://github.com/dotnet/performance and see if there is difference. I wou…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MihaZupan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JEduCB
Comment options

Comment options

You must be logged in to vote
1 reply
@JEduCB
Comment options

Comment options

You must be logged in to vote
1 reply
@JEduCB
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants