mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(sha): add SM3 hardware support
Enable hardware SM3 digest support on ESP32-H4, ESP32-S31 and ESP32-C5 via the SHA peripheral (mode 14).
This commit is contained in:
committed by
Ashish Sharma
parent
320f344cd6
commit
7f413c914d
@@ -815,6 +815,10 @@ config SOC_SHA_SUPPORT_SHA512_T
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_SHA_SUPPORT_SM3
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_ECC_CONSTANT_TIME_POINT_MUL
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -352,6 +352,7 @@
|
||||
#define SOC_SHA_SUPPORT_SHA384 (1)
|
||||
#define SOC_SHA_SUPPORT_SHA512 (1)
|
||||
#define SOC_SHA_SUPPORT_SHA512_T (1)
|
||||
#define SOC_SHA_SUPPORT_SM3 (1)
|
||||
|
||||
/*--------------------------- ECC CAPS ---------------------------------------*/
|
||||
#define SOC_ECC_CONSTANT_TIME_POINT_MUL 1
|
||||
|
||||
Reference in New Issue
Block a user