Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Squeeze (0.13 sec)

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

    	for len(out) > 0 {
    		n := copy(out, d.storage[d.i:d.n])
    		d.i += n
    		out = out[n:]
    
    		// Apply the permutation if we've squeezed the sponge dry.
    		if d.i == d.rate {
    			d.permute()
    		}
    	}
    
    	return
    }
    
    // Sum applies padding to the hash state and then squeezes out the desired
    // number of output bytes. It panics if any output has already been read.
    func (d *state) Sum(in []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/doc.go

    // is then "full" and the permutation is applied to "empty" it. This process is
    // repeated until all the input has been "absorbed". The input is then padded.
    // The digest is "squeezed" from the sponge in the same way, except that output
    // is copied out instead of input being XORed in.
    //
    // A sponge is parameterized by its generic security strength, which is equal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    		n := len(b)
    		if len(b) > cap(s.buf)-len(s.buf) {
    			n = cap(s.buf) - len(s.buf)
    		}
    		s.copyIntoBuf(b[:n])
    		b = b[n:]
    	}
    	return length, nil
    }
    
    // Read squeezes an arbitrary number of bytes from the sponge.
    func (s *asmState) Read(out []byte) (n int, err error) {
    	// The 'compute last message digest' instruction only stores the digest
    	// at the first operand (dst) for SHAKE functions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top