Added minimal hooks in folly's AsyncSSLSocket API to allow an application to setup kTLS path

148 views
Skip to first unread message

Anirudha Pratap Singh

unread,
Jun 16, 2020, 6:29:18 AM6/16/20
to Folly: the Facebook Open-source LibrarY
kTLS is a way to offload ssl encrypt/decrypt etc. crypto operations to the kernel's TLS module.
The application which is invoking AsyncSSLSocket API will setup the kTLS path by doing appropriate setsockopt() calls and will subsequently set ktlsEnabled_ flag.
This will invoke send() system call instead of SSL_write to write the data. This makes all the data to go through kTLS module and hence gets offloaded to it.

The following pull request (feature request) contains the changes: https://github.com/facebook/folly/pull/1376

Please review the above PR.


Thanks,
-Anirudha
Reply all
Reply to author
Forward
0 new messages