Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkNewKeyFromSeed (0.47 sec)

  1. src/crypto/ed25519/ed25519_test.go

    }
    
    func BenchmarkKeyGeneration(b *testing.B) {
    	var zero zeroReader
    	for i := 0; i < b.N; i++ {
    		if _, _, err := GenerateKey(zero); err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkNewKeyFromSeed(b *testing.B) {
    	seed := make([]byte, SeedSize)
    	for i := 0; i < b.N; i++ {
    		_ = NewKeyFromSeed(seed)
    	}
    }
    
    func BenchmarkSigning(b *testing.B) {
    	var zero zeroReader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top