Page MenuHomeFreeBSD

ktls: Add padding tests for AES-CBC MTE cipher suites.
ClosedPublic

Authored by jhb on Nov 5 2021, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 25 2024, 10:15 PM
Unknown Object (File)
Sep 24 2024, 2:22 PM
Unknown Object (File)
Sep 22 2024, 11:48 PM
Unknown Object (File)
Sep 21 2024, 8:42 AM
Unknown Object (File)
Sep 20 2024, 9:11 PM
Unknown Object (File)
Sep 19 2024, 8:51 PM
Unknown Object (File)
Sep 19 2024, 4:56 PM
Unknown Object (File)
Sep 19 2024, 4:02 AM
Subscribers

Details

Summary

For each AES-CBC MTE cipher suite, test sending records with 1 to 16
bytes of payload. This ensures that all of the potential padding
values are covered.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Nov 5 2021, 12:00 AM
markj added inline comments.
tests/sys/kern/ktls_test.c
1104

Does it make sense to test a message of length 0? I'm not sure if empty records are permitted (though ISTR they are used in TLS 1.0).

This revision is now accepted and ready to land.Nov 13 2021, 2:35 AM
jhb marked an inline comment as done.Nov 15 2021, 7:20 PM
jhb added inline comments.
tests/sys/kern/ktls_test.c
1104

I did that in a followup set of tests for TLS 1.0. :)

This revision was automatically updated to reflect the committed changes.
jhb marked an inline comment as done.