nuttx-apps/netutils/dropbear
Felipe Moura 26ae8d633e netutils/dropbear: back chacha20-poly1305 with NuttX /dev/crypto
Replace the bundled libtomcrypt chacha20-poly1305 implementation with
an adapter that drives the NuttX crypto device: the SSH construction
maps onto CRYPTO_CHACHA20_DJB (the original 64-bit counter/nonce
ChaCha20 parameterization used by chacha20-poly1305@openssh.com) for
the packet length and payload streams, and onto CRYPTO_POLY1305 for
the authentication tag (plain MACs are driven in two steps through
/dev/crypto: COP_FLAG_UPDATE feeds the data, a final call retrieves
the tag).

The NuttX crypto backend is a hard requirement of the port:
NETUTILS_DROPBEAR selects CRYPTO_CRYPTODEV and its software backend,
and the bundled chachapoly.c is unconditionally dropped from the
build.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
2026-07-20 16:12:49 -03:00
..
patch netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
port netutils/dropbear: back chacha20-poly1305 with NuttX /dev/crypto 2026-07-20 16:12:49 -03:00
.gitignore netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
CMakeLists.txt netutils/dropbear: back chacha20-poly1305 with NuttX /dev/crypto 2026-07-20 16:12:49 -03:00
dropbear_main.c netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
dropbear_nshsession.c netutils/dropbear: add scp support via SSH exec requests 2026-07-05 15:06:17 +08:00
Kconfig netutils/dropbear: back chacha20-poly1305 with NuttX /dev/crypto 2026-07-20 16:12:49 -03:00
Make.defs netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
Makefile netutils/dropbear: back chacha20-poly1305 with NuttX /dev/crypto 2026-07-20 16:12:49 -03:00