Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. config CRYPTO_DEV_ALLWINNER
  2. bool "Support for Allwinner cryptographic offloader"
  3. depends on ARCH_SUNXI || COMPILE_TEST
  4. default y if ARCH_SUNXI
  5. help
  6. Say Y here to get to see options for Allwinner hardware crypto devices
  7. config CRYPTO_DEV_SUN4I_SS
  8. tristate "Support for Allwinner Security System cryptographic accelerator"
  9. depends on ARCH_SUNXI
  10. depends on PM
  11. depends on CRYPTO_DEV_ALLWINNER
  12. select CRYPTO_MD5
  13. select CRYPTO_SHA1
  14. select CRYPTO_AES
  15. select CRYPTO_LIB_DES
  16. select CRYPTO_SKCIPHER
  17. help
  18. Some Allwinner SoC have a crypto accelerator named
  19. Security System. Select this if you want to use it.
  20. The Security System handle AES/DES/3DES ciphers in CBC mode
  21. and SHA1 and MD5 hash algorithms.
  22. To compile this driver as a module, choose M here: the module
  23. will be called sun4i-ss.
  24. config CRYPTO_DEV_SUN4I_SS_PRNG
  25. bool "Support for Allwinner Security System PRNG"
  26. depends on CRYPTO_DEV_SUN4I_SS
  27. select CRYPTO_RNG
  28. help
  29. Select this option if you want to provide kernel-side support for
  30. the Pseudo-Random Number Generator found in the Security System.
  31. config CRYPTO_DEV_SUN4I_SS_DEBUG
  32. bool "Enable sun4i-ss stats"
  33. depends on CRYPTO_DEV_SUN4I_SS
  34. depends on DEBUG_FS
  35. help
  36. Say y to enable sun4i-ss debug stats.
  37. This will create /sys/kernel/debug/sun4i-ss/stats for displaying
  38. the number of requests per algorithm.
  39. config CRYPTO_DEV_SUN8I_CE
  40. tristate "Support for Allwinner Crypto Engine cryptographic offloader"
  41. select CRYPTO_SKCIPHER
  42. select CRYPTO_ENGINE
  43. select CRYPTO_ECB
  44. select CRYPTO_CBC
  45. select CRYPTO_AES
  46. select CRYPTO_DES
  47. depends on CRYPTO_DEV_ALLWINNER
  48. depends on PM
  49. help
  50. Select y here to have support for the crypto Engine available on
  51. Allwinner SoC H2+, H3, H5, H6, R40 and A64.
  52. The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
  53. To compile this driver as a module, choose M here: the module
  54. will be called sun8i-ce.
  55. config CRYPTO_DEV_SUN8I_CE_DEBUG
  56. bool "Enable sun8i-ce stats"
  57. depends on CRYPTO_DEV_SUN8I_CE
  58. depends on DEBUG_FS
  59. help
  60. Say y to enable sun8i-ce debug stats.
  61. This will create /sys/kernel/debug/sun8i-ce/stats for displaying
  62. the number of requests per flow and per algorithm.
  63. config CRYPTO_DEV_SUN8I_CE_HASH
  64. bool "Enable support for hash on sun8i-ce"
  65. depends on CRYPTO_DEV_SUN8I_CE
  66. select CRYPTO_MD5
  67. select CRYPTO_SHA1
  68. select CRYPTO_SHA256
  69. select CRYPTO_SHA512
  70. help
  71. Say y to enable support for hash algorithms.
  72. config CRYPTO_DEV_SUN8I_CE_PRNG
  73. bool "Support for Allwinner Crypto Engine PRNG"
  74. depends on CRYPTO_DEV_SUN8I_CE
  75. select CRYPTO_RNG
  76. help
  77. Select this option if you want to provide kernel-side support for
  78. the Pseudo-Random Number Generator found in the Crypto Engine.
  79. config CRYPTO_DEV_SUN8I_CE_TRNG
  80. bool "Support for Allwinner Crypto Engine TRNG"
  81. depends on CRYPTO_DEV_SUN8I_CE
  82. select HW_RANDOM
  83. help
  84. Select this option if you want to provide kernel-side support for
  85. the True Random Number Generator found in the Crypto Engine.
  86. config CRYPTO_DEV_SUN8I_SS
  87. tristate "Support for Allwinner Security System cryptographic offloader"
  88. select CRYPTO_SKCIPHER
  89. select CRYPTO_ENGINE
  90. select CRYPTO_ECB
  91. select CRYPTO_CBC
  92. select CRYPTO_AES
  93. select CRYPTO_DES
  94. depends on CRYPTO_DEV_ALLWINNER
  95. depends on PM
  96. help
  97. Select y here to have support for the Security System available on
  98. Allwinner SoC A80, A83T.
  99. The Security System handle AES/3DES ciphers in ECB/CBC mode.
  100. To compile this driver as a module, choose M here: the module
  101. will be called sun8i-ss.
  102. config CRYPTO_DEV_SUN8I_SS_DEBUG
  103. bool "Enable sun8i-ss stats"
  104. depends on CRYPTO_DEV_SUN8I_SS
  105. depends on DEBUG_FS
  106. help
  107. Say y to enable sun8i-ss debug stats.
  108. This will create /sys/kernel/debug/sun8i-ss/stats for displaying
  109. the number of requests per flow and per algorithm.
  110. config CRYPTO_DEV_SUN8I_SS_PRNG
  111. bool "Support for Allwinner Security System PRNG"
  112. depends on CRYPTO_DEV_SUN8I_SS
  113. select CRYPTO_RNG
  114. help
  115. Select this option if you want to provide kernel-side support for
  116. the Pseudo-Random Number Generator found in the Security System.
  117. config CRYPTO_DEV_SUN8I_SS_HASH
  118. bool "Enable support for hash on sun8i-ss"
  119. depends on CRYPTO_DEV_SUN8I_SS
  120. select CRYPTO_MD5
  121. select CRYPTO_SHA1
  122. select CRYPTO_SHA256
  123. help
  124. Say y to enable support for hash algorithms.