Page MenuHomeFreeBSD

ktls: Fix assertion for TLS 1.0 CBC when using non-zero starting seqno.
ClosedPublic

Authored by jhb on Oct 26 2021, 11:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 29, 9:38 PM
Unknown Object (File)
Wed, Apr 29, 9:31 AM
Unknown Object (File)
Wed, Apr 29, 9:27 AM
Unknown Object (File)
Tue, Apr 28, 1:55 PM
Unknown Object (File)
Tue, Apr 28, 1:50 AM
Unknown Object (File)
Mon, Apr 27, 5:21 PM
Unknown Object (File)
Fri, Apr 24, 2:43 AM
Unknown Object (File)
Tue, Apr 21, 7:42 AM
Subscribers

Details

Summary

The starting sequence number used to verify that TLS 1.0 CBC records
are encrypted in-order in the OCF layer was always set to 0 and not to
the initial sequence number from the struct tls_enable.

In practice, OpenSSL always starts TLS transmit offload with a
sequence number of zero, so this only matters for tests that use a
random starting sequence number.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 42387
Build 39275: arc lint + arc unit