Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/3] crypto: adiantum - Use the ChaCha library
@ 2026-11-30  5:55 Laveesh Bansal
  2026-11-30  5:55 ` [PATCH 1/3] crypto: testmgr - Add Adiantum vectors with a partial last ChaCha block Laveesh Bansal
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Laveesh Bansal @ 2026-11-30  5:55 UTC (permalink / raw)
  To: Eric Biggers; +Cc: Herbert Xu, David S. Miller, linux-crypto, linux-kernel

This series makes adiantum call the ChaCha library directly
instead of going through a crypto_skcipher child.

This came out of a conversation on another patch:
https://lore.kernel.org/all/20261127184407.GB1974@quark/

I used an LLM for research, the first draft, review and tests.
I did the final code changes and reviews myself.

Laveesh Bansal (3):
  crypto: testmgr - Add Adiantum vectors with a partial last ChaCha
    block
  crypto: adiantum - Derive the subkeys with the ChaCha library
  crypto: adiantum - Use the ChaCha library for the stream cipher

 crypto/Kconfig    |   3 +-
 crypto/adiantum.c | 229 ++++++++---------
 crypto/testmgr.h  | 644 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 758 insertions(+), 118 deletions(-)

I based this series on commit Id 9fb9278d13dca
from master branch of this tree:
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

This series applies on top of the following:
  - setkey: https://lore.kernel.org/all/20261125013553.94480-1-ebiggers@kernel.org/
  - aeslib: https://lore.kernel.org/all/20261125032407.126634-1-ebiggers@kernel.org/

base-commit: 9fb9278d13dca54ce7ecd3254c7df8839e59f03d
prerequisite-patch-id: 5268ec1436ad909487f950765a39a0cc6eac0c6a
prerequisite-patch-id: 0edefdce5d51065803ab84e3492634dcb9e0e53e
-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-30 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  5:55 [PATCH 0/3] crypto: adiantum - Use the ChaCha library Laveesh Bansal
2026-11-30  5:55 ` [PATCH 1/3] crypto: testmgr - Add Adiantum vectors with a partial last ChaCha block Laveesh Bansal
2026-11-30  5:55 ` [PATCH 2/3] crypto: adiantum - Derive the subkeys with the ChaCha library Laveesh Bansal
2026-11-30 19:43   ` Eric Biggers
2026-11-30  5:55 ` [PATCH 3/3] crypto: adiantum - Use the ChaCha library for the stream cipher Laveesh Bansal
2026-11-30 19:40   ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox