For TLS 1.2 this permits reusing one of the existing iovecs without always
having to duplicate both.
While here, only duplicate the output iovec for TLS 1.3 if it will be used.
Differential D25291
Store the AAD in a separate buffer for KTLS. jhb on Jun 15 2020, 10:54 PM. Authored by Tags None Referenced Files
Subscribers
Details
For TLS 1.2 this permits reusing one of the existing iovecs without always While here, only duplicate the output iovec for TLS 1.3 if it will be used.
Diff Detail
Event TimelineComment Actions This did not make any meaningful difference for KTLS TX, but I primarily worked on this for the RX case where it means I will be able to pass an mbuf down directly to a backend and skip all the iovec stuff completely. |