crypto: Fix chaining support for stream ciphers (arc4 only for now)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 0 repliesSuperseded
- v14 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | crypto: skcipher - Add internal state supportcrypto/ crypto/ crypto/ +2 more | +94 | 0 replies | |
| 2/4 | crypto: skcipher - Make use of internal statecrypto/ crypto/ include/ | +139 | 0 replies | |
| 3/4 | crypto: arc4 - Add internal statecrypto/ | +7 | 0 replies | |
| 4/4 | crypto: algif_skcipher - Fix stream cipher chainingcrypto/ include/ | +70 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [v3 PATCH 0/4] crypto: Fix chaining support for stream ciphers (arc4 only for now)
v3 updates the documentation for crypto_lskcipher_encrypt/decrypt. v2 fixes a crash when no export/import functions are provided.
This series of patches adds the ability to process a skcipher request in a piecemeal fashion, which is currently only possible for selected algorithms such as CBC and CTR.
Herbert Xu (4):
crypto: skcipher - Add internal state support
crypto: skcipher - Make use of internal state
crypto: arc4 - Add internal state
crypto: algif_skcipher - Fix stream cipher chaining
crypto/algif_skcipher.c | 71 ++++++++++++++++++++++- crypto/arc4.c | 8 ++- crypto/cbc.c | 6 +- crypto/ecb.c | 10 ++-- crypto/lskcipher.c | 42 +++++++++++--- crypto/skcipher.c | 80 +++++++++++++++++++++++++- include/crypto/if_alg.h | 2 + include/crypto/skcipher.h | 117 +++++++++++++++++++++++++++++++++++--- 8 files changed, 306 insertions(+), 30 deletions(-)
Cheers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt