Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) ST-Ericsson SA 2010 |
| 3 | # Author: Shujuan Chen (shujuan.chen@stericsson.com) |
| 4 | # License terms: GNU General Public License (GPL) version 2 |
| 5 | # |
| 6 | |
| 7 | config CRYPTO_DEV_UX500_CRYP |
| 8 | tristate "UX500 crypto driver for CRYP block" |
| 9 | depends on CRYPTO_DEV_UX500 |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 10 | select CRYPTO_ALGAPI |
| 11 | select CRYPTO_BLKCIPHER |
Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 12 | select CRYPTO_DES |
| 13 | 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 Westin | 8a63b19 | 2012-04-30 10:11:18 +0200 | [diff] [blame] | 17 | config CRYPTO_DEV_UX500_HASH |
| 18 | tristate "UX500 crypto driver for HASH block" |
| 19 | depends on CRYPTO_DEV_UX500 |
| 20 | select CRYPTO_HASH |
Andreas Westin | 8a63b19 | 2012-04-30 10:11:18 +0200 | [diff] [blame] | 21 | help |
| 22 | This selects the hash driver for the UX500_HASH hardware. |
| 23 | Depends on UX500/STM DMA if running in DMA mode. |
| 24 | |
Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 25 | config CRYPTO_DEV_UX500_DEBUG |
| 26 | bool "Activate ux500 platform debug-mode for crypto and hash block" |
| 27 | depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH |
Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 28 | help |
| 29 | Say Y if you want to add debug prints to ux500_hash and |
| 30 | ux500_cryp devices. |