mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
mbedtls: suport sha1 in certificate
This commit is contained in:
parent
b1a4b24963
commit
606dd2b629
@ -150,6 +150,12 @@ menu "mbedTLS"
|
|||||||
SHA hardware acceleration is faster than software in some situations but
|
SHA hardware acceleration is faster than software in some situations but
|
||||||
slower in others. You should benchmark to find the best setting for you.
|
slower in others. You should benchmark to find the best setting for you.
|
||||||
|
|
||||||
|
config SHA1_IN_CERTIFICATES
|
||||||
|
bool "Enable SHA1 in certificates"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option enables sha1 to encryption certificates
|
||||||
|
|
||||||
config MBEDTLS_HAVE_TIME
|
config MBEDTLS_HAVE_TIME
|
||||||
bool "Enable mbedtls time"
|
bool "Enable mbedtls time"
|
||||||
depends on !ESP32_TIME_SYSCALL_USE_NONE
|
depends on !ESP32_TIME_SYSCALL_USE_NONE
|
||||||
|
@ -272,6 +272,15 @@
|
|||||||
#define MBEDTLS_MPI_MUL_MPI_ALT
|
#define MBEDTLS_MPI_MUL_MPI_ALT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES to enable SHA1 support
|
||||||
|
to certificates.
|
||||||
|
*/
|
||||||
|
#ifdef CONFIG_SHA1_IN_CERTIFICATES
|
||||||
|
#define MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES
|
||||||
|
#else
|
||||||
|
#undef MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_MD2_PROCESS_ALT
|
* \def MBEDTLS_MD2_PROCESS_ALT
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user