18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Copyright (C) ST-Ericsson SA 2010 48c2ecf20Sopenharmony_ci# Author: Shujuan Chen (shujuan.chen@stericsson.com) 58c2ecf20Sopenharmony_ci# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_UX500_CRYP 88c2ecf20Sopenharmony_ci tristate "UX500 crypto driver for CRYP block" 98c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_UX500 108c2ecf20Sopenharmony_ci select CRYPTO_ALGAPI 118c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 128c2ecf20Sopenharmony_ci select CRYPTO_LIB_DES 138c2ecf20Sopenharmony_ci help 148c2ecf20Sopenharmony_ci This selects the crypto driver for the UX500_CRYP hardware. It supports 158c2ecf20Sopenharmony_ci AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_UX500_HASH 188c2ecf20Sopenharmony_ci tristate "UX500 crypto driver for HASH block" 198c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_UX500 208c2ecf20Sopenharmony_ci select CRYPTO_HASH 218c2ecf20Sopenharmony_ci select CRYPTO_SHA1 228c2ecf20Sopenharmony_ci select CRYPTO_SHA256 238c2ecf20Sopenharmony_ci help 248c2ecf20Sopenharmony_ci This selects the hash driver for the UX500_HASH hardware. 258c2ecf20Sopenharmony_ci Depends on UX500/STM DMA if running in DMA mode. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_UX500_DEBUG 288c2ecf20Sopenharmony_ci bool "Activate ux500 platform debug-mode for crypto and hash block" 298c2ecf20Sopenharmony_ci depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH 308c2ecf20Sopenharmony_ci help 318c2ecf20Sopenharmony_ci Say Y if you want to add debug prints to ux500_hash and 328c2ecf20Sopenharmony_ci ux500_cryp devices. 33