mirror of
				https://github.com/espressif/ESP8266_RTOS_SDK.git
				synced 2025-10-31 02:37:25 +08:00 
			
		
		
		
	 9a81588004
			
		
	
	9a81588004
	
	
	
		
			
			from esp-idf libsodium commit ID: d4cbfd34cce3cd8b0f03a91dad46a277dab287d7 Changes: randombytes_esp32.c - esp_fill_random() function. Component.mk & CMakelists.txt - Replaced CONFIG_SSL_USING_MBEDTLS with CONFIG_LIBSODIUM_USE_MBEDTLS_SHA. Removed GCC_5_2_0 check.
		
			
				
	
	
		
			36 lines
		
	
	
		
			715 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			715 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
 | |
| #ifndef sodium_version_H
 | |
| #define sodium_version_H
 | |
| 
 | |
| #include <sodium/export.h>
 | |
| 
 | |
| /* IMPORTANT: As we don't use autotools, these version are not automatically
 | |
|    updated if we change submodules. They need to be changed manually.
 | |
| */
 | |
| 
 | |
| #define SODIUM_VERSION_STRING "1.0.12-idf"
 | |
| 
 | |
| /* Note: these are not the same as the overall version, see
 | |
|    configure.ac for the relevant macros */
 | |
| #define SODIUM_LIBRARY_VERSION_MAJOR 9
 | |
| #define SODIUM_LIBRARY_VERSION_MINOR 4
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| SODIUM_EXPORT
 | |
| const char *sodium_version_string(void);
 | |
| 
 | |
| SODIUM_EXPORT
 | |
| int         sodium_library_version_major(void);
 | |
| 
 | |
| SODIUM_EXPORT
 | |
| int         sodium_library_version_minor(void);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif
 |