Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for bePutUint64 (0.27 sec)

  1. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"output","Test":"TestInlining","Output":"    inlining_test.go:102: not in expected set, but also inlinable: \"bePutUint64\"\n"}
    {"Action":"output","Test":"TestInlining","Output":"    inlining_test.go:102: not in expected set, but also inlinable: \"mask6\"\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. src/crypto/sha256/sha256.go

    	tmp[0] = 0x80
    	var t uint64
    	if len%64 < 56 {
    		t = 56 - len%64
    	} else {
    		t = 64 + 56 - len%64
    	}
    
    	// Length in bits.
    	len <<= 3
    	padlen := tmp[:t+8]
    	byteorder.BePutUint64(padlen[t+0:], len)
    	d.Write(padlen)
    
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/internal/chacha8rand/chacha8.go

    // when it uses the State struct, since the runtime
    // does not need these.
    func Marshal(s *State) []byte {
    	data := make([]byte, 6*8)
    	copy(data, "chacha8:")
    	used := (s.c/ctrInc)*chunk + s.i
    	byteorder.BePutUint64(data[1*8:], uint64(used))
    	for i, seed := range s.seed {
    		byteorder.LePutUint64(data[(2+i)*8:], seed)
    	}
    	return data
    }
    
    type errUnmarshalChaCha8 struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/crypto/sha1/sha1.go

    	tmp[0] = 0x80
    	var t uint64
    	if len%64 < 56 {
    		t = 56 - len%64
    	} else {
    		t = 64 + 56 - len%64
    	}
    
    	// Length in bits.
    	len <<= 3
    	padlen := tmp[:t+8]
    	byteorder.BePutUint64(padlen[t:], len)
    	d.Write(padlen)
    
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/crypto/des/block.go

    		}
    	}
    
    	left = (left << 31) | (left >> 1)
    	right = (right << 31) | (right >> 1)
    
    	// switch left & right and perform final permutation
    	preOutput := (uint64(right) << 32) | uint64(left)
    	byteorder.BePutUint64(dst, permuteFinalBlock(preOutput))
    }
    
    // DES Feistel function. feistelBox must be initialized via
    // feistelBoxOnce.Do(initFeistelBox) first.
    func feistel(l, r uint32, k0, k1 uint64) (lout, rout uint32) {
    	var t uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top