mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-05 16:02:13 +00:00
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>