Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) ST-Ericsson SA 2010
  4. # Author: Shujuan Chen (shujuan.chen@stericsson.com)
  5. #
  6. config CRYPTO_DEV_UX500_CRYP
  7. tristate "UX500 crypto driver for CRYP block"
  8. depends on CRYPTO_DEV_UX500
  9. select CRYPTO_ALGAPI
  10. select CRYPTO_BLKCIPHER
  11. select CRYPTO_LIB_DES
  12. help
  13. This selects the crypto driver for the UX500_CRYP hardware. It supports
  14. AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes.
  15. config CRYPTO_DEV_UX500_HASH
  16. tristate "UX500 crypto driver for HASH block"
  17. depends on CRYPTO_DEV_UX500
  18. select CRYPTO_HASH
  19. select CRYPTO_SHA1
  20. select CRYPTO_SHA256
  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. config CRYPTO_DEV_UX500_DEBUG
  25. bool "Activate ux500 platform debug-mode for crypto and hash block"
  26. depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH
  27. help
  28. Say Y if you want to add debug prints to ux500_hash and
  29. ux500_cryp devices.