70a3719bb8
The ccr(4) driver supports use of the crypto accelerator engine on Chelsio T6 NICs in "lookaside" mode via the opencrypto framework. Currently, the driver supports AES-CBC, AES-CTR, AES-GCM, and AES-XTS cipher algorithms as well as the SHA1-HMAC, SHA2-256-HMAC, SHA2-384-HMAC, and SHA2-512-HMAC authentication algorithms. The driver also supports chaining one of AES-CBC, AES-CTR, or AES-XTS with an authentication algorithm for encrypt-then-authenticate operations. Note that this driver is still under active development and testing and may not yet be ready for production use. It does pass the tests in tests/sys/opencrypto with the exception that the AES-GCM implementation in the driver does not yet support requests with a zero byte payload. To use this driver currently, the "uwire" configuration must be used along with explicitly enabling support for lookaside crypto capabilities in the cxgbe(4) driver. These can be done by setting the following tunables before loading the cxgbe(4) driver: hw.cxgbe.config_file=uwire hw.cxgbe.cryptocaps_allowed=-1 MFC after: 1 month Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D10763
35 lines
533 B
Makefile
35 lines
533 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
SUBDIR= if_cxgbe
|
|
SUBDIR+= if_cxl
|
|
SUBDIR+= if_cc
|
|
SUBDIR+= if_cxgbev
|
|
SUBDIR+= if_cxlv
|
|
SUBDIR+= if_ccv
|
|
SUBDIR+= t4_firmware
|
|
SUBDIR+= t5_firmware
|
|
SUBDIR+= t6_firmware
|
|
SUBDIR+= ${_tom}
|
|
SUBDIR+= ${_iw_cxgbe}
|
|
SUBDIR+= ${_cxgbei}
|
|
SUBDIR+= ccr
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
_tom= tom
|
|
_cxgbei= cxgbei
|
|
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
|
_iw_cxgbe= iw_cxgbe
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
_tom= tom
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|