Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newShake128Generic (0.22 sec)

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

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !gc || purego || !s390x
    
    package sha3
    
    func newShake128() *state {
    	return newShake128Generic()
    }
    
    func newShake256() *state {
    	return newShake256Generic()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 329 bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/shake.go

    // Its generic security strength is 256 bits against all attacks if
    // at least 64 bytes of its output are used.
    func NewShake256() ShakeHash {
    	return newShake256()
    }
    
    func newShake128Generic() *state {
    	return &state{rate: rate128, outputLen: 32, dsbyte: dsbyteShake}
    }
    
    func newShake256Generic() *state {
    	return &state{rate: rate256, outputLen: 64, dsbyte: dsbyteShake}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    // otherwise it returns a generic implementation.
    func newShake128() ShakeHash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(shake_128)
    	}
    	return newShake128Generic()
    }
    
    // newShake256 returns an assembly implementation of SHAKE-256 if available,
    // otherwise it returns a generic implementation.
    func newShake256() ShakeHash {
    	if cpu.S390X.HasSHA3 {
    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