Files
coolsnowwolf e4e6232b6a xray-core: add optional NSS TLS backends and batched buffer IO
Build optional cryptodev and registered DMA-BUF AES-GCM backends for Go
TLS and uTLS on IPQ60xx/IPQ807x. Keep ordinary CPU TLS as the default.
Use isolated overlays without changing the shared Go SDK or module cache.

Add opt-in borrowed receive records and direct ready TCP input to reduce
payload copies, with batch lifetime, close, authentication, key-change,
read-accounting and TLS handshake-lock regression coverage. Include a
CPU-batch control using the same software pipeline without NSS hardware.

Package the source and tests in one patch plus the Makefile. Exclude
performance logs, benchmark binaries and clock experiments. Clean -j24
build produces the same executable SHA256 as the final AX5 test binary;
NSS race tests and TLS 1.2/1.3/uTLS hardware checks pass. Hardware results
are limited to AX5/IPQ6000; runtime paths remain optional.

Select NSS kernel modules from the Xray options and retain runtime package
dependencies through EXTRA_DEPENDS to avoid recursive Kconfig dependencies.
Default the DMA-BUF driver option on when NSS TLS support is enabled.
Verified menuconfig, enabled/disabled/default configurations and runtime
package dependency generation.

Signed-off-by: coolsnowwolf <coolsnowwolf@gmail.com>
2026-10-02 12:36:05 +08:00
..