Nixpkgs Security Tracker

Login with GitHub

Suggestion detail

Untriaged
created 3 days, 2 hours ago
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.

Affected products

wolfSSL
  • <5.9.0

Matching in nixpkgs

Package maintainers