Untriaged
Non-constant time multiplication subroutine __muldi3 on RISC-V RV32I
wolfSSL 5.8.4 on RISC-V RV32I architectures lacks a constant-time software implementation for 64-bit multiplication. The compiler-inserted __muldi3 subroutine executes in variable time based on operand values. This affects multiple SP math functions (sp_256_mul_9, sp_256_sqr_9, etc.), leading to a timing side-channel that may expose sensitive cryptographic data.
References
Affected products
wolfSSL
- <5.9.0
Package maintainers
-
@vifino Adrian Pistol <vifino@tty.sh>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>