Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestZeroSignature (0.12 sec)

  1. src/crypto/ecdsa/ecdsa_test.go

    	for l := 0; l < 600; l++ {
    		h := bytes.Repeat([]byte{0xff}, l)
    		hashToNat(c, bigmod.NewNat(), h)
    	}
    }
    
    func TestZeroSignature(t *testing.T) {
    	testAllCurves(t, testZeroSignature)
    }
    
    func testZeroSignature(t *testing.T, curve elliptic.Curve) {
    	privKey, err := GenerateKey(curve, rand.Reader)
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top