Commit 66dd59b7 authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu
Browse files

crypto: Kconfig - warn about performance overhead of CRYPTO_STATS



Make the help text for CRYPTO_STATS explicitly mention that it reduces
the performance of the crypto API.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b04b076f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1393,6 +1393,9 @@ config CRYPTO_STATS
	help
	  Enable the gathering of crypto stats.

	  Enabling this option reduces the performance of the crypto API.  It
	  should only be enabled when there is actually a use case for it.

	  This collects data sizes, numbers of requests, and numbers
	  of errors processed by:
	  - AEAD ciphers (encrypt, decrypt)