1config CRYPTO_DEV_FSL_CAAM 2 tristate "Freescale CAAM-Multicore driver backend" 3 depends on FSL_SOC 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 adds a job ring operation interface, and configures h/w 8 to operate as a DPAA component automatically, depending 9 on h/w feature availability. 10 11 To compile this driver as a module, choose M here: the module 12 will be called caam. 13 14config CRYPTO_DEV_FSL_CAAM_RINGSIZE 15 int "Job Ring size" 16 depends on CRYPTO_DEV_FSL_CAAM 17 range 2 9 18 default "9" 19 help 20 Select size of Job Rings as a power of 2, within the 21 range 2-9 (ring size 4-512). 22 Examples: 23 2 => 4 24 3 => 8 25 4 => 16 26 5 => 32 27 6 => 64 28 7 => 128 29 8 => 256 30 9 => 512 31 32config CRYPTO_DEV_FSL_CAAM_INTC 33 bool "Job Ring interrupt coalescing" 34 depends on CRYPTO_DEV_FSL_CAAM 35 default y 36 help 37 Enable the Job Ring's interrupt coalescing feature. 38 39config CRYPTO_DEV_FSL_CAAM_INTC_COUNT_THLD 40 int "Job Ring interrupt coalescing count threshold" 41 depends on CRYPTO_DEV_FSL_CAAM_INTC 42 range 1 255 43 default 255 44 help 45 Select number of descriptor completions to queue before 46 raising an interrupt, in the range 1-255. Note that a selection 47 of 1 functionally defeats the coalescing feature, and a selection 48 equal or greater than the job ring size will force timeouts. 49 50config CRYPTO_DEV_FSL_CAAM_INTC_TIME_THLD 51 int "Job Ring interrupt coalescing timer threshold" 52 depends on CRYPTO_DEV_FSL_CAAM_INTC 53 range 1 65535 54 default 2048 55 help 56 Select number of bus clocks/64 to timeout in the case that one or 57 more descriptor completions are queued without reaching the count 58 threshold. Range is 1-65535. 59 60config CRYPTO_DEV_FSL_CAAM_CRYPTO_API 61 tristate "Register algorithm implementations with the Crypto API" 62 depends on CRYPTO_DEV_FSL_CAAM 63 default y 64 select CRYPTO_ALGAPI 65 select CRYPTO_AUTHENC 66 help 67 Selecting this will offload crypto for users of the 68 scatterlist crypto API (such as the linux native IPSec 69 stack) to the SEC4 via job ring. 70 71 To compile this as a module, choose M here: the module 72 will be called caamalg. 73