Page MenuHomeFreeBSD

Create a file to hold shared routines for dealing with T6 key contexts.
ClosedPublic

Authored by jhb on Oct 25 2019, 9:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 8:43 AM
Unknown Object (File)
Nov 4 2024, 5:42 PM
Unknown Object (File)
Oct 30 2024, 4:28 AM
Unknown Object (File)
Oct 27 2024, 1:12 PM
Unknown Object (File)
Sep 30 2024, 7:03 PM
Unknown Object (File)
Sep 21 2024, 11:13 AM
Unknown Object (File)
Sep 17 2024, 1:01 PM
Unknown Object (File)
Sep 14 2024, 11:20 PM
Subscribers

Details

Summary

ccr(4) and TLS support in cxgbe(4) construct key contexts used by the
crypto engine in the T6. This consolidates some duplicated code for
helper functions used to build key contexts.

Test Plan
  • ccr(4) passes cryptocheck, the TLS changes are simple as those functions were mostly adopted as-is

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I had originally planned to do a bit more work in this file (construct actual key contexts), but the ccr(4) and TLS key contexts are a bit different, so I think this is a useful step for now. IPsec would use ccr(4)-like key contexts, so I might end up moving more code into here if we do the IPsec bits.

sys/dev/cxgbe/crypto/t4_kern_tls.c
740 ↗(On Diff #63680)

Changes in this file won't be committed since this will probably get merged before NIC TLS. Instead, I'll merge these changes into that review after this one is committed.

This revision is now accepted and ready to land.Nov 8 2019, 1:24 AM