diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-09-16 19:56:20 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-09-16 19:56:20 +0000 |
| commit | ed5fc8066f98e639f624de9997b33727ed883c32 (patch) | |
| tree | 39653f788f3e8b1523ae3e465a08e520db359eb0 /ncurses/tinfo | |
| parent | 50b3763bab6295ac40f6e6a6562bd2d92a1d0768 (diff) | |
If a TLS request transmits all but a part of the GMAC at the end of a
TLS record, the work request asks the crypto engine to return the
calculated GMAC to the driver so it can be sent in a simple TCP packet
when the rest of the TLS record is transmitted in the future.
However, the offset of the returned GHASH offset was calculated
incorrectly in this case causing the driver to not recognize the
cached GMAC and instead use a more wasteful work request in the future
that encrypted the entire TLS record discarding all but the needed
bytes of the trailer.
Note that this does not effect correctness, just efficiency.
Reviewed by: np
Fixes: 9e269eafebfc ("cxgbe: Use partial GCM mode for partial TLS records on T7")
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D59711
Diffstat (limited to 'ncurses/tinfo')
0 files changed, 0 insertions, 0 deletions
