mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-28 21:48:05 +08:00

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.
16 lines
496 B
Plaintext
16 lines
496 B
Plaintext
menu "libsodium"
|
|
|
|
config LIBSODIUM_USE_MBEDTLS_SHA
|
|
bool "Use mbedTLS SHA256 & SHA512 implementations"
|
|
default y
|
|
depends on !MBEDTLS_HARDWARE_SHA
|
|
help
|
|
If this option is enabled, libsodium will use thin wrappers
|
|
around mbedTLS for SHA256 & SHA512 operations.
|
|
|
|
This saves some code size if mbedTLS is also used. However it
|
|
is incompatible with hardware SHA acceleration (due to the
|
|
way libsodium's API manages SHA state).
|
|
|
|
endmenu # libsodium
|