Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkExp (0.07 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    () 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 := 0; i < b.N; i++ { out.Exp(x, e, m) } } func TestNewModulus(t *testing.T) { expected := "modulus...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top