crypto: skcipher - remove the "blkcipher" algorithm type
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 ...
Showing
- Documentation/crypto/api-skcipher.rst 1 addition, 10 deletionsDocumentation/crypto/api-skcipher.rst
- Documentation/crypto/architecture.rst 0 additions, 2 deletionsDocumentation/crypto/architecture.rst
- Documentation/crypto/devel-algos.rst 11 additions, 16 deletionsDocumentation/crypto/devel-algos.rst
- crypto/Makefile 0 additions, 1 deletioncrypto/Makefile
- crypto/api.c 1 addition, 1 deletioncrypto/api.c
- crypto/blkcipher.c 0 additions, 548 deletionscrypto/blkcipher.c
- crypto/cryptd.c 1 addition, 1 deletioncrypto/cryptd.c
- crypto/crypto_user_stat.c 0 additions, 4 deletionscrypto/crypto_user_stat.c
- crypto/essiv.c 3 additions, 3 deletionscrypto/essiv.c
- crypto/skcipher.c 1 addition, 106 deletionscrypto/skcipher.c
- include/crypto/algapi.h 0 additions, 74 deletionsinclude/crypto/algapi.h
- include/crypto/internal/skcipher.h 0 additions, 12 deletionsinclude/crypto/internal/skcipher.h
- include/crypto/skcipher.h 0 additions, 8 deletionsinclude/crypto/skcipher.h
- include/linux/crypto.h 2 additions, 393 deletionsinclude/linux/crypto.h
- net/xfrm/xfrm_algo.c 2 additions, 2 deletionsnet/xfrm/xfrm_algo.c
Please register or sign in to comment