17 Nov, 2019
1 commit
-
Now that all users of the deprecated ablkcipher interface have been
moved to the skcipher interface, ablkcipher is no longer used and
can be removed.Reviewed-by: Eric Biggers
Signed-off-by: Ard Biesheuvel
Signed-off-by: Herbert Xu
01 Nov, 2019
2 commits
-
Now that all "blkcipher" algorithms have been converted to "skcipher",
remove the blkcipher algorithm type.The skcipher (symmetric key cipher) algorithm type was introduced a few
years ago to replace both blkcipher and ablkcipher (synchronous and
asynchronous block cipher). The advantages of skcipher include:- A much less confusing name, since none of these algorithm types have
ever actually been for raw block ciphers, but rather for all
length-preserving encryption modes including block cipher modes of
operation, stream ciphers, and other length-preserving modes.- It unified blkcipher and ablkcipher into a single algorithm type
which supports both synchronous and asynchronous implementations.
Note, blkcipher already operated only on scatterlists, so the fact
that skcipher does too isn't a regression in functionality.- Better type safety by using struct skcipher_alg, struct
crypto_skcipher, etc. instead of crypto_alg, crypto_tfm, etc.- It sometimes simplifies the implementations of algorithms.
Also, the blkcipher API was no longer being tested.
Signed-off-by: Eric Biggers
Signed-off-by: Herbert Xu -
crypto_has_ablkcipher() has no users, and it does the same thing as
crypto_has_skcipher() anyway. So remove it. This also removes the last
user of crypto_skcipher_type() and crypto_skcipher_mask(), so remove
those too.Signed-off-by: Eric Biggers
Signed-off-by: Herbert Xu
03 Jul, 2019
1 commit
-
Fill in missing parameter descriptions for the compression algorithm,
then pick them up to document for the compression_alg structure.Signed-off-by: Gary R Hook
Signed-off-by: Herbert Xu
15 Feb, 2017
1 commit
-
Fix a single letter typo in api-skcipher.rst.
Signed-off-by: Gilad Ben-Yossef
Signed-off-by: Herbert Xu
14 Dec, 2016
3 commits
-
The :functions: definition allows the specification of multiple
function references which prevents parsing the header file multiple
times.Reported-by: Jani Nikula
Signed-off-by: Stephan Mueller
Signed-off-by: Jonathan Corbet -
Remove the documentation reference to crypto_alloc_ablkcipher as the API
function call was removed.Signed-off-by: Stephan Mueller
Signed-off-by: Jonathan Corbet -
With the conversion of the kernel crypto API DocBook to Sphinx, the
monolithic document is broken up into individual documents. The
documentation is unchanged with the exception of a slight reordering to
keep the individual document parts self-contained.Signed-off-by: Stephan Mueller
Signed-off-by: Jonathan Corbet