- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkExpBig (2.21 sec)
-
lib/fips140/v1.0.0.zip
b.ResetTimer() for i := 0; i < b.N; i++ { out.montgomeryMul(x, y, m) } } func BenchmarkModMul(b *testing.B) { x := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Mul(y, m) } } func BenchmarkExpBig(b *testing.B) { out := new(big.Int) exponentBytes := makeBenchmarkExponen() x := new(big.Int).SetBytes(exponentBytes) e := new(big.Int).SetBytes(exponentBytes) n := new(big.Int).SetBytes(exponentBytes) one := new(big.Int).SetUint64(1) n.Add(n,...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)