mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: sun4i-ss - enabled stats via debugfs
This patch enable to access usage stats for each algorithm. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
9bc3dd24e7
commit
b1f578b85a
@@ -32,6 +32,15 @@ config CRYPTO_DEV_SUN4I_SS_PRNG
|
||||
Select this option if you want to provide kernel-side support for
|
||||
the Pseudo-Random Number Generator found in the Security System.
|
||||
|
||||
config CRYPTO_DEV_SUN4I_SS_DEBUG
|
||||
bool "Enable sun4i-ss stats"
|
||||
depends on CRYPTO_DEV_SUN4I_SS
|
||||
depends on DEBUG_FS
|
||||
help
|
||||
Say y to enable sun4i-ss debug stats.
|
||||
This will create /sys/kernel/debug/sun4i-ss/stats for displaying
|
||||
the number of requests per algorithm.
|
||||
|
||||
config CRYPTO_DEV_SUN8I_CE
|
||||
tristate "Support for Allwinner Crypto Engine cryptographic offloader"
|
||||
select CRYPTO_SKCIPHER
|
||||
|
||||
Reference in New Issue
Block a user