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.
The non-blocking TFM exponentiation fp_exptmod_nb selects the operands of its multiply and reduce steps by the current bit of the RSA private exponent in every build, and of its square steps when WC_NO_CACHE_RESISTANT is defined. The code is compiled only with WC_RSA_NONBLOCK.
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.
wolfSSL enables X25519 scalar blinding only for the default non-small C build. The small implementation rejects blinding at compile time, and the shipped ESP-IDF template selects that implementation, so X25519 on such builds runs an unblinded Montgomery ladder on the private scalar.
// No embargoed advisories.