2 bool "Freescale Crypto Driver Support"
4 # hw_sha1() under drivers/crypto, and needed with SHA_HW_ACCEL
6 imply SPL_CRYPTO if (ARM && SPL)
9 Enables the Freescale's Cryptographic Accelerator and Assurance
10 Module (CAAM), also known as the SEC version 4 (SEC4). The driver uses
11 Job Ring as interface to communicate with CAAM.
13 config SYS_FSL_MAX_NUM_OF_SEC
14 int "Number of job rings in the CAAM"
20 default y if PHYS_64BIT && !ARCH_IMX8M && !ARCH_IMX8
22 Select Crypto driver for 64 bits CAAM version
24 config SYS_FSL_HAS_SEC
27 Enable Freescale Secure Boot and Trusted Architecture
29 config SYS_FSL_SEC_COMPAT_2
32 Secure boot and trust architecture compatible version 2
34 config SYS_FSL_SEC_COMPAT_4
37 Secure boot and trust architecture compatible version 4
39 config SYS_FSL_SEC_COMPAT_5
42 Secure boot and trust architecture compatible version 5
44 config SYS_FSL_SEC_COMPAT_6
47 Secure boot and trust architecture compatible version 6
50 bool "Big-endian access to Freescale Secure Boot"
52 config SYS_FSL_SEC_COMPAT
53 int "Freescale Secure Boot compatibility"
54 depends on SYS_FSL_HAS_SEC
55 default 2 if SYS_FSL_SEC_COMPAT_2
56 default 4 if SYS_FSL_SEC_COMPAT_4
57 default 5 if SYS_FSL_SEC_COMPAT_5
58 default 6 if SYS_FSL_SEC_COMPAT_6
61 bool "Little-endian access to Freescale Secure Boot"
65 config FSL_CAAM_JR_NTZ_ACCESS
66 bool "Give CAAM Job Ring access to non-secure world"
68 It is needed when OP-TEE is not used and Freescale CAAM Job Ring linux
72 bool "Enable CAAM Random Number Generator support"
76 Enable support for the hardware based random number generator
77 module of the CAAM. The random data is fetched from the DRGB
78 using the prediction resistance flag which means the DRGB is
79 reseeded from the TRNG every time random data is generated.
81 config SPL_FSL_CAAM_RNG
82 bool "Enable CAAM Random Number Generator support in SPL"
85 This option is an SPL-variant of the FSL_CAAM_RNG option.
86 See the help of FSL_CAAM_RNG for details.
91 bool "Enable DCP Random Number Generator support"
94 Enable support for the hardware based random number generator
95 module of the DCP. It uses the True Random Number Generator (TRNG)
96 and a Pseudo-Random Number Generator (PRNG) to achieve a true
97 randomness and cryptographic strength.