mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Implement the crypto_algo .verify() function for ecdsa256. Because it backends on UCLASS_ECDSA, this change is focused on parsing the keys from devicetree and passing this information to the specific UCLASS driver. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			692 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			692 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
config ECDSA
 | 
						|
	bool "Enable ECDSA support"
 | 
						|
	depends on DM
 | 
						|
	help
 | 
						|
	  This enables the ECDSA (elliptic curve signature) algorithm for FIT
 | 
						|
	  image verification in U-Boot. The ECDSA algorithm is implemented
 | 
						|
	  using the driver model, so CONFIG_DM is required by this library.
 | 
						|
	  See doc/uImage.FIT/signature.txt for more details.
 | 
						|
	  ECDSA is enabled for mkimage regardless of this option.
 | 
						|
 | 
						|
if ECDSA
 | 
						|
 | 
						|
config ECDSA_VERIFY
 | 
						|
	bool "Enable ECDSA verification support in U-Boot."
 | 
						|
	help
 | 
						|
	  Allow ECDSA signatures to be recognized and verified in U-Boot.
 | 
						|
 | 
						|
config SPL_ECDSA_VERIFY
 | 
						|
	bool "Enable ECDSA verification support in SPL"
 | 
						|
	help
 | 
						|
	  Allow ECDSA signatures to be recognized and verified in SPL.
 | 
						|
 | 
						|
endif
 |