mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 12:02:20 +01:00
Fix mask type in mp_cond_copy to be at least 16 bits to handle 'used' being larger than 8-bit but mp_digit being 8-bit. When large numbers are used with 8-bit words, mul/sqr partial sums will overflow a word. Fix implementations to handle this.