- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for makeBenchmarkExponen (0.09 sec)
-
lib/fips140/v1.1.0-rc1.zip
} } 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, one) b.ResetTimer() for i := 0; i < b.N; i++ { out.Exp(x, e, n) } } func BenchmarkExp(b *testing.B) { x := makeBenchmarkValue() e := makeBenchmarkExponen() out := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)