blob: b731895aa241cefe9ef548771409cb00de257640 [file] [log] [blame]
Thomas Gleixneraf873fc2019-05-28 09:57:21 -07001# SPDX-License-Identifier: GPL-2.0-only
Andreas Westin2789c082012-04-30 10:11:17 +02002#
3# Copyright (C) ST-Ericsson SA 2010
4# Author: Shujuan Chen (shujuan.chen@stericsson.com)
Andreas Westin2789c082012-04-30 10:11:17 +02005#
6
7config CRYPTO_DEV_UX500_CRYP
8 tristate "UX500 crypto driver for CRYP block"
9 depends on CRYPTO_DEV_UX500
Herbert Xu596103c2015-06-17 14:58:24 +080010 select CRYPTO_ALGAPI
Eric Biggersb95bba52019-10-25 12:41:13 -070011 select CRYPTO_SKCIPHER
Ard Biesheuvel04007b02019-08-15 12:01:09 +030012 select CRYPTO_LIB_DES
Andreas Westin2789c082012-04-30 10:11:17 +020013 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
Andreas Westin8a63b192012-04-30 10:11:18 +020017config CRYPTO_DEV_UX500_HASH
18 tristate "UX500 crypto driver for HASH block"
19 depends on CRYPTO_DEV_UX500
20 select CRYPTO_HASH
LABBE Corentine4ae86e2015-12-17 13:45:42 +010021 select CRYPTO_SHA1
22 select CRYPTO_SHA256
Andreas Westin8a63b192012-04-30 10:11:18 +020023 help
24 This selects the hash driver for the UX500_HASH hardware.
25 Depends on UX500/STM DMA if running in DMA mode.
26
Andreas Westin2789c082012-04-30 10:11:17 +020027config 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
Andreas Westin2789c082012-04-30 10:11:17 +020030 help
31 Say Y if you want to add debug prints to ux500_hash and
32 ux500_cryp devices.