mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Add a couple of test cases against capsule image authentication for capsule-on-disk, where only a signed capsule file with the verified signature will be applied to the system. Due to the difficulty of embedding a public key (esl file) in U-Boot binary during pytest setup time, all the keys/certificates are pre-created. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
		
			
				
	
	
		
			11 lines
		
	
	
		
			330 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			330 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier:      GPL-2.0+
 | 
						|
 | 
						|
# Directories
 | 
						|
CAPSULE_DATA_DIR = '/EFI/CapsuleTestData'
 | 
						|
CAPSULE_INSTALL_DIR = '/EFI/UpdateCapsule'
 | 
						|
 | 
						|
# v1.5.1 or earlier of efitools has a bug in sha256 calculation, and
 | 
						|
# you need build a newer version on your own.
 | 
						|
# The path must terminate with '/' if it is not null.
 | 
						|
EFITOOLS_PATH = ''
 |