Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsSupportedECPrivateKey (0.27 sec)

  1. security/pkg/pki/util/crypto_test.go

    			t.Errorf(`%s: Unexpected error: "%s"`, id, err)
    		} else if size != c.size {
    			t.Errorf(`%s: Unmatched key size: expected %v but got "%v"`, id, c.size, size)
    		}
    	}
    }
    
    func TestIsSupportedECPrivateKey(t *testing.T) {
    	_, ed25519PrivKey, _ := ed25519.GenerateKey(nil)
    	ecdsaPrivKeyP224, _ := ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
    	ecdsaPrivKeyP256, _ := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top