jerpelea opened a new pull request, #19709:
URL: https://github.com/apache/nuttx/pull/19709
## Summary
This PR adds a new OCF algorithm ID, CRYPTO_CHACHA20_DJB, implementing the
original ChaCha20 construction as designed by Daniel J. Bernstein (DJB),
alongside the already-supported IETF variant.
ChaCha20 exists in two standard parameterizations that differ only in how the
last four words of the cipher state (words 12..15) are split:
Original DJB construction (2008): 64-bit little-endian block counter
(state words 12–13) + 64-bit nonce (state words 14–15). This is the
layout
used by OpenSSH's [email protected] and by libtomcrypt's
chacha_ivctr64().
IETF variant (RFC 8439): 32-bit block counter (word 12) + 96-bit nonce
(words 13–15). This is what the existing CRYPTO_CHACHA20 implements, and
what TLS uses.
Includes
https://github.com/apache/nuttx/pull/19294
https://github.com/apache/nuttx/pull/19396
## Impact
RELEASE
## Testing
CI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]