Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for 1p256 (1.26 sec)

  1. pkg/controller/certificates/approver/sarapprove_test.go

    	dns        []string
    	emails     []string
    	ips        []net.IP
    	signerName string
    }
    
    func makeFancyTestCsr(b csrBuilder) *capi.CertificateSigningRequest {
    	pk, err := ecdsa.GenerateKey(elliptic.P256(), insecureRand)
    	if err != nil {
    		panic(err)
    	}
    	csrb, err := x509.CreateCertificateRequest(insecureRand, &x509.CertificateRequest{
    		Subject: pkix.Name{
    			CommonName:   b.cn,
    			Organization: b.orgs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/poset_test.go

    }
    
    func testPosetOps(t *testing.T, unsigned bool, ops []posetTestOp) {
    	var v [1512]*Value
    	for i := range v {
    		v[i] = new(Value)
    		v[i].ID = ID(i)
    		if i >= 1000 && i < 1256 {
    			v[i].Op = OpConst64
    			v[i].AuxInt = int64(i - 1000 - 128)
    		}
    		if i >= 1256 && i < 1512 {
    			v[i].Op = OpConst64
    			v[i].AuxInt = int64(i - 1000 - 256)
    		}
    	}
    
    	po := newPoset()
    	po.SetUnsigned(unsigned)
    	for idx, op := range ops {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  3. src/crypto/x509/platform_test.go

    			windowsErr: "x509: certificate specifies an incompatible key usage",
    		},
    	}
    
    	leafKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("ecdsa.GenerateKey failed: %s", err)
    	}
    
    	for _, tc := range tests {
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			t.Parallel()
    			parent := testRoot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    		// names defined on other fields of the struct. Vet does not have a
    		// check for untagged fields of type struct defining their own name
    		// by containing a field named XMLName; see issue 18256.
    		return
    	}
    	if i := strings.Index(val, ","); i >= 0 {
    		if key == "xml" {
    			// Use a separate namespace for XML attributes.
    			for _, opt := range strings.Split(val[i:], ",") {
    				if opt == "attr" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwks_test.go

    		t.Fatalf("Expected ECDSA key[0], got %T", keys[0])
    	} else if key1, ok := keys[1].(*rsa.PublicKey); !ok {
    		t.Fatalf("Expected RSA key[1], got %T", keys[1])
    	} else if key0.Curve != elliptic.P256() {
    		t.Fatal("Key[0] is not using P-256 curve")
    	} else if !bytes.Equal(key0.X.Bytes(), []byte{
    		0x30, 0xa0, 0x42, 0x4c, 0xd2,
    		0x1c, 0x29, 0x44, 0x83, 0x8a, 0x2d, 0x75, 0xc9, 0x2b, 0x37, 0xe7, 0x6e, 0xa2,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/options/options.go

    	eccSigAlgEnv        = env.Register("ECC_SIGNATURE_ALGORITHM", "", "The type of ECC signature algorithm to use when generating private keys").Get()
    	eccCurvEnv          = env.Register("ECC_CURVE", "P256", "The elliptic curve to use when ECC_SIGNATURE_ALGORITHM is set to ECDSA").Get()
    	fileMountedCertsEnv = env.Register("FILE_MOUNTED_CERTS", false, "").Get()
    	credFetcherTypeEnv  = env.Register("CREDENTIAL_FETCHER_TYPE", security.JWT,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server_test.go

    			benchmarkHandshakeServer(b, VersionTLS12, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,
    				CurveP256, testRSACertificate, testRSAPrivateKey)
    		})
    	})
    	b.Run("ECDHE-P256-ECDSA-P256", func(b *testing.B) {
    		b.Run("TLSv13", func(b *testing.B) {
    			benchmarkHandshakeServer(b, VersionTLS13, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,
    				CurveP256, testP256Certificate, testP256PrivateKey)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. src/crypto/x509/verify_test.go

    		}
    	}
    }
    
    func generateCert(cn string, isCA bool, issuer *Certificate, issuerKey crypto.PrivateKey) (*Certificate, crypto.PrivateKey, error) {
    	priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/types.go

    type EncryptionAlgorithmType string
    
    const (
    	// EncryptionAlgorithmECDSAP256 defines the ECDSA encryption algorithm type with curve P256.
    	EncryptionAlgorithmECDSAP256 EncryptionAlgorithmType = "ECDSA-P256"
    	// EncryptionAlgorithmRSA2048 defines the RSA encryption algorithm type with key size 2048 bits.
    	EncryptionAlgorithmRSA2048 EncryptionAlgorithmType = "RSA-2048"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. src/crypto/x509/x509_test.go

    		}
    	}
    }
    
    func TestCreateRevocationList(t *testing.T) {
    	ec256Priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("Failed to generate ECDSA P256 key: %s", err)
    	}
    	_, ed25519Priv, err := ed25519.GenerateKey(rand.Reader)
    	if err != nil {
    		t.Fatalf("Failed to generate Ed25519 key: %s", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top