Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for cpsr (2.52 sec)

  1. src/runtime/mkpreempt.go

    		if i == 10 {
    			continue // R10 is g register, no need to save/restore
    		}
    		l.add("MOVW", reg, 4)
    	}
    	// Add flag register.
    	l.addSpecial(
    		"MOVW CPSR, R0\nMOVW R0, %d(R13)",
    		"MOVW %d(R13), R0\nMOVW R0, CPSR",
    		4)
    
    	// Add floating point registers F0-F15 and flag register.
    	var lfp = layout{stack: l.stack, sp: "R13"}
    	lfp.addSpecial(
    		"MOVW FPCR, R0\nMOVW R0, %d(R13)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. pkg/apis/certificates/v1beta1/defaults_test.go

    	strPtr := func(s string) *string { return &s }
    	tests := map[string]struct {
    		csr                capi.CertificateSigningRequestSpec
    		expectedSignerName string
    		expectedUsages     []capi.KeyUsage
    	}{
    		"defaults to legacy-unknown if request is not a CSR": {
    			csr: capi.CertificateSigningRequestSpec{
    				Request: []byte("invalid data"),
    				Usages:  kubeletServerUsages,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  3. pkg/controller/certificates/signer/signer.go

    	if err != nil {
    		return fmt.Errorf("unable to parse csr %q: %v", csr.Name, err)
    	}
    	if recognized, err := s.isRequestForSignerFn(x509cr, csr.Spec.Usages, csr.Spec.SignerName); err != nil {
    		csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{
    			Type:           capi.CertificateFailed,
    			Status:         v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. pkg/apis/certificates/validation/validation.go

    	}
    	if csr.Spec.ExpirationSeconds != nil && *csr.Spec.ExpirationSeconds < 600 {
    		allErrs = append(allErrs, field.Invalid(specPath.Child("expirationSeconds"), *csr.Spec.ExpirationSeconds, "may not specify a duration less than 600 seconds (10 minutes)"))
    	}
    	allErrs = append(allErrs, validateConditions(field.NewPath("status", "conditions"), csr, opts)...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/certificates.go

    	if missingSingleSigningFile && !anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    		logger.Info("Skipping CSR signer controller because no csr cert/key was specified")
    		return nil, false, nil
    	}
    	if !missingSingleSigningFile && anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. security/pkg/k8s/chiron/utils_test.go

    	go func() {
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case r := <-w.ResultChan():
    				csr := r.Object.(*cert.CertificateSigningRequest).DeepCopy()
    				if csr.Status.Certificate != nil {
    					log.Debugf("test signer skip, already signed: %v", csr.Name)
    					continue
    				}
    				if approved(csr) {
    					// This is a pretty terrible hack, but client-go fake doesn't properly support list+watch,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. pkg/registry/certificates/certificates/storage/metrics_test.go

    					SignerName:        "pandas",
    					ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour),
    				},
    			},
    			options:       &metav1.UpdateOptions{DryRun: []string{"stuff"}},
    			wantSigner:    "",
    			wantRequested: false,
    			wantHonored:   false,
    		},
    		{
    			name:    "old CSR already has a cert so it is ignored",
    			success: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	}
    
    	return nil
    }
    
    // WriteCSR writes the pem-encoded CSR data to csrPath.
    // The CSR file will be created with file mode 0600.
    // If the CSR file already exists, it will be overwritten.
    // The parent directory of the csrPath will be created as needed with file mode 0700.
    func WriteCSR(csrDir, name string, csr *x509.CertificateRequest) error {
    	if csr == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. pkg/kubelet/certificate/bootstrap/bootstrap.go

    // We can't directly hash the serialized CSR because of random padding that we
    // regenerate every loop and we include usages which are not contained in the
    // CSR. This needs to be kept up to date as we add new fields to the node
    // certificates and with ensureCompatible.
    func digestedName(publicKey interface{}, subject *pkix.Name, usages []certificatesv1.KeyUsage) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  10. security/pkg/server/ca/server_test.go

    			},
    			caller: &security.Caller{Identities: []string{callerID}},
    			ipAddr: mockIPAddr,
    			code:   codes.OK,
    		},
    	}
    
    	for id, c := range testCerts {
    		request := &pb.IstioCertificateRequest{Csr: "dumb CSR"}
    		ctx := context.Background()
    		if c.certChain != nil {
    			tlsInfo := credentials.TLSInfo{
    				State: tls.ConnectionState{VerifiedChains: c.certChain},
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top