diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-01 12:35:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-01 15:16:20 +0100 |
commit | 536cee8cf98ea83d1be2468f02870e1ebf1ab0de (patch) | |
tree | 94e2352b66dfb6ae594eed6c303650e2c2fe07d7 /target/linux/config | |
parent | 2504a9b1f6f9ce2d02e61919dcd0bb6e6af2f0e2 (diff) |
target: linux: config: Add kernel crypto user api symbols
These are used by cryptsetup.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/linux/config')
-rw-r--r-- | target/linux/config/Config.in.crypto | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.crypto b/target/linux/config/Config.in.crypto index c25c7dc51..949b98312 100644 --- a/target/linux/config/Config.in.crypto +++ b/target/linux/config/Config.in.crypto @@ -557,4 +557,61 @@ config ADK_LINUX_KERNEL_CRYPTO_CRC32C Module will be crc32c. endmenu + +menu "User-space interface" + +config ADK_LINUX_KERNEL_CRYPTO_USER_API + tristate + +config ADK_LINUX_KERNEL_CRYPTO_USER_API_HASH + tristate "User-space interface for hash algorithms" + depends on ADK_LINUX_KERNEL_NET + select ADK_LINUX_KERNEL_CRYPTO_HASH + select ADK_LINUX_KERNEL_CRYPTO_USER_API + help + This option enables the user-spaces interface for hash + algorithms. + +config ADK_LINUX_KERNEL_CRYPTO_USER_API_SKCIPHER + tristate "User-space interface for symmetric key cipher algorithms" + depends on ADK_LINUX_KERNEL_NET + select ADK_LINUX_KERNEL_CRYPTO_BLKCIPHER + select ADK_LINUX_KERNEL_CRYPTO_USER_API + help + This option enables the user-spaces interface for symmetric + key cipher algorithms. + +config ADK_LINUX_KERNEL_CRYPTO_USER_API_RNG + tristate "User-space interface for random number generator algorithms" + depends on ADK_LINUX_KERNEL_NET + select ADK_LINUX_KERNEL_CRYPTO_RNG + select ADK_LINUX_KERNEL_CRYPTO_USER_API + help + This option enables the user-spaces interface for random + number generator algorithms. + +config ADK_LINUX_KERNEL_CRYPTO_USER_API_AEAD + tristate "User-space interface for AEAD cipher algorithms" + depends on ADK_LINUX_KERNEL_NET + select ADK_LINUX_KERNEL_CRYPTO_AEAD + select ADK_LINUX_KERNEL_CRYPTO_BLKCIPHER + select ADK_LINUX_KERNEL_CRYPTO_NULL + select ADK_LINUX_KERNEL_CRYPTO_USER_API + help + This option enables the user-spaces interface for AEAD + cipher algorithms. + +config ADK_LINUX_KERNEL_CRYPTO_STATS + bool "Crypto usage statistics for User-space" + depends on ADK_LINUX_KERNEL_CRYPTO_USER + 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 + +endmenu endmenu |