File tree 7 files changed +35
-5
lines changed
en/api-guides/performance
zh_CN/api-guides/performance
7 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 3
3
components/esp_security/test_apps/crypto_drivers :
4
4
enable :
5
5
- if : ((SOC_HMAC_SUPPORTED == 1) or (SOC_DIG_SIGN_SUPPORTED == 1)) or (SOC_KEY_MANAGER_SUPPORTED == 1)
6
+ depends_components :
7
+ - esp_security
Original file line number Diff line number Diff line change 1
1
components/hal/test_apps/crypto :
2
2
depends_components :
3
3
- efuse
4
+ - mbedtls
5
+ - esp_security
4
6
5
7
components/hal/test_apps/hal_i2c :
6
8
disable :
Original file line number Diff line number Diff line change @@ -667,6 +667,14 @@ menu "mbedTLS"
667
667
help
668
668
Enable MBEDTLS_SHA512_C adds support for SHA-384 and SHA-512.
669
669
670
+ config MBEDTLS_SHA3_C
671
+ bool "Enable the SHA3 cryptographic hash algorithm"
672
+ default n
673
+ help
674
+ Enabling MBEDTLS_SHA3_C adds support for SHA3.
675
+ Enabling this configuration option increases the flash footprint
676
+ by almost 4KB.
677
+
670
678
choice MBEDTLS_TLS_MODE
671
679
bool "TLS Protocol Role"
672
680
default MBEDTLS_TLS_SERVER_AND_CLIENT
@@ -1103,12 +1111,12 @@ menu "mbedTLS"
1103
1111
config MBEDTLS_ECP_FIXED_POINT_OPTIM
1104
1112
bool "Enable fixed-point multiplication optimisations"
1105
1113
depends on MBEDTLS_ECP_C
1106
- default y
1114
+ default n
1107
1115
help
1108
1116
This configuration option enables optimizations to speedup (about 3 ~ 4 times) the ECP
1109
1117
fixed point multiplication using pre-computed tables in the flash memory.
1110
- Disabling this configuration option saves flash footprint (about 29KB if all Elliptic Curve selected)
1111
- in the application binary.
1118
+ Enabling this configuration option increases the flash footprint
1119
+ (about 29KB if all Elliptic Curve selected) in the application binary.
1112
1120
1113
1121
# end of Elliptic Curve options
1114
1122
Original file line number Diff line number Diff line change 2560
2560
#undef MBEDTLS_SHA512_C
2561
2561
#endif
2562
2562
2563
+ /**
2564
+ * \def MBEDTLS_SHA3_C
2565
+ *
2566
+ * Enable the SHA3 cryptographic hash algorithm.
2567
+ *
2568
+ * Module: library/sha3.c
2569
+ *
2570
+ * This module adds support for SHA3.
2571
+ */
2572
+ #ifdef CONFIG_MBEDTLS_SHA3_C
2573
+ #define MBEDTLS_SHA3_C
2574
+ #else
2575
+ #undef MBEDTLS_SHA3_C
2576
+ #endif
2577
+
2563
2578
/**
2564
2579
* \def MBEDTLS_SSL_CACHE_C
2565
2580
*
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ components/mbedtls/test_apps:
7
7
- if : CONFIG_NAME == "ecdsa_sign" and SOC_ECDSA_SUPPORTED != 1
8
8
depends_components :
9
9
- efuse
10
- depends_filepatterns :
11
- - components/mbedtls/port/ecdsa/*
10
+ - mbedtls
11
+ - esp_security
12
+ - esp_mm
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ These include:
194
194
- :ref: `CONFIG_MBEDTLS_HAVE_TIME `
195
195
- :ref: `CONFIG_MBEDTLS_ECDSA_DETERMINISTIC `
196
196
- :ref: `CONFIG_MBEDTLS_SHA512_C `
197
+ - :ref: `CONFIG_MBEDTLS_SHA3_C `
197
198
- :ref: `CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS `
198
199
- :ref: `CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS `
199
200
- :ref: `CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION `
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ MbedTLS 功能
194
194
- :ref: `CONFIG_MBEDTLS_HAVE_TIME `
195
195
- :ref: `CONFIG_MBEDTLS_ECDSA_DETERMINISTIC `
196
196
- :ref: `CONFIG_MBEDTLS_SHA512_C `
197
+ - :ref: `CONFIG_MBEDTLS_SHA3_C `
197
198
- :ref: `CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS `
198
199
- :ref: `CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS `
199
200
- :ref: `CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION `
You can’t perform that action at this time.
0 commit comments