Back to home page

OSCL-LXR

 
 

    


0001 config CRYPTO_DEV_ALLWINNER
0002         bool "Support for Allwinner cryptographic offloader"
0003         depends on ARCH_SUNXI || COMPILE_TEST
0004         default y if ARCH_SUNXI
0005         help
0006           Say Y here to get to see options for Allwinner hardware crypto devices
0007 
0008 config CRYPTO_DEV_SUN4I_SS
0009         tristate "Support for Allwinner Security System cryptographic accelerator"
0010         depends on ARCH_SUNXI
0011         depends on PM
0012         depends on CRYPTO_DEV_ALLWINNER
0013         select CRYPTO_MD5
0014         select CRYPTO_SHA1
0015         select CRYPTO_AES
0016         select CRYPTO_LIB_DES
0017         select CRYPTO_SKCIPHER
0018         help
0019           Some Allwinner SoC have a crypto accelerator named
0020           Security System. Select this if you want to use it.
0021           The Security System handle AES/DES/3DES ciphers in CBC mode
0022           and SHA1 and MD5 hash algorithms.
0023 
0024           To compile this driver as a module, choose M here: the module
0025           will be called sun4i-ss.
0026 
0027 config CRYPTO_DEV_SUN4I_SS_PRNG
0028         bool "Support for Allwinner Security System PRNG"
0029         depends on CRYPTO_DEV_SUN4I_SS
0030         select CRYPTO_RNG
0031         help
0032           Select this option if you want to provide kernel-side support for
0033           the Pseudo-Random Number Generator found in the Security System.
0034 
0035 config CRYPTO_DEV_SUN4I_SS_DEBUG
0036         bool "Enable sun4i-ss stats"
0037         depends on CRYPTO_DEV_SUN4I_SS
0038         depends on DEBUG_FS
0039         help
0040           Say y to enable sun4i-ss debug stats.
0041           This will create /sys/kernel/debug/sun4i-ss/stats for displaying
0042           the number of requests per algorithm.
0043 
0044 config CRYPTO_DEV_SUN8I_CE
0045         tristate "Support for Allwinner Crypto Engine cryptographic offloader"
0046         select CRYPTO_SKCIPHER
0047         select CRYPTO_ENGINE
0048         select CRYPTO_ECB
0049         select CRYPTO_CBC
0050         select CRYPTO_AES
0051         select CRYPTO_DES
0052         depends on CRYPTO_DEV_ALLWINNER
0053         depends on PM
0054         help
0055           Select y here to have support for the crypto Engine available on
0056           Allwinner SoC H2+, H3, H5, H6, R40 and A64.
0057           The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
0058 
0059           To compile this driver as a module, choose M here: the module
0060           will be called sun8i-ce.
0061 
0062 config CRYPTO_DEV_SUN8I_CE_DEBUG
0063         bool "Enable sun8i-ce stats"
0064         depends on CRYPTO_DEV_SUN8I_CE
0065         depends on DEBUG_FS
0066         help
0067           Say y to enable sun8i-ce debug stats.
0068           This will create /sys/kernel/debug/sun8i-ce/stats for displaying
0069           the number of requests per flow and per algorithm.
0070 
0071 config CRYPTO_DEV_SUN8I_CE_HASH
0072         bool "Enable support for hash on sun8i-ce"
0073         depends on CRYPTO_DEV_SUN8I_CE
0074         select CRYPTO_MD5
0075         select CRYPTO_SHA1
0076         select CRYPTO_SHA256
0077         select CRYPTO_SHA512
0078         help
0079           Say y to enable support for hash algorithms.
0080 
0081 config CRYPTO_DEV_SUN8I_CE_PRNG
0082         bool "Support for Allwinner Crypto Engine PRNG"
0083         depends on CRYPTO_DEV_SUN8I_CE
0084         select CRYPTO_RNG
0085         help
0086           Select this option if you want to provide kernel-side support for
0087           the Pseudo-Random Number Generator found in the Crypto Engine.
0088 
0089 config CRYPTO_DEV_SUN8I_CE_TRNG
0090         bool "Support for Allwinner Crypto Engine TRNG"
0091         depends on CRYPTO_DEV_SUN8I_CE
0092         select HW_RANDOM
0093         help
0094           Select this option if you want to provide kernel-side support for
0095           the True Random Number Generator found in the Crypto Engine.
0096 
0097 config CRYPTO_DEV_SUN8I_SS
0098         tristate "Support for Allwinner Security System cryptographic offloader"
0099         select CRYPTO_SKCIPHER
0100         select CRYPTO_ENGINE
0101         select CRYPTO_ECB
0102         select CRYPTO_CBC
0103         select CRYPTO_AES
0104         select CRYPTO_DES
0105         depends on CRYPTO_DEV_ALLWINNER
0106         depends on PM
0107         help
0108           Select y here to have support for the Security System available on
0109           Allwinner SoC A80, A83T.
0110           The Security System handle AES/3DES ciphers in ECB/CBC mode.
0111 
0112           To compile this driver as a module, choose M here: the module
0113           will be called sun8i-ss.
0114 
0115 config CRYPTO_DEV_SUN8I_SS_DEBUG
0116         bool "Enable sun8i-ss stats"
0117         depends on CRYPTO_DEV_SUN8I_SS
0118         depends on DEBUG_FS
0119         help
0120           Say y to enable sun8i-ss debug stats.
0121           This will create /sys/kernel/debug/sun8i-ss/stats for displaying
0122           the number of requests per flow and per algorithm.
0123 
0124 config CRYPTO_DEV_SUN8I_SS_PRNG
0125         bool "Support for Allwinner Security System PRNG"
0126         depends on CRYPTO_DEV_SUN8I_SS
0127         select CRYPTO_RNG
0128         help
0129           Select this option if you want to provide kernel-side support for
0130           the Pseudo-Random Number Generator found in the Security System.
0131 
0132 config CRYPTO_DEV_SUN8I_SS_HASH
0133         bool "Enable support for hash on sun8i-ss"
0134         depends on CRYPTO_DEV_SUN8I_SS
0135         select CRYPTO_MD5
0136         select CRYPTO_SHA1
0137         select CRYPTO_SHA256
0138         help
0139           Say y to enable support for hash algorithms.