ecc: added SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK soc caps for esp32c2

as the ESP32C2 ECC peripheral has a bug in ECC point verification,
if value of K is zero the verification fails
This commit is contained in:
harshal.patil
2023-05-22 15:19:34 +05:30
parent 647c2dabfe
commit 56ac7eee3b
3 changed files with 9 additions and 2 deletions
@@ -203,6 +203,10 @@ config SOC_CPU_IDRAM_SPLIT_USING_PMP
bool
default y
config SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK
bool
default y
config SOC_GDMA_GROUPS
int
default 1
@@ -98,6 +98,9 @@
#define SOC_CPU_IDRAM_SPLIT_USING_PMP 1
/*-------------------------- ECC CAPS --------------------------*/
#define SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK 1 // C2 ECC peripheral has a bug in ECC point verification, if value of K is zero the verification fails
/*-------------------------- GDMA CAPS -------------------------------------*/
#define SOC_GDMA_GROUPS (1U) // Number of GDMA groups
#define SOC_GDMA_PAIRS_PER_GROUP (1U) // Number of GDMA pairs in each group