2019-05-28 19:57:21 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-04-30 12:11:17 +04:00
|
|
|
#
|
|
|
|
# Copyright (C) ST-Ericsson SA 2010
|
|
|
|
# Author: Shujuan Chen (shujuan.chen@stericsson.com)
|
|
|
|
#
|
|
|
|
|
|
|
|
config CRYPTO_DEV_UX500_CRYP
|
|
|
|
tristate "UX500 crypto driver for CRYP block"
|
|
|
|
depends on CRYPTO_DEV_UX500
|
2015-06-17 09:58:24 +03:00
|
|
|
select CRYPTO_ALGAPI
|
2019-10-25 22:41:13 +03:00
|
|
|
select CRYPTO_SKCIPHER
|
2019-08-15 12:01:09 +03:00
|
|
|
select CRYPTO_LIB_DES
|
2012-04-30 12:11:17 +04:00
|
|
|
help
|
2019-11-21 06:20:48 +03:00
|
|
|
This selects the crypto driver for the UX500_CRYP hardware. It supports
|
|
|
|
AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes.
|
2012-04-30 12:11:17 +04:00
|
|
|
|
2012-04-30 12:11:18 +04:00
|
|
|
config CRYPTO_DEV_UX500_HASH
|
2019-11-21 06:20:48 +03:00
|
|
|
tristate "UX500 crypto driver for HASH block"
|
|
|
|
depends on CRYPTO_DEV_UX500
|
|
|
|
select CRYPTO_HASH
|
2015-12-17 15:45:42 +03:00
|
|
|
select CRYPTO_SHA1
|
|
|
|
select CRYPTO_SHA256
|
2019-11-21 06:20:48 +03:00
|
|
|
help
|
|
|
|
This selects the hash driver for the UX500_HASH hardware.
|
|
|
|
Depends on UX500/STM DMA if running in DMA mode.
|
2012-04-30 12:11:18 +04:00
|
|
|
|
2012-04-30 12:11:17 +04:00
|
|
|
config CRYPTO_DEV_UX500_DEBUG
|
|
|
|
bool "Activate ux500 platform debug-mode for crypto and hash block"
|
|
|
|
depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH
|
|
|
|
help
|
|
|
|
Say Y if you want to add debug prints to ux500_hash and
|
|
|
|
ux500_cryp devices.
|