diff --git a/src/crypto/CHIPCryptoPALmbedTLS.cpp b/src/crypto/CHIPCryptoPALmbedTLS.cpp index d4fdb23ad14848..f69adcf4ddf83d 100644 --- a/src/crypto/CHIPCryptoPALmbedTLS.cpp +++ b/src/crypto/CHIPCryptoPALmbedTLS.cpp @@ -559,7 +559,8 @@ CHIP_ERROR P256PublicKey::ECDSA_validate_hash_signature(const uint8_t * hash, co CHIP_ERROR P256Keypair::ECDH_derive_secret(const P256PublicKey & remote_public_key, P256ECDHDerivedSecret & out_secret) const { -#if defined(MBEDTLS_ECDH_C) && !defined(MBEDTLS_ECP_ALT) +// TODO: Enable ECDH_derive_secret for Qorvo when their mbedTLS static libraries are updated +#if defined(MBEDTLS_ECDH_C) && !defined(QORVO_CRYPTO_ENGINE) CHIP_ERROR error = CHIP_NO_ERROR; int result = 0; size_t secret_length = (out_secret.Length() == 0) ? out_secret.Capacity() : out_secret.Length();