crypto: chacha20 - Alignment fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | crypto: chacha20 - Fix unaligned access when loading constantscrypto/ | +4 | 1 reply | |
| 2/5 | crypto: chacha20 - Use unaligned access macros when loading key and IVcrypto/ | +6 | 1 reply | |
| 3/5 | crypto: chacha20 - Remove cra_alignmaskcrypto/ | +0 | 1 reply | |
| 4/5 | crypto: x86/chacha20 - Remove cra_alignmaskarch/ | +0 | 1 reply | |
| 5/5 | crypto: chacha20 - Fix keystream alignment for chacha20_block()crypto/ drivers/ include/ +1 more | +18 | 3 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Ard Biesheuvel |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] crypto: chacha20 - Alignment fixes
From: Eric Biggers <[email protected]>
This series fixes potentially unaligned memory accesses when loading the initial state, key, and IV for ChaCha20, and when outputting each keystream block.
It also removes the cra_alignmask from the generic and x86 ChaCha20 implementations, once it is no longer needed.
Eric Biggers (5):
crypto: chacha20 - Fix unaligned access when loading constants
crypto: chacha20 - Use unaligned access macros when loading key and IV
crypto: chacha20 - Remove cra_alignmask
crypto: x86/chacha20 - Remove cra_alignmask
crypto: chacha20 - Fix keystream alignment for chacha20_block()
arch/x86/crypto/chacha20_glue.c | 1 - crypto/chacha20_generic.c | 33 +++++++++++++-------------------- drivers/char/random.c | 24 ++++++++++++------------ include/crypto/chacha20.h | 3 ++- lib/chacha20.c | 2 +- 5 files changed, 28 insertions(+), 35 deletions(-)
Signature · 1 line
2.15.0.448.gf294e3d99a-goog