Jeremy Compostella 
							
						 
					 
					
						
						
							
						
						3dcd0d98e4 
					 
					
						
						
							
							libpayload: Add VBOOT_X86_RSA_ACCELERATION config  
						
						... 
						
						
						
						Add `VBOOT_X86_RSA_ACCELERATION' Kconfig option to enable SSE2
instruction set implementation of modulus exponentiation which is part
of the RSA signature verification process. This option is enabled on
CHROMEOS.
| modpow() function call | original on rex0 | SSE2 on rex0 |
|------------------------+------------------+--------------|
| depthcharge - step 1   |            0.547 |        0.288 |
| depthcharge - step 2   |            0.152 |        0.081 |
| depthcharge - step 3   |            0.164 |        0.079 |
|------------------------+------------------+--------------|
| Total (ms)             |            0.863 |        0.448 |
| modpow() function call | original on brya0 | SSE2 on rex0 |
|------------------------+-------------------+--------------|
| depthcharge - step 1   |             0.693 |        0.248 |
| depthcharge - step 2   |             0.172 |        0.065 |
| depthcharge - step 3   |             0.223 |        0.067 |
|------------------------+-------------------+--------------|
| Total (ms)             |             1.088 |         0.38 |
BUG=b:312709384
TEST=modular exponentiation is about twice faster on rex0 and brya0
Change-Id: I801ebd7839261c6bd07fb218e1e36a7108e219bf
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79290 
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Yu-Ping Wu <yupingso@google.com > 
						
						
					 
					
						2023-12-28 01:38:44 +00:00 
						 
				 
			
				
					
						
							
							
								Jakub Czapiga 
							
						 
					 
					
						
						
							
						
						34ec32d54b 
					 
					
						
						
							
							libpayload/libcbfs: Add VBOOT_CBFS_INTEGRATION support  
						
						... 
						
						
						
						If LP_VBOOT_CBFS_INTEGRATION is enabled, then libcbfs will reboot with
vboot failure in non-recovery mode on CBFS file hash mismatch.
BUg=b:197114807
TEST=Build with VBOOT_CBFS_INTEGRATION enabled and boot on
google/ovis4es device
Change-Id: Ic0f62212b7217b384e8c4cbd9535fe4243301f8c
Signed-off-by: Jakub Czapiga <jacz@semihalf.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77726 
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com >
Reviewed-by: Yu-Ping Wu <yupingso@google.com >
Tested-by: build bot (Jenkins) <no-reply@coreboot.org > 
						
						
					 
					
						2023-09-18 15:43:45 +00:00 
						 
				 
			
				
					
						
							
							
								Yidi Lin 
							
						 
					 
					
						
						
							
						
						70409217e7 
					 
					
						
						
							
							libpayload: Add VBOOT_SHA_ARMV8_CE config  
						
						... 
						
						
						
						Add Kconfig option for VBOOT_SHA_ARMV8_CE, which will use ARMv8 Crypto
Extension for SHA256[1] instead of software implementation.
[1] https://crrev.com/c/4170144 
BUG=b:263514393
BRANCH=corsola
TEST='vboot kernel verification' gets 111 msecs improvement on
Tentacruel.
Before:
1100:finished vboot kernel verification                905,150 (123,518)
After:
1100:finished vboot kernel verification                787,277 (12,254)
Cq-Depend: chromium:4170144, chromium:4242678
Change-Id: If92830830a0658dfad2a066e9efa624783865cf2
Signed-off-by: Yidi Lin <yidilin@chromium.org >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72710 
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Yu-Ping Wu <yupingso@google.com > 
						
						
					 
					
						2023-02-16 15:04:24 +00:00 
						 
				 
			
				
					
						
							
							
								Jakub Czapiga 
							
						 
					 
					
						
						
							
						
						0ac5ed4490 
					 
					
						
						
							
							libpayload/vboot: Enable vboot and x86 SHA extension for ChromeOS  
						
						... 
						
						
						
						Signed-off-by: Jakub Czapiga <jacz@semihalf.com >
Change-Id: Ia63d44de5440b87cedb35ff92edaa0f35ccd75a4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62122 
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Julius Werner <jwerner@chromium.org > 
						
						
					 
					
						2022-02-21 15:18:55 +00:00 
						 
				 
			
				
					
						
							
							
								Jakub Czapiga 
							
						 
					 
					
						
						
							
						
						1fa3da4d9b 
					 
					
						
						
							
							libpayload: Enable vboot integration  
						
						... 
						
						
						
						This patch introduces building and linking of 3rdparty/vboot with
libpayload. VBoot can be enabled by setting CONFIG_LP_VBOOT_LIB.
Moreover it can be configured to use either TPM or TPM 2.0 mode,
and whether to use SHA256 processor extension instructions on x86.
Change-Id: I2d9d766a461edaa0081041c020ecf580fd2ca64e
Signed-off-by: Jakub Czapiga <jacz@semihalf.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60080 
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Julius Werner <jwerner@chromium.org > 
						
						
					 
					
						2022-01-10 14:29:50 +00:00