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
F91495391: D22156.id63680.diff
Sun, Aug 18, 6:34 PM
Unknown Object (File)
Fri, Aug 16, 12:51 PM
Unknown Object (File)
Tue, Jul 30, 4:10 PM
Unknown Object (File)
Sun, Jul 28, 6:25 PM
Unknown Object (File)
May 19 2024, 7:59 PM
Unknown Object (File)
May 13 2024, 9:13 AM
Unknown Object (File)
May 13 2024, 6:58 AM
Unknown Object (File)
May 13 2024, 3:27 AM
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