Finish removing crypto_rng from drivers/crypto/
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | crypto: qcom-rng - Enable clock in hwrng casedrivers/ | +16 | 0 replies | |
| 2/7 | crypto: qcom-rng - Allow zero as a random numberdrivers/ | +0 | 0 replies | |
| 3/7 | crypto: qcom-rng - Remove crypto_rng interfacedrivers/ drivers/ | +19 | 0 replies | |
| 4/7 | hwrng: qcom - Move qcom-rng.c into drivers/char/hw_random/arch/ arch/ arch/ +6 more | +16 | 0 replies | |
| 5/7 | crypto: sun8i-ce - Remove crypto_rng interfacedrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 6/7 | crypto: sun8i-ss - Remove crypto_rng interfacedrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 7/7 | crypto: caam - Remove crypto_rng interfacedrivers/ drivers/ drivers/ +2 more | +0 | 0 replies |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Dmitry Baryshkov | Konrad Dybcio |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | |
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] Finish removing crypto_rng from drivers/crypto/
This series finishes removing the unused, redundant, and frequently broken crypto_rng support from drivers/crypto/. It applies to cryptodev/master.
Patches 1-4 are a resend of
https://lore.kernel.org/linux-crypto/[email protected]/
Please consider these patches for 7.2, considering that most of these drivers had security vulnerabilities which would have needed to be fixed right away anyway. And the qcom hwrng fixes are important too.
Eric Biggers (7):
crypto: qcom-rng - Enable clock in hwrng case
crypto: qcom-rng - Allow zero as a random number
crypto: qcom-rng - Remove crypto_rng interface
hwrng: qcom - Move qcom-rng.c into drivers/char/hw_random/
crypto: sun8i-ce - Remove crypto_rng interface
crypto: sun8i-ss - Remove crypto_rng interface
crypto: caam - Remove crypto_rng interface
arch/arm/configs/multi_v7_defconfig | 2 +-
arch/arm/configs/qcom_defconfig | 2 +-
arch/arm64/configs/defconfig | 2 +-
drivers/char/hw_random/Kconfig | 11 +
drivers/char/hw_random/Makefile | 1 +
drivers/{crypto => char/hw_random}/qcom-rng.c | 156 ++----------
drivers/crypto/Kconfig | 12 -
drivers/crypto/Makefile | 1 -
drivers/crypto/allwinner/Kconfig | 16 --
drivers/crypto/allwinner/sun8i-ce/Makefile | 1 -
.../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 63 -----
.../crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 159 ------------
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 29 ---
drivers/crypto/allwinner/sun8i-ss/Makefile | 1 -
.../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 45 ----
.../crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 177 -------------
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 23 --
drivers/crypto/caam/Kconfig | 9 -
drivers/crypto/caam/Makefile | 1 -
drivers/crypto/caam/caamprng.c | 241 ------------------
drivers/crypto/caam/intern.h | 15 --
drivers/crypto/caam/jr.c | 2 -
drivers/gpu/drm/ci/arm64.config | 2 +-
23 files changed, 41 insertions(+), 930 deletions(-)
rename drivers/{crypto => char/hw_random}/qcom-rng.c (53%)
delete mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
delete mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
delete mode 100644 drivers/crypto/caam/caamprng.cbase-commit: 6ea0ce3a19f9c37a014099e2b0a46b27fa164564
Signature · 1 line
2.54.0