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
F93743730: D22156.diff
Thu, Sep 12, 3:21 AM
Unknown Object (File)
Mon, Sep 9, 3:08 AM
Unknown Object (File)
Sat, Sep 7, 7:57 PM
Unknown Object (File)
Sat, Sep 7, 6:36 AM
Unknown Object (File)
Thu, Aug 22, 10:02 PM
Unknown Object (File)
Mon, Aug 19, 5:06 PM
Unknown Object (File)
Sun, Aug 18, 6:34 PM
Unknown Object (File)
Fri, Aug 16, 12:51 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