crypto: keembay - Add dependency on HAS_IOMEM
[linux-2.6-microblaze.git] / drivers / crypto / keembay / Kconfig
1 config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
2         tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"
3         depends on HAS_IOMEM
4         depends on ARCH_KEEMBAY || COMPILE_TEST
5         select CRYPTO_SKCIPHER
6         select CRYPTO_AEAD
7         select CRYPTO_ENGINE
8         help
9           Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
10           SM4 cipher hardware acceleration for use with Crypto API.
11
12           Provides HW acceleration for the following transformations:
13           cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
14           and gcm(sm4).
15
16           Optionally, support for the following transformations can also be
17           enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).
18
19 config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_ECB
20         bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"
21         depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
22         help
23           Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
24           AES/SM4 ECB mode hardware acceleration for use with Crypto API.
25
26           Provides OCS version of ecb(aes) and ecb(sm4)
27
28           Intel does not recommend use of ECB mode with AES/SM4.
29
30 config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CTS
31         bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration"
32         depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
33         help
34           Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
35           AES/SM4 CBC with CTS mode hardware acceleration for use with
36           Crypto API.
37
38           Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)).
39
40           Intel does not recommend use of CTS mode with AES/SM4.