nuttx/include/crypto
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
..
aes.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
blf.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
bn.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
cast.h LICENSE: update NuttX-PublicDomain SPDX identifier 2025-12-26 19:46:12 +08:00
chachapoly.h crypto: add CRYPTO_CHACHA20_DJB variant (64-bit counter/nonce) 2026-07-11 17:58:55 -03:00
cmac.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cryptodev.h crypto: add CRYPTO_CHACHA20_DJB variant (64-bit counter/nonce) 2026-07-11 17:58:55 -03:00
cryptosoft.h crypto/cryptosoft: Add support for PBKDF2 2026-03-29 17:23:03 -03:00
curve25519.h include/crypto/curve25519.h: fix gcc14 error 2024-05-31 18:14:11 -03:00
ecc.h crypto/ecc: add SPDX license identifier 2026-01-26 10:55:57 +08:00
gmac.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
hmac.h crypto/hmac: Fix typo in function implementation names 2025-08-13 23:11:02 +08:00
idgen.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
key_wrap.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
md5.h LICENSE: update NuttX-PublicDomain SPDX identifier 2025-12-26 19:46:12 +08:00
poly1305.h LICENSE: update NuttX-PublicDomain SPDX identifier 2025-12-26 19:46:12 +08:00
rijndael.h LICENSE: update NuttX-PublicDomain SPDX identifier 2025-12-26 19:46:12 +08:00
rmd160.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sha1.h LICENSE: update NuttX-PublicDomain SPDX identifier 2025-12-26 19:46:12 +08:00
sha2.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
siphash.h crypto/siphash: avoid redefine name issue 2026-01-19 23:25:37 +08:00
xform.h crypto: add CRYPTO_CHACHA20_DJB variant (64-bit counter/nonce) 2026-07-11 17:58:55 -03:00