1 # SPDX-License-Identifier: BSD-3-Clause
4 bool "Compile verified boot (vboot) library"
8 This option enables compiling and building vboot libraries vboot_fw and tlcl.
12 config VBOOT_CBFS_INTEGRATION
13 bool "Enable vboot and CBFS integration"
15 depends on CBFS_VERIFICATION
17 Say yes to request reboot on CBFS file hash mismatch in non-recovery mode.
19 config VBOOT_TPM2_MODE
23 This option enables TPM 2.0 support in vboot. Disabling it allows using TPM 1.2.
25 config VBOOT_X86_SHA_EXT
26 bool "x86 SHA Extension"
31 This option enables SHA256 implementation using x86 SHA processor extension
32 instructions: sha256msg1, sha256msg2, sha256rnds2.
34 config VBOOT_X86_RSA_ACCELERATION
35 bool "Use SSE2 instructions for RSA signature verification"
40 Use paddq, pmuludq, psrlq, punpckldq and punpcklqdq SSE2
41 instructions to accelerate the modulus exponentiation which
42 is part of the RSA signature verification process.
44 config VBOOT_SHA_ARMV8_CE
45 bool "SHA256 implementation using ARMv8 Crypto Extension"
50 This option enables SHA256 implementation using ARMv8 Crypto Extension.
52 config VBOOT_ARM64_RSA_ACCELERATION
53 bool "Use arm64 SIMD instructions to accelerate RSA signature verification"
57 Use arm64 SIMD instructions (NEON) to parallelize two multiplications
58 in the modulus exponentiation algorithm, which speeds up RSA signature
59 verification in vboot. This is supported on all arm64 CPUs so you'd
60 generally always want this enabled, unless your SoC is overriding
61 vboot's hwcrypto API with its own crypto accelerator IP instead (or
62 you're trying really hard to save on code size).