- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExpShortVarTime (0.08 sec)
-
lib/fips140/v1.0.0.zip
out.assign(not(ctEq(k, 0)), tmp) } } return out.montgomeryReduction(m) } // ExpShortVarTime calculates out = x^e mod m. // // The output will be resized to the size of m and overwritten. x must already // be reduced modulo m. This leaks the exponent through timing side-channels. // // m must be odd, or ExpShortVarTime will panic. func (out *Nat) ExpShortVarTime(x *Nat, e uint, m *Modulus) *Nat { if !m.odd { panic("bigmod: modulus for ExpShortVarTime must be odd") } // For short exponents, precomputing a table and...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)