blob: 23d61f4e5e845e88349ee66bde4141952c1d4971 [file] [log] [blame]
Jakub Czapiga1fa3da42021-12-06 09:01:50 +00001# SPDX-License-Identifier: BSD-3-Clause
2
3config VBOOT_LIB
4 bool "Compile verified boot (vboot) library"
Jakub Czapiga0ac5ed42022-02-17 14:41:24 +01005 default y if CHROMEOS
Jakub Czapiga1fa3da42021-12-06 09:01:50 +00006 default n
7 help
8 This option enables compiling and building vboot libraries vboot_fw and tlcl.
9
10if VBOOT_LIB
11
Jakub Czapiga34ec32d2023-09-08 13:23:59 +000012config VBOOT_CBFS_INTEGRATION
13 bool "Enable vboot and CBFS integration"
14 default n
15 depends on CBFS_VERIFICATION
16 help
17 Say yes to request reboot on CBFS file hash mismatch in non-recovery mode.
18
Jakub Czapiga1fa3da42021-12-06 09:01:50 +000019config VBOOT_TPM2_MODE
20 bool "TPM2 Mode"
21 default y
22 help
23 This option enables TPM 2.0 support in vboot. Disabling it allows using TPM 1.2.
24
25config VBOOT_X86_SHA_EXT
26 bool "x86 SHA Extension"
Jakub Czapiga0ac5ed42022-02-17 14:41:24 +010027 default y if CHROMEOS
Jakub Czapiga1fa3da42021-12-06 09:01:50 +000028 default n
29 depends on ARCH_X86
30 help
31 This option enables SHA256 implementation using x86 SHA processor extension
32 instructions: sha256msg1, sha256msg2, sha256rnds2.
33
Jeremy Compostella3dcd0d92023-11-27 15:01:28 -080034config VBOOT_X86_RSA_ACCELERATION
35 bool "Use SSE2 instructions for RSA signature verification"
36 default y if CHROMEOS
37 default n
38 depends on ARCH_X86
39 help
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.
43
Yidi Lin70409212023-01-31 15:09:24 +080044config VBOOT_SHA_ARMV8_CE
45 bool "SHA256 implementation using ARMv8 Crypto Extension"
46 default y if CHROMEOS
47 default n
48 depends on ARCH_ARM64
49 help
50 This option enables SHA256 implementation using ARMv8 Crypto Extension.
51
Jakub Czapiga1fa3da42021-12-06 09:01:50 +000052endif