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, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt