brintos

brintos / linux-shallow public Read only

0
0
Text · 4.2 KiB · b8e7521 Raw
140 lines · plain
1config CRYPTO_DEV_ALLWINNER2	bool "Support for Allwinner cryptographic offloader"3	depends on ARCH_SUNXI || COMPILE_TEST4	default y if ARCH_SUNXI5	help6	  Say Y here to get to see options for Allwinner hardware crypto devices7 8config CRYPTO_DEV_SUN4I_SS9	tristate "Support for Allwinner Security System cryptographic accelerator"10	depends on ARCH_SUNXI11	depends on PM12	depends on CRYPTO_DEV_ALLWINNER13	select CRYPTO_MD514	select CRYPTO_SHA115	select CRYPTO_AES16	select CRYPTO_LIB_DES17	select CRYPTO_SKCIPHER18	help19	  Some Allwinner SoC have a crypto accelerator named20	  Security System. Select this if you want to use it.21	  The Security System handle AES/DES/3DES ciphers in CBC mode22	  and SHA1 and MD5 hash algorithms.23 24	  To compile this driver as a module, choose M here: the module25	  will be called sun4i-ss.26 27config CRYPTO_DEV_SUN4I_SS_PRNG28	bool "Support for Allwinner Security System PRNG"29	depends on CRYPTO_DEV_SUN4I_SS30	select CRYPTO_RNG31	help32	  Select this option if you want to provide kernel-side support for33	  the Pseudo-Random Number Generator found in the Security System.34 35config CRYPTO_DEV_SUN4I_SS_DEBUG36	bool "Enable sun4i-ss stats"37	depends on CRYPTO_DEV_SUN4I_SS38	depends on DEBUG_FS39	help40	  Say y to enable sun4i-ss debug stats.41	  This will create /sys/kernel/debug/sun4i-ss/stats for displaying42	  the number of requests per algorithm.43 44config CRYPTO_DEV_SUN8I_CE45	tristate "Support for Allwinner Crypto Engine cryptographic offloader"46	select CRYPTO_SKCIPHER47	select CRYPTO_ENGINE48	select CRYPTO_ECB49	select CRYPTO_CBC50	select CRYPTO_AES51	select CRYPTO_DES52	depends on CRYPTO_DEV_ALLWINNER53	depends on PM54	help55	  Select y here to have support for the crypto Engine available on56	  Allwinner SoC H2+, H3, H5, H6, R40 and A64.57	  The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.58 59	  To compile this driver as a module, choose M here: the module60	  will be called sun8i-ce.61 62config CRYPTO_DEV_SUN8I_CE_DEBUG63	bool "Enable sun8i-ce stats"64	depends on CRYPTO_DEV_SUN8I_CE65	depends on DEBUG_FS66	help67	  Say y to enable sun8i-ce debug stats.68	  This will create /sys/kernel/debug/sun8i-ce/stats for displaying69	  the number of requests per flow and per algorithm.70 71config CRYPTO_DEV_SUN8I_CE_HASH72	bool "Enable support for hash on sun8i-ce"73	depends on CRYPTO_DEV_SUN8I_CE74	select CRYPTO_MD575	select CRYPTO_SHA176	select CRYPTO_SHA25677	select CRYPTO_SHA51278	help79	  Say y to enable support for hash algorithms.80 81config CRYPTO_DEV_SUN8I_CE_PRNG82	bool "Support for Allwinner Crypto Engine PRNG"83	depends on CRYPTO_DEV_SUN8I_CE84	select CRYPTO_RNG85	help86	  Select this option if you want to provide kernel-side support for87	  the Pseudo-Random Number Generator found in the Crypto Engine.88 89config CRYPTO_DEV_SUN8I_CE_TRNG90	bool "Support for Allwinner Crypto Engine TRNG"91	depends on CRYPTO_DEV_SUN8I_CE92	select HW_RANDOM93	help94	  Select this option if you want to provide kernel-side support for95	  the True Random Number Generator found in the Crypto Engine.96 97config CRYPTO_DEV_SUN8I_SS98	tristate "Support for Allwinner Security System cryptographic offloader"99	select CRYPTO_SKCIPHER100	select CRYPTO_ENGINE101	select CRYPTO_ECB102	select CRYPTO_CBC103	select CRYPTO_AES104	select CRYPTO_DES105	depends on CRYPTO_DEV_ALLWINNER106	depends on PM107	help108	  Select y here to have support for the Security System available on109	  Allwinner SoC A80, A83T.110	  The Security System handle AES/3DES ciphers in ECB/CBC mode.111 112	  To compile this driver as a module, choose M here: the module113	  will be called sun8i-ss.114 115config CRYPTO_DEV_SUN8I_SS_DEBUG116	bool "Enable sun8i-ss stats"117	depends on CRYPTO_DEV_SUN8I_SS118	depends on DEBUG_FS119	help120	  Say y to enable sun8i-ss debug stats.121	  This will create /sys/kernel/debug/sun8i-ss/stats for displaying122	  the number of requests per flow and per algorithm.123 124config CRYPTO_DEV_SUN8I_SS_PRNG125	bool "Support for Allwinner Security System PRNG"126	depends on CRYPTO_DEV_SUN8I_SS127	select CRYPTO_RNG128	help129	  Select this option if you want to provide kernel-side support for130	  the Pseudo-Random Number Generator found in the Security System.131 132config CRYPTO_DEV_SUN8I_SS_HASH133	bool "Enable support for hash on sun8i-ss"134	depends on CRYPTO_DEV_SUN8I_SS135	select CRYPTO_MD5136	select CRYPTO_SHA1137	select CRYPTO_SHA256138	help139	  Say y to enable support for hash algorithms.140