mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Sphinx expects Return: and not @return to indicate a return value.
find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
		
	
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			755 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			755 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (c) 2020, Alexandru Gagniuc <mr.nuke.me@gmail.com>
 | |
|  * Copyright (c) 2013, Google Inc.
 | |
|  */
 | |
| 
 | |
| #ifndef _FDT_LIBCRYPTO_H
 | |
| #define _FDT_LIBCRYPTO_H
 | |
| 
 | |
| #include <openssl/bn.h>
 | |
| 
 | |
| /**
 | |
|  * fdt_add_bignum() - Write a libcrypto BIGNUM as an FDT property
 | |
|  *
 | |
|  * Convert a libcrypto BIGNUM * into a big endian array of integers.
 | |
|  *
 | |
|  * @blob:	FDT blob to modify
 | |
|  * @noffset:	Offset of the FDT node
 | |
|  * @prop_name:	What to call the property in the FDT
 | |
|  * @num:	pointer to a libcrypto big number
 | |
|  * @num_bits:	How big is 'num' in bits?
 | |
|  * Return: 0 if all good all working, -ve on horror
 | |
|  */
 | |
| int fdt_add_bignum(void *blob, int noffset, const char *prop_name,
 | |
| 		   BIGNUM *num, int num_bits);
 | |
| 
 | |
| #endif /* _FDT_LIBCRYPTO_H */
 |