Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
With WC_NO_CACHE_RESISTANT defined, as the ESP-IDF and Arduino ESP32 platform defaults do, the timing-resistant ECC ladder in ecc_mulmod selects the points it doubles and adds by the current secret scalar bit. The variant that keeps operand addresses constant is compiled out.
When WC_NO_CACHE_RESISTANT is defined, _sp_exptmod_ex in the SP math backend squares and multiplies into a temporary chosen by the current secret exponent bit. The masked constant-address variant in the same function is compiled out. No shipped configuration combines SP math with the macro.
The ESP-IDF and Arduino ESP32 platform defaults define WC_NO_CACHE_RESISTANT. With it, the TFM exponentiation ladder _fp_exptmod_ct selects the operands of its multiply and square by the current secret exponent bit, and the variant that keeps operand addresses constant is compiled out.
// No embargoed advisories.