crypto: salsa20 - cleanup and convert to skcipher API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- Use '__le32' type for keystream, as suggested by Stephan.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto: salsa20-generic - cleanup and convert to skcipher APIcrypto/ | +104 | 0 replies | |
| 2/3 | crypto: salsa20 - export generic helperscrypto/ include/ | +34 | 0 replies | |
| 3/3 | crypto: x86/salsa20 - cleanup and convert to skcipher APIarch/ arch/ arch/ +1 more | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] crypto: salsa20 - cleanup and convert to skcipher API
From: Eric Biggers <[email protected]>
This series converts the Salsa20 implementations over to the skcipher API, in the process fixing a couple bugs and making them be more similar to the ChaCha20 implementations, rather than doing things slightly differently for no good reason. (Note, however, that Salsa20 still interprets the IV differently from ChaCha20; I didn't change that.)
I'm not sure who is actually using Salsa20 in the kernel, but either way if we're going to have it at all we might as well keep it up to date.
The Salsa20 algorithms still pass the self-tests after these changes.
Changed since v1:
- Use '__le32' type for keystream, as suggested by Stephan.
Eric Biggers (3):
crypto: salsa20-generic - cleanup and convert to skcipher API
crypto: salsa20 - export generic helpers
crypto: x86/salsa20 - cleanup and convert to skcipher API
arch/x86/crypto/salsa20-i586-asm_32.S | 184 +----------------------- arch/x86/crypto/salsa20-x86_64-asm_64.S | 114 --------------- arch/x86/crypto/salsa20_glue.c | 105 ++++++-------- crypto/Kconfig | 2 + crypto/salsa20_generic.c | 240 ++++++++++++++------------------ include/crypto/salsa20.h | 27 ++++ 6 files changed, 174 insertions(+), 498 deletions(-) create mode 100644 include/crypto/salsa20.h
Signature · 1 line
2.16.0.rc0.223.g4a4ac83678-goog