mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
crypto: user - Implement a generic crypto statistics
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
a9cbfe4c78
commit
cac5818c25
17 changed files with 970 additions and 35 deletions
|
|
@ -1799,6 +1799,17 @@ config CRYPTO_USER_API_AEAD
|
|||
This option enables the user-spaces interface for AEAD
|
||||
cipher algorithms.
|
||||
|
||||
config CRYPTO_STATS
|
||||
bool "Crypto usage statistics for User-space"
|
||||
help
|
||||
This option enables the gathering of crypto stats.
|
||||
This will collect:
|
||||
- encrypt/decrypt size and numbers of symmeric operations
|
||||
- compress/decompress size and numbers of compress operations
|
||||
- size and numbers of hash operations
|
||||
- encrypt/decrypt/sign/verify numbers for asymmetric operations
|
||||
- generate/seed numbers for rng operations
|
||||
|
||||
config CRYPTO_HASH_INFO
|
||||
bool
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue