blob: b1c6f739f77b7dbc09a4de6f530106ae02f4e6da [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002#
3# Copyright (C) ST-Ericsson SA 2010
4# Author: Shujuan Chen (shujuan.chen@stericsson.com)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00005#
6
7config CRYPTO_DEV_UX500_CRYP
8 tristate "UX500 crypto driver for CRYP block"
9 depends on CRYPTO_DEV_UX500
10 select CRYPTO_ALGAPI
11 select CRYPTO_BLKCIPHER
David Brazdil0f672f62019-12-10 10:32:29 +000012 select CRYPTO_LIB_DES
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013 help
14 This selects the crypto driver for the UX500_CRYP hardware. It supports
15 AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes.
16
17config CRYPTO_DEV_UX500_HASH
18 tristate "UX500 crypto driver for HASH block"
19 depends on CRYPTO_DEV_UX500
20 select CRYPTO_HASH
21 select CRYPTO_SHA1
22 select CRYPTO_SHA256
23 help
24 This selects the hash driver for the UX500_HASH hardware.
25 Depends on UX500/STM DMA if running in DMA mode.
26
27config CRYPTO_DEV_UX500_DEBUG
28 bool "Activate ux500 platform debug-mode for crypto and hash block"
29 depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH
30 help
31 Say Y if you want to add debug prints to ux500_hash and
32 ux500_cryp devices.