^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Copyright (C) ST-Ericsson SA 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # Author: Shujuan Chen (shujuan.chen@stericsson.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) config CRYPTO_DEV_UX500_CRYP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) tristate "UX500 crypto driver for CRYP block"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) depends on CRYPTO_DEV_UX500
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select CRYPTO_ALGAPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select CRYPTO_SKCIPHER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select CRYPTO_LIB_DES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) This selects the crypto driver for the UX500_CRYP hardware. It supports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) config CRYPTO_DEV_UX500_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) tristate "UX500 crypto driver for HASH block"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) depends on CRYPTO_DEV_UX500
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select CRYPTO_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select CRYPTO_SHA1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select CRYPTO_SHA256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) This selects the hash driver for the UX500_HASH hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Depends on UX500/STM DMA if running in DMA mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config CRYPTO_DEV_UX500_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) bool "Activate ux500 platform debug-mode for crypto and hash block"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Say Y if you want to add debug prints to ux500_hash and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) ux500_cryp devices.