Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkScalarBaseMult (0.13 sec)

  1. src/crypto/elliptic/elliptic_test.go

    		{"P384", P384()},
    		{"P521", P521()},
    	}
    	for _, test := range tests {
    		curve := test.curve
    		b.Run(test.name, func(b *testing.B) {
    			f(b, curve)
    		})
    	}
    }
    
    func BenchmarkScalarBaseMult(b *testing.B) {
    	benchmarkAllCurves(b, func(b *testing.B, curve Curve) {
    		priv, _, _, _ := GenerateKey(curve, rand.Reader)
    		b.ReportAllocs()
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top