Kconfig (e98bdb3059cbf2b1cd4261e126b08429f64466c3) Kconfig (b189817cf7894e03fd3700acd923221d3007259e)
1config CRYPTO_DEV_FSL_CAAM
2 tristate "Freescale CAAM-Multicore driver backend"
3 depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE
4 help
5 Enables the driver module for Freescale's Cryptographic Accelerator
6 and Assurance Module (CAAM), also known as the SEC version 4 (SEC4).
7 This module creates job ring devices, and configures h/w
8 to operate as a DPAA component automatically, depending

--- 73 unchanged lines hidden (view full) ---

82 help
83 Selecting this will offload crypto for users of the
84 scatterlist crypto API (such as the linux native IPSec
85 stack) to the SEC4 via job ring.
86
87 To compile this as a module, choose M here: the module
88 will be called caamalg.
89
1config CRYPTO_DEV_FSL_CAAM
2 tristate "Freescale CAAM-Multicore driver backend"
3 depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE
4 help
5 Enables the driver module for Freescale's Cryptographic Accelerator
6 and Assurance Module (CAAM), also known as the SEC version 4 (SEC4).
7 This module creates job ring devices, and configures h/w
8 to operate as a DPAA component automatically, depending

--- 73 unchanged lines hidden (view full) ---

82 help
83 Selecting this will offload crypto for users of the
84 scatterlist crypto API (such as the linux native IPSec
85 stack) to the SEC4 via job ring.
86
87 To compile this as a module, choose M here: the module
88 will be called caamalg.
89
90config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI
91 tristate "Queue Interface as Crypto API backend"
92 depends on CRYPTO_DEV_FSL_CAAM_JR && FSL_DPAA && NET
93 default y
94 select CRYPTO_AUTHENC
95 select CRYPTO_BLKCIPHER
96 help
97 Selecting this will use CAAM Queue Interface (QI) for sending
98 & receiving crypto jobs to/from CAAM. This gives better performance
99 than job ring interface when the number of cores are more than the
100 number of job rings assigned to the kernel. The number of portals
101 assigned to the kernel should also be more than the number of
102 job rings.
103
104 To compile this as a module, choose M here: the module
105 will be called caamalg_qi.
106
90config CRYPTO_DEV_FSL_CAAM_AHASH_API
91 tristate "Register hash algorithm implementations with Crypto API"
92 depends on CRYPTO_DEV_FSL_CAAM_JR
93 default y
94 select CRYPTO_HASH
95 help
96 Selecting this will offload ahash for users of the
97 scatterlist crypto API to the SEC4 via job ring.

--- 33 unchanged lines hidden (view full) ---

131config CRYPTO_DEV_FSL_CAAM_DEBUG
132 bool "Enable debug output in CAAM driver"
133 depends on CRYPTO_DEV_FSL_CAAM
134 help
135 Selecting this will enable printing of various debug
136 information in the CAAM driver.
137
138config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC
107config CRYPTO_DEV_FSL_CAAM_AHASH_API
108 tristate "Register hash algorithm implementations with Crypto API"
109 depends on CRYPTO_DEV_FSL_CAAM_JR
110 default y
111 select CRYPTO_HASH
112 help
113 Selecting this will offload ahash for users of the
114 scatterlist crypto API to the SEC4 via job ring.

--- 33 unchanged lines hidden (view full) ---

148config CRYPTO_DEV_FSL_CAAM_DEBUG
149 bool "Enable debug output in CAAM driver"
150 depends on CRYPTO_DEV_FSL_CAAM
151 help
152 Selecting this will enable printing of various debug
153 information in the CAAM driver.
154
155config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC
139 def_tristate CRYPTO_DEV_FSL_CAAM_CRYPTO_API
156 def_tristate (CRYPTO_DEV_FSL_CAAM_CRYPTO_API || \
157 CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI)