Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setupState (0.12 sec)

  1. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go

    //go:noescape
    func chacha20Poly1305Seal(dst []byte, key []uint32, src, ad []byte)
    
    var (
    	useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2
    )
    
    // setupState writes a ChaCha20 input matrix to state. See
    // https://tools.ietf.org/html/rfc7539#section-2.3.
    func setupState(state *[16]uint32, key *[32]byte, nonce []byte) {
    	state[0] = 0x61707865
    	state[1] = 0x3320646e
    	state[2] = 0x79622d32
    	state[3] = 0x6b206574
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/godebug/godebug.go

    	}
    
    	return s
    }
    
    // setUpdate is provided by package runtime.
    // It calls update(def, env), where def is the default GODEBUG setting
    // and env is the current value of the $GODEBUG environment variable.
    // After that first call, the runtime calls update(def, env)
    // again each time the environment variable changes
    // (due to use of os.Setenv, for example).
    //
    //go:linkname setUpdate
    func setUpdate(update func(string, string))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/runtime/runtime.go

    var godebugEnv atomic.Pointer[string] // set by parsedebugvars
    var godebugNewIncNonDefault atomic.Pointer[func(string) func()]
    
    //go:linkname godebug_setUpdate internal/godebug.setUpdate
    func godebug_setUpdate(update func(string, string)) {
    	p := new(func(string, string))
    	*p = update
    	godebugUpdate.Store(p)
    	godebugNotify(false)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top