[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250114095527.23722-1-zhaoqunqin@loongson.cn>
Date: Tue, 14 Jan 2025 17:55:24 +0800
From: Qunqin Zhao <zhaoqunqin@...ngson.cn>
To: lee@...nel.org,
herbert@...dor.apana.org.au,
gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev,
davem@...emloft.net,
linux-crypto@...r.kernel.org,
arnd@...db.de,
derek.kiernan@....com,
dragan.cvetic@....com,
Qunqin Zhao <zhaoqunqin@...ngson.cn>
Subject: [PATCH v1 0/3] Drivers for Loongson security engine
Loongson SE supports random number generation, hash, symmetric encryption
and asymmetric encryption. Based on these encryption functions, TPM2.0
and SDF have been implemented in SE. SDF is the functions specified in
"GB/T 36322-2018".
mfd is the baser driver, crypto and misc are users.
Qunqin Zhao (3):
mfd: Add support for Loongson Security Module
crypto: loongson - add Loongson RNG driver support
misc: ls6000se-sdf: Add driver for Loongson 6000SE SDF
MAINTAINERS | 14 +
drivers/crypto/Kconfig | 1 +
drivers/crypto/Makefile | 1 +
drivers/crypto/loongson/Kconfig | 6 +
drivers/crypto/loongson/Makefile | 2 +
drivers/crypto/loongson/ls6000se-rng.c | 190 +++++++++++++
drivers/mfd/Kconfig | 9 +
drivers/mfd/Makefile | 2 +
drivers/mfd/ls6000se.c | 373 +++++++++++++++++++++++++
drivers/misc/Kconfig | 9 +
drivers/misc/Makefile | 1 +
drivers/misc/ls6000se-sdf.c | 123 ++++++++
include/linux/mfd/ls6000se.h | 75 +++++
13 files changed, 806 insertions(+)
create mode 100644 drivers/crypto/loongson/Kconfig
create mode 100644 drivers/crypto/loongson/Makefile
create mode 100644 drivers/crypto/loongson/ls6000se-rng.c
create mode 100644 drivers/mfd/ls6000se.c
create mode 100644 drivers/misc/ls6000se-sdf.c
create mode 100644 include/linux/mfd/ls6000se.h
base-commit: c2b148f3bc94b61e885dc8529d6b6136576bd865
--
2.43.0
Powered by blists - more mailing lists