crypto: Kconfig - simplify userspace entries
Shorten menu titles and make them consistent: - acronym - name - architecture features in parenthesis - no suffixes like "<something> algorithm", "support", or "hardware acceleration", or "optimized" Simplify help text descriptions, update references, and ensure that https references are still valid. Signed-off-by: Robert Elliott <elliott@hpe.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
3f342a2325
commit
9bc517155f
|
@ -1291,60 +1291,72 @@ config CRYPTO_KDF800108_CTR
|
||||||
select CRYPTO_SHA256
|
select CRYPTO_SHA256
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
menu "User-space interface"
|
menu "Userspace interface"
|
||||||
|
|
||||||
config CRYPTO_USER_API
|
config CRYPTO_USER_API
|
||||||
tristate
|
tristate
|
||||||
|
|
||||||
config CRYPTO_USER_API_HASH
|
config CRYPTO_USER_API_HASH
|
||||||
tristate "User-space interface for hash algorithms"
|
tristate "Hash algorithms"
|
||||||
depends on NET
|
depends on NET
|
||||||
select CRYPTO_HASH
|
select CRYPTO_HASH
|
||||||
select CRYPTO_USER_API
|
select CRYPTO_USER_API
|
||||||
help
|
help
|
||||||
This option enables the user-spaces interface for hash
|
Enable the userspace interface for hash algorithms.
|
||||||
algorithms.
|
|
||||||
|
See Documentation/crypto/userspace-if.rst and
|
||||||
|
https://www.chronox.de/libkcapi/html/index.html
|
||||||
|
|
||||||
config CRYPTO_USER_API_SKCIPHER
|
config CRYPTO_USER_API_SKCIPHER
|
||||||
tristate "User-space interface for symmetric key cipher algorithms"
|
tristate "Symmetric key cipher algorithms"
|
||||||
depends on NET
|
depends on NET
|
||||||
select CRYPTO_SKCIPHER
|
select CRYPTO_SKCIPHER
|
||||||
select CRYPTO_USER_API
|
select CRYPTO_USER_API
|
||||||
help
|
help
|
||||||
This option enables the user-spaces interface for symmetric
|
Enable the userspace interface for symmetric key cipher algorithms.
|
||||||
key cipher algorithms.
|
|
||||||
|
See Documentation/crypto/userspace-if.rst and
|
||||||
|
https://www.chronox.de/libkcapi/html/index.html
|
||||||
|
|
||||||
config CRYPTO_USER_API_RNG
|
config CRYPTO_USER_API_RNG
|
||||||
tristate "User-space interface for random number generator algorithms"
|
tristate "RNG (random number generator) algorithms"
|
||||||
depends on NET
|
depends on NET
|
||||||
select CRYPTO_RNG
|
select CRYPTO_RNG
|
||||||
select CRYPTO_USER_API
|
select CRYPTO_USER_API
|
||||||
help
|
help
|
||||||
This option enables the user-spaces interface for random
|
Enable the userspace interface for RNG (random number generator)
|
||||||
number generator algorithms.
|
algorithms.
|
||||||
|
|
||||||
|
See Documentation/crypto/userspace-if.rst and
|
||||||
|
https://www.chronox.de/libkcapi/html/index.html
|
||||||
|
|
||||||
config CRYPTO_USER_API_RNG_CAVP
|
config CRYPTO_USER_API_RNG_CAVP
|
||||||
bool "Enable CAVP testing of DRBG"
|
bool "Enable CAVP testing of DRBG"
|
||||||
depends on CRYPTO_USER_API_RNG && CRYPTO_DRBG
|
depends on CRYPTO_USER_API_RNG && CRYPTO_DRBG
|
||||||
help
|
help
|
||||||
This option enables extra API for CAVP testing via the user-space
|
Enable extra APIs in the userspace interface for NIST CAVP
|
||||||
interface: resetting of DRBG entropy, and providing Additional Data.
|
(Cryptographic Algorithm Validation Program) testing:
|
||||||
|
- resetting DRBG entropy
|
||||||
|
- providing Additional Data
|
||||||
|
|
||||||
This should only be enabled for CAVP testing. You should say
|
This should only be enabled for CAVP testing. You should say
|
||||||
no unless you know what this is.
|
no unless you know what this is.
|
||||||
|
|
||||||
config CRYPTO_USER_API_AEAD
|
config CRYPTO_USER_API_AEAD
|
||||||
tristate "User-space interface for AEAD cipher algorithms"
|
tristate "AEAD cipher algorithms"
|
||||||
depends on NET
|
depends on NET
|
||||||
select CRYPTO_AEAD
|
select CRYPTO_AEAD
|
||||||
select CRYPTO_SKCIPHER
|
select CRYPTO_SKCIPHER
|
||||||
select CRYPTO_NULL
|
select CRYPTO_NULL
|
||||||
select CRYPTO_USER_API
|
select CRYPTO_USER_API
|
||||||
help
|
help
|
||||||
This option enables the user-spaces interface for AEAD
|
Enable the userspace interface for AEAD cipher algorithms.
|
||||||
cipher algorithms.
|
|
||||||
|
See Documentation/crypto/userspace-if.rst and
|
||||||
|
https://www.chronox.de/libkcapi/html/index.html
|
||||||
|
|
||||||
config CRYPTO_USER_API_ENABLE_OBSOLETE
|
config CRYPTO_USER_API_ENABLE_OBSOLETE
|
||||||
bool "Enable obsolete cryptographic algorithms for userspace"
|
bool "Obsolete cryptographic algorithms"
|
||||||
depends on CRYPTO_USER_API
|
depends on CRYPTO_USER_API
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
|
@ -1353,16 +1365,21 @@ config CRYPTO_USER_API_ENABLE_OBSOLETE
|
||||||
only useful for userspace clients that still rely on them.
|
only useful for userspace clients that still rely on them.
|
||||||
|
|
||||||
config CRYPTO_STATS
|
config CRYPTO_STATS
|
||||||
bool "Crypto usage statistics for User-space"
|
bool "Crypto usage statistics"
|
||||||
depends on CRYPTO_USER
|
depends on CRYPTO_USER
|
||||||
help
|
help
|
||||||
This option enables the gathering of crypto stats.
|
Enable the gathering of crypto stats.
|
||||||
This will collect:
|
|
||||||
- encrypt/decrypt size and numbers of symmeric operations
|
This collects data sizes, numbers of requests, and numbers
|
||||||
- compress/decompress size and numbers of compress operations
|
of errors processed by:
|
||||||
- size and numbers of hash operations
|
- AEAD ciphers (encrypt, decrypt)
|
||||||
- encrypt/decrypt/sign/verify numbers for asymmetric operations
|
- asymmetric key ciphers (encrypt, decrypt, verify, sign)
|
||||||
- generate/seed numbers for rng operations
|
- symmetric key ciphers (encrypt, decrypt)
|
||||||
|
- compression algorithms (compress, decompress)
|
||||||
|
- hash algorithms (hash)
|
||||||
|
- key-agreement protocol primitives (setsecret, generate
|
||||||
|
public key, compute shared secret)
|
||||||
|
- RNG (generate, seed)
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue