Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 112 for 1p256 (1.55 sec)

  1. src/crypto/x509/boring_test.go

    	R2 := testBoringCert(t, "R2", boringRSAKey(t, 512), nil, boringCertCA)
    	R3 := testBoringCert(t, "R3", boringRSAKey(t, 4096), nil, boringCertCA|boringCertFIPSOK)
    
    	M1_R1 := testBoringCert(t, "M1_R1", boringECDSAKey(t, elliptic.P256()), R1, boringCertCA|boringCertFIPSOK)
    	M2_R1 := testBoringCert(t, "M2_R1", boringECDSAKey(t, elliptic.P224()), R1, boringCertCA)
    
    	I_R1 := testBoringCert(t, "I_R1", boringRSAKey(t, 3072), R1, boringCertCA|boringCertFIPSOK)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 17:38:47 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwks.go

    			return nil, errMalformedJWKECKey
    		}
    
    		var curve elliptic.Curve
    		switch key.Crv {
    		case "P-224":
    			curve = elliptic.P224()
    		case "P-256":
    			curve = elliptic.P256()
    		case "P-384":
    			curve = elliptic.P384()
    		case "P-521":
    			curve = elliptic.P521()
    		default:
    			return nil, fmt.Errorf("Unknown curve type: %s", key.Crv)
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server_bootstrap_test.go

    	testDir, err := os.MkdirTemp("", "kubeletcert")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() { os.RemoveAll(testDir) }()
    
    	serverPrivateKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatal(err)
    	}
    	serverCA, err := certutil.NewSelfSignedCACert(certutil.Config{
    		CommonName: "the-test-framework",
    	}, serverPrivateKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. src/crypto/x509/pkcs8_test.go

    			curve:   elliptic.P224(),
    		},
    		{
    			name:    "P-256 private key",
    			keyHex:  pkcs8P256PrivateKeyHex,
    			keyType: reflect.TypeOf(&ecdsa.PrivateKey{}),
    			curve:   elliptic.P256(),
    		},
    		{
    			name:    "P-384 private key",
    			keyHex:  pkcs8P384PrivateKeyHex,
    			keyType: reflect.TypeOf(&ecdsa.PrivateKey{}),
    			curve:   elliptic.P384(),
    		},
    		{
    			name:    "P-521 private key",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 16:45:10 UTC 2022
    - 9K bytes
    - Viewed (0)
  5. src/crypto/x509/hybrid_pool_test.go

    		IsCA:                  true,
    		BasicConstraintsValid: true,
    		NotBefore:             time.Now().Add(-time.Hour),
    		NotAfter:              time.Now().Add(time.Hour * 10),
    	}
    	k, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("failed to generate test key: %s", err)
    	}
    	rootDER, err := x509.CreateCertificate(rand.Reader, rootTmpl, rootTmpl, k.Public(), k)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:11 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256_asm_amd64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    // This file contains constant-time, 64-bit assembly implementation of
    // P256. The optimizations performed here are described in detail in:
    // S.Gueron and V.Krasnov, "Fast prime field elliptic-curve cryptography with
    //                          256-bit primes"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. security/pkg/pki/util/crypto.go

    	switch key := (*privKey).(type) {
    	// this should agree with var SupportedECSignatureAlgorithms
    	case *ecdsa.PrivateKey:
    		if key.Curve == elliptic.P384() {
    			return key.Curve, nil
    		}
    		return elliptic.P256(), nil
    	default:
    		return nil, fmt.Errorf("private key is not ECDSA based")
    	}
    }
    
    // PemCertBytestoString: takes an array of PEM certs in bytes and returns a string array in the same order with
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. security/tools/generate_cert/main.go

    	isServer  = flag.Bool("server", false, "Whether this certificate is for a server.")
    	ec        = flag.String("ec-sig-alg", "", "Generate an elliptical curve private key with the specified algorithm")
    	curve     = flag.String("curve", "P256", "Specify the elliptic curve to use to generate an elliptical curve private key")
    	sanFields = flag.String("san", "", "Subject Alternative Names")
    )
    
    func checkCmdLine() {
    	flag.Parse()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 16:21:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. fuzzing/fuzzingserver-expected.txt

    "12.5.14 UNIMPLEMENTED"
    "12.5.15 UNIMPLEMENTED"
    "12.5.16 UNIMPLEMENTED"
    "12.5.17 UNIMPLEMENTED"
    "12.5.18 UNIMPLEMENTED"
    "12.5.2 UNIMPLEMENTED"
    "12.5.3 UNIMPLEMENTED"
    "12.5.4 UNIMPLEMENTED"
    "12.5.5 UNIMPLEMENTED"
    "12.5.6 UNIMPLEMENTED"
    "12.5.7 UNIMPLEMENTED"
    "12.5.8 UNIMPLEMENTED"
    "12.5.9 UNIMPLEMENTED"
    "13.1.1 UNIMPLEMENTED"
    "13.1.10 UNIMPLEMENTED"
    "13.1.11 UNIMPLEMENTED"
    "13.1.12 UNIMPLEMENTED"
    "13.1.13 UNIMPLEMENTED"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/zero_test.go

    	if a != want {
    		t.Errorf("zero256u2 got=%v, want %v\n", a, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 49.6K bytes
    - Viewed (0)
Back to top