]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: skcipher - remove remnants of internal IV generators
authorEric Biggers <ebiggers@google.com>
Sun, 16 Dec 2018 23:55:06 +0000 (15:55 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 Dec 2018 03:52:45 +0000 (11:52 +0800)
commit5c4f90c74de28afb045125f85432768dd2aa5370
tree8618422aba6b486d76cd0ab5f3d3515d9e823558
parent11bfe851707930f788432ef1bda9f7a60cb40e81
crypto: skcipher - remove remnants of internal IV generators

Remove dead code related to internal IV generators, which are no longer
used since they've been replaced with the "seqiv" and "echainiv"
templates.  The removed code includes:

- The "givcipher" (GIVCIPHER) algorithm type.  No algorithms are
  registered with this type anymore, so it's unneeded.

- The "const char *geniv" member of aead_alg, ablkcipher_alg, and
  blkcipher_alg.  A few algorithms still set this, but it isn't used
  anymore except to show via /proc/crypto and CRYPTO_MSG_GETALG.
  Just hardcode "<default>" or "<none>" in those cases.

- The 'skcipher_givcrypt_request' structure, which is never used.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 files changed:
Documentation/crypto/api.rst
Documentation/crypto/architecture.rst
crypto/ablkcipher.c
crypto/blkcipher.c
crypto/cryptd.c
crypto/ctr.c
crypto/skcipher.c
drivers/crypto/bcm/cipher.c
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/ixp4xx_crypto.c
drivers/crypto/nx/nx-aes-ctr.c
drivers/crypto/omap-aes.c
drivers/crypto/picoxcell_crypto.c
drivers/crypto/talitos.c
include/crypto/aead.h
include/crypto/internal/skcipher.h
include/crypto/skcipher.h
include/linux/crypto.h