Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isBigEndian (0.42 sec)

  1. src/vendor/golang.org/x/crypto/sha3/xor.go

    func xorIn(d *state, buf []byte) {
    	if cpu.IsBigEndian {
    		for i := 0; len(buf) >= 8; i++ {
    			a := binary.LittleEndian.Uint64(buf)
    			d.a[i] ^= a
    			buf = buf[8:]
    		}
    	} else {
    		ab := (*[25 * 64 / 8]byte)(unsafe.Pointer(&d.a))
    		subtle.XORBytes(ab[:], ab[:], buf)
    	}
    }
    
    // copyOut copies uint64s to a byte buffer.
    func copyOut(d *state, b []byte) {
    	if cpu.IsBigEndian {
    		for i := 0; len(b) >= 8; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 854 bytes
    - Viewed (0)
Back to top