mirror-linux/drivers/crypto
Linus Torvalds aec2f682d4 This update includes the following changes:
API:
 
 - Replace crypto_get_default_rng with crypto_stdrng_get_bytes.
 - Remove simd skcipher support.
 - Allow algorithm types to be disabled when CRYPTO_SELFTESTS is off.
 
 Algorithms:
 
 - Remove CPU-based des/3des acceleration.
 - Add test vectors for authenc(hmac(md5),cbc(aes)).
 - Add test vectors for authenc(hmac(md5),cbc(des)).
 - Add test vectors for authenc(hmac(md5),rfc3686(ctr(aes))).
 - Add test vectors for authenc(hmac(sha1),rfc3686(ctr(aes))).
 - Add test vectors for authenc(hmac(sha224),rfc3686(ctr(aes))).
 - Add test vectors for authenc(hmac(sha256),rfc3686(ctr(aes))).
 - Add test vectors for authenc(hmac(sha384),rfc3686(ctr(aes))).
 - Add test vectors for authenc(hmac(sha512),rfc3686(ctr(aes))).
 - Replace spin lock with mutex in jitterentropy.
 
 Drivers:
 
 - Add authenc algorithms to safexcel.
 - Add support for zstd in qat.
 - Add wireless mode support for QAT GEN6.
 - Add anti-rollback support for QAT GEN6.
 - Add support for ctr(aes), gcm(aes), and ccm(aes) in dthev2.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEn51F/lCuNhUwmDeSxycdCkmxi6cFAmne7qgACgkQxycdCkmx
 i6cm0w/9HNFzIWuZWh4Q8k1d/SX32/2p40EMvlw9QFO8wt0gsMtbk6NN5G3sIfhL
 36+rT8Vo5yg9MahTqAspXKjP+QTev5D7/nsDa/FzOSA1JxyvBbgV7X33k8EZjcgT
 +ffuh0WbaWlutYw07o2h4cNPz1Yp4M0hp2IdzvY0Y3q9D05eiwis1SQzUVPmTs6K
 I6OP+4JjJbqubOgJxsltEoeCH9ZP0fObRWmAiVm6rwk9uX4CY32nzi3QOttXQ0su
 4F/useoRwWQ1t7FTy8/fcVtFpL/G8hAFSQ4un5ODhDWL7taV5sZPXQBwXUuoVQM6
 aNjZlaju/MB7gnAOrBvSsniohAAqRUNR8O7P8QW6mDrFmDhUZ3ZILmCKW+VwF5SG
 a4fV94XgBVOnKIqD01cc++8mb6keX/88KJW79AEWLeJ9YZ9BuyFphr9OEBFAIHqx
 xG+iEg4uoVxwC52//oGt/yZaZKK3C1y/Zey5bOjfErKq3ATXGIvawaAzdvB9mh6Q
 iAnl71JpR4mrs++fAyUCKM+dfvdmQYDq6HJayMdg+IHAIeIvyMnPjsGigdVJvE65
 RpBKW4aclfiYaDwX9Jf703mHR1uuKGP1GKpz8U+JXN4Ax2JPg0maC1N3wFkDypYO
 HUNKgEk/173f1HTjU0JjbqvqJh+rKQ3ZbHpLxZrYtnSMukDwRO0=
 =KoAB
 -----END PGP SIGNATURE-----

Merge tag 'v7.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto update from Herbert Xu:
 "API:
   - Replace crypto_get_default_rng with crypto_stdrng_get_bytes
   - Remove simd skcipher support
   - Allow algorithm types to be disabled when CRYPTO_SELFTESTS is off

  Algorithms:
   - Remove CPU-based des/3des acceleration
   - Add test vectors for authenc(hmac(md5),cbc({aes,des})) and
     authenc(hmac({md5,sha1,sha224,sha256,sha384,sha512}),rfc3686(ctr(aes)))
   - Replace spin lock with mutex in jitterentropy

  Drivers:
   - Add authenc algorithms to safexcel
   - Add support for zstd in qat
   - Add wireless mode support for QAT GEN6
   - Add anti-rollback support for QAT GEN6
   - Add support for ctr(aes), gcm(aes), and ccm(aes) in dthev2"

* tag 'v7.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (129 commits)
  crypto: af_alg - use sock_kmemdup in alg_setkey_by_key_serial
  crypto: vmx - remove CRYPTO_DEV_VMX from Kconfig
  crypto: omap - convert reqctx buffer to fixed-size array
  crypto: atmel-sha204a - add Thorsten Blum as maintainer
  crypto: atmel-ecc - add Thorsten Blum as maintainer
  crypto: qat - fix IRQ cleanup on 6xxx probe failure
  crypto: geniv - Remove unused spinlock from struct aead_geniv_ctx
  crypto: qce - simplify qce_xts_swapiv()
  crypto: hisilicon - Fix dma_unmap_single() direction
  crypto: talitos - rename first/last to first_desc/last_desc
  crypto: talitos - fix SEC1 32k ahash request limitation
  crypto: jitterentropy - replace long-held spinlock with mutex
  crypto: hisilicon - remove unused and non-public APIs for qm and sec
  crypto: hisilicon/qm - drop redundant variable initialization
  crypto: hisilicon/qm - remove else after return
  crypto: hisilicon/qm - add const qualifier to info_name in struct qm_cmd_dump_item
  crypto: hisilicon - fix the format string type error
  crypto: ccree - fix a memory leak in cc_mac_digest()
  crypto: qat - add support for zstd
  crypto: qat - use swab32 macro
  ...
2026-04-15 15:22:26 -07:00
..
allwinner crypto: cryptomgr - Select algorithm types only when CRYPTO_SELFTESTS 2026-04-03 08:56:13 +08:00
amcc Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
amlogic crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed crypto: aspeed - Use memcpy_from_sglist() in aspeed_ahash_dma_prepare() 2026-04-03 08:56:12 +08:00
axis crypto: artpec6 - use memcpy_and_pad to simplify prepare_hash 2026-03-22 11:17:58 +09:00
bcm treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
caam This update includes the following changes: 2026-04-15 15:22:26 -07:00
cavium Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
ccp This update includes the following changes: 2026-04-15 15:22:26 -07:00
ccree crypto: ccree - fix a memory leak in cc_mac_digest() 2026-04-12 16:46:28 +08:00
chelsio Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gemini crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
hisilicon crypto: hisilicon - Fix dma_unmap_single() direction 2026-04-12 16:46:29 +08:00
inside-secure crypto: inside-secure/eip93 - add missing address terminator character 2026-03-27 18:52:44 +09:00
intel crypto: qat - fix IRQ cleanup on 6xxx probe failure 2026-04-12 16:47:10 +08:00
loongson crypto: loongson - add Loongson RNG driver support 2025-09-02 12:29:57 +01:00
marvell crypto: marvell/cesa - use memcpy_and_pad in mv_cesa_ahash_export 2026-03-27 18:52:25 +09:00
nx crypto: nx - Fix packed layout in struct nx842_crypto_header 2026-03-27 18:52:43 +09:00
qce crypto: qce - simplify qce_xts_swapiv() 2026-04-12 16:46:29 +08:00
rockchip crypto: rockchip - drop redundant crypto_skcipher_ivsize() calls 2025-11-14 18:15:48 +08:00
starfive crypto: sm3 - Remove 'struct sm3_state' 2026-03-23 17:50:59 -07:00
stm32 crypto: stm32 - use list_first_entry_or_null to simplify cryp_find_dev 2026-03-27 18:52:43 +09:00
tegra This update includes the following changes: 2026-04-15 15:22:26 -07:00
ti crypto: ti - Add support for AES-CCM in DTHEv2 driver 2026-03-27 18:52:44 +09:00
virtio crypto: virtio - Convert from tasklet to BH workqueue 2026-02-28 12:54:14 +09:00
xilinx This update includes the following changes: 2026-02-10 08:36:42 -08:00
Kconfig This update includes the following changes: 2026-04-15 15:22:26 -07:00
Makefile crypto: vmx - Remove disabled build directive 2026-03-07 14:12:20 +09:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - guard unregister on error in atmel_aes_register_algs 2026-03-22 11:17:58 +09:00
atmel-authenc.h
atmel-ecc.c crypto: atmel-ecc - Release client on allocation failure 2026-03-07 14:12:20 +09:00
atmel-i2c.c crypto: atmel-i2c - Replace hard-coded bus clock rate with constant 2026-03-07 14:12:20 +09:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel - use list_first_entry_or_null to simplify find_dev 2026-03-15 13:23:13 +09:00
atmel-sha204a.c crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path 2026-03-22 11:17:59 +09:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel-tdes - fix DMA sync direction 2026-03-15 13:23:13 +09:00
exynos-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
geode-aes.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
geode-aes.h
hifn_795x.c crypto: hifn_795x - Replace snprintf("%s") with strscpy 2026-04-03 08:56:11 +08:00
img-hash.c crypto: img-hash - drop redundant return variable 2026-04-03 08:56:13 +08:00
mxs-dcp.c crypto: mxs-dcp - Only set OTP_KEY bit for OTP key 2025-03-08 16:22:23 +08:00
omap-aes-gcm.c crypto: omap - Use new AES library API 2026-01-15 14:09:08 -08:00
omap-aes.c crypto: omap - Use sysfs_emit in sysfs show functions 2026-01-30 16:09:32 +08:00
omap-aes.h crypto: omap - Use new AES library API 2026-01-15 14:09:08 -08:00
omap-crypto.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
omap-crypto.h
omap-des.c crypto: omap - convert from tasklet to BH workqueue 2025-09-13 12:11:06 +08:00
omap-sham.c crypto: omap - convert reqctx buffer to fixed-size array 2026-04-12 16:47:10 +08:00
padlock-aes.c
padlock-sha.c crypto: padlock-sha - Disable for Zhaoxin processor 2026-03-14 11:34:06 -07:00
qcom-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
s5p-sss.c crypto: s5p-sss - use unregister_{ahashes,skciphers} in probe/remove 2026-03-27 18:52:25 +09:00
sa2ul.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
sa2ul.h
sahara.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.c crypto: talitos - rename first/last to first_desc/last_desc 2026-04-12 16:46:29 +08:00
talitos.h