Page MenuHomeFreeBSD

Store the AAD in a separate buffer for KTLS.
ClosedPublic

Authored by jhb on Jun 15 2020, 10:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 6 2024, 5:53 AM
Unknown Object (File)
Jan 11 2024, 4:34 PM
Unknown Object (File)
Dec 23 2023, 11:47 AM
Unknown Object (File)
Dec 20 2023, 6:34 AM
Unknown Object (File)
Aug 28 2023, 7:38 PM
Unknown Object (File)
Aug 5 2023, 7:32 PM
Unknown Object (File)
Jul 21 2023, 8:02 AM
Unknown Object (File)
Jul 5 2023, 11:57 PM
Subscribers

Details

Summary

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.

Test Plan
  • tested with TLS 1.2/1.3 with aesni0, soft, and ccr0

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 31730
Build 29298: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Jun 15 2020, 10:54 PM
jhb created this revision.

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.

This revision is now accepted and ready to land.Jun 19 2020, 8:40 PM
This revision was automatically updated to reflect the committed changes.