[PATCH 0/4] crypto: hisilicon/trng - add HiSilicon TRNG driver support

From: Weili Qian
Date: Fri Nov 20 2020 - 04:00:13 EST


1. Move HiSilicon TRNG driver form 'drivers/char/hw_random/'
to 'drivers/crypto/hisilicon/'.
2. Add support for PRNG in Crypto subsystem.

Weili Qian (4):
hwrng: hisi - remove HiSilicon TRNG driver
crypto: hisilicon/trng - add HiSilicon TRNG driver support
crypto: hisilicon/trng - add support for PRNG
MAINTAINERS: Move HiSilicon TRNG V2 driver

MAINTAINERS | 2 +-
arch/arm64/configs/defconfig | 1 +
drivers/char/hw_random/Kconfig | 13 --
drivers/char/hw_random/Makefile | 1 -
drivers/char/hw_random/hisi-trng-v2.c | 99 ----------
drivers/crypto/hisilicon/Kconfig | 8 +
drivers/crypto/hisilicon/Makefile | 1 +
drivers/crypto/hisilicon/trng/Makefile | 2 +
drivers/crypto/hisilicon/trng/trng.c | 334 +++++++++++++++++++++++++++++++++
9 files changed, 347 insertions(+), 114 deletions(-)
delete mode 100644 drivers/char/hw_random/hisi-trng-v2.c
create mode 100644 drivers/crypto/hisilicon/trng/Makefile
create mode 100644 drivers/crypto/hisilicon/trng/trng.c

--
2.8.1