Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for arc4random_buf (0.18 sec)

  1. src/internal/syscall/unix/arc4random_darwin.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_arc4random_buf arc4random_buf "/usr/lib/libSystem.B.dylib"
    
    func libc_arc4random_buf_trampoline()
    
    // ARC4Random calls the macOS arc4random_buf(3) function.
    func ARC4Random(p []byte) {
    	// macOS 11 and 12 abort if length is 0.
    	if len(p) == 0 {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 633 bytes
    - Viewed (0)
  2. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic _sanitizer_internal_memmove _sanitizer_internal_memmove ""
    //go:cgo_import_dynamic _sanitizer_internal_memset _sanitizer_internal_memset ""
    //go:cgo_import_dynamic abort abort ""
    //go:cgo_import_dynamic arc4random_buf arc4random_buf ""
    //go:cgo_import_dynamic close close ""
    //go:cgo_import_dynamic dlsym dlsym ""
    //go:cgo_import_dynamic dup dup ""
    //go:cgo_import_dynamic dup2 dup2 ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic _sanitizer_internal_memmove _sanitizer_internal_memmove ""
    //go:cgo_import_dynamic _sanitizer_internal_memset _sanitizer_internal_memset ""
    //go:cgo_import_dynamic abort abort ""
    //go:cgo_import_dynamic arc4random_buf arc4random_buf ""
    //go:cgo_import_dynamic bzero bzero ""
    //go:cgo_import_dynamic close close ""
    //go:cgo_import_dynamic dlsym dlsym ""
    //go:cgo_import_dynamic dup dup ""
    //go:cgo_import_dynamic dup2 dup2 ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/crypto/rand/rand_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand
    
    import "internal/syscall/unix"
    
    func init() {
    	// arc4random_buf is the recommended application CSPRNG, accepts buffers of
    	// any size, and never returns an error.
    	//
    	// "The subsystem is re-seeded from the kernel random number subsystem on a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 667 bytes
    - Viewed (0)
  5. src/crypto/rand/rand.go

    // secure random number generator.
    //
    //   - On Linux, FreeBSD, Dragonfly, and Solaris, Reader uses getrandom(2)
    //     if available, and /dev/urandom otherwise.
    //   - On macOS and iOS, Reader uses arc4random_buf(3).
    //   - On OpenBSD and NetBSD, Reader uses getentropy(2).
    //   - On other Unix-like systems, Reader reads from /dev/urandom.
    //   - On Windows, Reader uses the ProcessPrng API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top