onload icon indicating copy to clipboard operation
onload copied to clipboard

Encryption with SolarFlare's TCPDirect

Open prashant-nhbt opened this issue 1 year ago • 2 comments

While doing connections with standard non-TCPDirect sockets, it's quite simple to load the CA certificate and exchange data with SSL_read and SSL_write using the <openssl/ssl.h> module in C++. On trying to do something similar with TCPDirect, I couldn't find any help from their documentation or any source on the internet. Please help me with this :(

prashant-nhbt avatar Nov 10 '23 06:11 prashant-nhbt

I am also facing same issue. If someone solution regarding same. Please let me know. Thanks

pkbcell avatar Jan 09 '24 06:01 pkbcell

Sorry, this repository only contains ef_vi and OpenOnload - we can't offer help with TCPDirect. You can e-mail [email protected] to get support for proprietary libraries. If this is your first time doing this, you should receive an automated email with the details to sign up.

I can suggest, however, that you look in to writing a custom BIO for OpenSSL, which is their abstraction over the sockets API. Maybe start reading at https://www.openssl.org/docs/man3.2/man3/BIO_new_bio_pair.html . The Internet doesn't seem replete with examples of how to do this, but maybe your search-fu is better than mine.

rhughes-xilinx avatar Jan 09 '24 12:01 rhughes-xilinx