]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ktls: Fix non-inplace TLS 1.3 encryption.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 10 Mar 2021 19:07:40 +0000 (11:07 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 10 Mar 2021 19:07:40 +0000 (11:07 -0800)
commit3fa034210c75431173cb0a2375f6938386e25315
tree2ca25d11b1198ed6a5d42f69148f1e3e708b21b9
parent2cee045b4d62568d065b838a6cf129fed2424709
ktls: Fix non-inplace TLS 1.3 encryption.

Copy the iovec for the trailer from the proper place.  This is the same
fix for CBC encryption from ff6a7e4ba6bf.

Reported by: gallatin
Reviewed by: gallatin, markj
Fixes: 49f6925ca
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D29177
sys/opencrypto/ktls_ocf.c