using size_add() to hardening kmalloc() and remove some redundant include
headers.
Compile test only.

v2:
 - remove redundant include headers in v1 (<linux/overflow.h>).
 - add a patch to remove other redundant headers.

v1:
 - https://lore.kernel.org/all/20250421055104.663552-1-su...@nfschina.com/

Su Hui (2):
  crypto: using size_add() for kmalloc()
  crypto: remove some redundant include headers

 include/crypto/acompress.h    | 4 ----
 include/crypto/aead.h         | 6 +-----
 include/crypto/aes.h          | 1 -
 include/crypto/akcipher.h     | 4 ++--
 include/crypto/algapi.h       | 3 ---
 include/crypto/blowfish.h     | 1 -
 include/crypto/cast5.h        | 1 -
 include/crypto/cast6.h        | 1 -
 include/crypto/drbg.h         | 2 --
 include/crypto/hash.h         | 2 --
 include/crypto/internal/des.h | 1 -
 include/crypto/kpp.h          | 5 +----
 include/crypto/krb5.h         | 1 -
 include/crypto/pcrypt.h       | 1 -
 include/crypto/poly1305.h     | 1 -
 include/crypto/polyval.h      | 1 -
 include/crypto/rng.h          | 2 --
 include/crypto/serpent.h      | 1 -
 include/crypto/skcipher.h     | 4 ----
 include/crypto/sm4.h          | 1 -
 20 files changed, 4 insertions(+), 39 deletions(-)

-- 
2.30.2


Reply via email to