Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for saveCreds (0.44 sec)

  1. security/tools/generate_csr/main.go

    	curve   = flag.String("curve", "P256", "Specify the elliptic curve to use to generate an elliptical curve private key")
    )
    
    func saveCreds(csrPem []byte, privPem []byte) {
    	err := os.WriteFile(*outCsr, csrPem, 0o644)
    	if err != nil {
    		log.Fatalf("Could not write output certificate request: %s.", err)
    	}
    
    	err = os.WriteFile(*outPriv, privPem, 0o600)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. security/tools/generate_cert/main.go

    	case citadelMode:
    		if hasCert || hasPriv {
    			log.Fatalf("--mode=%v is incompatible with --signer-cert or --signer-priv.", citadelMode)
    		}
    	default:
    		log.Fatalf("Unsupported mode %v", *mode)
    	}
    }
    
    func saveCreds(certPem []byte, privPem []byte) {
    	err := os.WriteFile(*outCert, certPem, 0o644)
    	if err != nil {
    		log.Fatalf("Could not write output certificate: %s.", err)
    	}
    
    	err = os.WriteFile(*outPriv, privPem, 0o600)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 16:21:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/runtime/export_debug_amd64_test.go

    	ctxt.set_rsp(rsp)
    	// Write the argument frame size.
    	*(*uintptr)(unsafe.Pointer(uintptr(rsp - 16))) = h.argSize
    	// Save current registers.
    	h.sigCtxt.savedRegs = *ctxt.regs()
    	h.sigCtxt.savedFP = *h.sigCtxt.savedRegs.fpstate
    	h.sigCtxt.savedRegs.fpstate = nil
    }
    
    // case 0
    func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) {
    	rsp := ctxt.rsp()
    	memmove(unsafe.Pointer(uintptr(rsp)), h.argp, h.argSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_aix_ppc64.S

      .csect .text[PR]
    .crosscall_ppc64:
    	// Start with standard C stack frame layout and linkage
    	mflr	0
    	std	0, 16(1)	// Save LR in caller's frame
    	std	2, 40(1)	// Save TOC in caller's frame
    	bl	saveregs
    	stdu	1, -296(1)
    
    	// Set up Go ABI constant registers
    	// Must match _cgo_reginit in runtime package.
    	xor 0, 0, 0
    
    	// Restore g pointer (r30 in Go ABI, which may have been clobbered by C)
    	mr	30, 4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/runtime/export_debug_arm64_test.go

    // license that can be found in the LICENSE file.
    
    //go:build arm64 && linux
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    type sigContext struct {
    	savedRegs sigcontext
    }
    
    func sigctxtSetContextRegister(ctxt *sigctxt, x uint64) {
    	ctxt.regs().regs[26] = x
    }
    
    func sigctxtAtTrapInstruction(ctxt *sigctxt) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/export_debug_ppc64le_test.go

    // license that can be found in the LICENSE file.
    
    //go:build ppc64le && linux
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"math"
    	"unsafe"
    )
    
    type sigContext struct {
    	savedRegs sigcontext
    }
    
    func sigctxtSetContextRegister(ctxt *sigctxt, x uint64) {
    	ctxt.regs().gpr[11] = x
    }
    
    func sigctxtAtTrapInstruction(ctxt *sigctxt) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top