Skip to content

Commit c5b840a

Browse files
geertuherbertx
authored andcommitted
crypto: keembay - CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 should depend on ARCH_KEEMBAY
The Intel Keem Bay Offload and Crypto Subsystem (OCS) is only present on Intel Keem Bay SoCs. Hence add a dependency on ARCH_KEEMBAY, to prevent asking the user about this driver when configuring a kernel without Intel Keem Bay platform support. While at it, fix a misspelling of "cipher". Fixes: 8857433 ("crypto: keembay - Add support for Keem Bay OCS AES/SM4") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Daniele Alessandrelli <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 93cebeb commit c5b840a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/keembay/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
22
tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"
3-
depends on OF || COMPILE_TEST
3+
depends on ARCH_KEEMBAY || COMPILE_TEST
44
select CRYPTO_SKCIPHER
55
select CRYPTO_AEAD
66
select CRYPTO_ENGINE
77
help
88
Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
9-
SM4 cihper hardware acceleration for use with Crypto API.
9+
SM4 cipher hardware acceleration for use with Crypto API.
1010

1111
Provides HW acceleration for the following transformations:
1212
cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)

0 commit comments

Comments
 (0)