Files
nuttx/include
Felipe Moura 5e2ce6190d crypto: add CRYPTO_CHACHA20_DJB variant (64-bit counter/nonce)
CRYPTO_CHACHA20 implements the RFC 8439/IETF parameterization (32-bit
counter + 96-bit nonce). SSH's chacha20-poly1305@openssh.com uses the
original DJB construction instead: a 64-bit block counter in state
words 12..13 and a 64-bit nonce in words 14..15 (libtomcrypt's
chacha_ivctr64). The two layouts produce different keystreams for the
same key, so an SSH server cannot interoperate with OpenSSH clients
through the IETF variant.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
2026-07-11 17:58:55 -03:00
..
2026-06-29 14:44:17 +02:00
2026-07-11 14:55:59 -03:00
2026-06-23 23:09:22 +08:00
2026-01-22 22:14:00 +08:00
2026-01-16 10:03:53 +08:00
2026-06-24 14:55:11 -03:00