Skip to content

Commit 77ea172

Browse files
brosahayrosahay-silabs
authored andcommitted
Remove experimental ECDSA support
1 parent d017a0d commit 77ea172

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/platform/silabs/PlatformManagerImpl.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ static int app_entropy_source(void * data, unsigned char * output, size_t len, s
7575

7676
return 0;
7777
}
78+
#endif // !SLI_SI91X_MCU_INTERFACE
7879
#endif // SL_MBEDTLS_USE_TINYCRYPT
7980
CHIP_ERROR PlatformManagerImpl::_InitChipStack(void)
8081
{
@@ -91,9 +92,10 @@ CHIP_ERROR PlatformManagerImpl::_InitChipStack(void)
9192
ReturnErrorOnFailure(System::Clock::InitClock_RealTime());
9293

9394
#if defined(SL_MBEDTLS_USE_TINYCRYPT)
95+
#if !(SLI_SI91X_MCU_INTERFACE)
9496
// 16 : Threshold value
9597
ReturnErrorOnFailure(chip::Crypto::add_entropy_source(app_entropy_source, NULL, 16));
96-
98+
#endif // !SLI_SI91X_MCU_INTERFACE
9799
/* Set RNG function for tinycrypt operations. */
98100
VerifyOrExit(sys_mutex_new(&rngMutexHandle) == ERR_OK, err = CHIP_ERROR_NO_MEMORY);
99101
uECC_set_rng(PlatformManagerImpl::uECC_RNG_Function);

third_party/silabs/SiWx917_sdk.gni

-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ template("siwx917_sdk") {
380380
"SLI_MAC_DEVICE_SI91X=1",
381381
"SLI_SHA_DEVICE_SI91X=1",
382382
"SLI_TRNG_DEVICE_SI91X=1",
383-
"SLI_ECDSA_DEVICE_SI91X=1",
384383
"SLI_SECURE_KEY_STORAGE_DEVICE_SI91X=1",
385384
]
386385

0 commit comments

Comments
 (0)