Kconfig 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config CRYPTO_DEV_CCP_DD
  3. tristate "Secure Processor device driver"
  4. depends on CPU_SUP_AMD || ARM64
  5. default m
  6. help
  7. Provides AMD Secure Processor device driver.
  8. If you choose 'M' here, this module will be called ccp.
  9. config CRYPTO_DEV_SP_CCP
  10. bool "Cryptographic Coprocessor device"
  11. default y
  12. depends on CRYPTO_DEV_CCP_DD && DMADEVICES
  13. select HW_RANDOM
  14. select DMA_ENGINE
  15. select CRYPTO_SHA1
  16. select CRYPTO_SHA256
  17. help
  18. Provides the support for AMD Cryptographic Coprocessor (CCP) device
  19. which can be used to offload encryption operations such as SHA, AES
  20. and more.
  21. config CRYPTO_DEV_CCP_CRYPTO
  22. tristate "Encryption and hashing offload support"
  23. default m
  24. depends on CRYPTO_DEV_CCP_DD
  25. depends on CRYPTO_DEV_SP_CCP
  26. select CRYPTO_HASH
  27. select CRYPTO_BLKCIPHER
  28. select CRYPTO_AUTHENC
  29. select CRYPTO_RSA
  30. select CRYPTO_LIB_AES
  31. help
  32. Support for using the cryptographic API with the AMD Cryptographic
  33. Coprocessor. This module supports offload of SHA and AES algorithms.
  34. If you choose 'M' here, this module will be called ccp_crypto.
  35. config CRYPTO_DEV_SP_PSP
  36. bool "Platform Security Processor (PSP) device"
  37. default y
  38. depends on CRYPTO_DEV_CCP_DD && X86_64
  39. help
  40. Provide support for the AMD Platform Security Processor (PSP).
  41. The PSP is a dedicated processor that provides support for key
  42. management commands in Secure Encrypted Virtualization (SEV) mode,
  43. along with software-based Trusted Execution Environment (TEE) to
  44. enable third-party trusted applications.
  45. config CRYPTO_DEV_CCP_DEBUGFS
  46. bool "Enable CCP Internals in DebugFS"
  47. default n
  48. depends on CRYPTO_DEV_SP_CCP
  49. help
  50. Expose CCP device information such as operation statistics, feature
  51. information, and descriptor queue contents.