Merge branch 'feature/update_mbedtls_from_esp_idf' into 'master'

mbedtls: bring mbedtls and openssl based on mbedtls from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!1106
This commit is contained in:
Dong Heng
2019-10-12 10:16:25 +08:00
298 changed files with 3971 additions and 111290 deletions

View File

@ -183,6 +183,16 @@ uint32_t esp_get_minimum_free_heap_size( void );
*/
uint32_t esp_random(void);
/**
* @brief Fill a buffer with random bytes from hardware RNG
*
* @note This function has the same restrictions regarding available entropy as esp_random()
*
* @param buf Pointer to buffer to fill with random numbers.
* @param len Length of buffer in bytes
*/
void esp_fill_random(void *buf, size_t len);
typedef enum {
FLASH_SIZE_4M_MAP_256_256 = 0, /**< Flash size : 4Mbits. Map : 256KBytes + 256KBytes */
FLASH_SIZE_2M, /**< Flash size : 2Mbits. Map : 256KBytes */