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