Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/vendor/golang.org/x/crypto/sha3/hashes_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 new224() *state {
    	return new224Generic()
    }
    
    func new256() *state {
    	return new256Generic()
    }
    
    func new384() *state {
    	return new384Generic()
    }
    
    func new512() *state {
    	return new512Generic()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 409 bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/hashes.go

    }
    
    // New512 creates a new SHA3-512 hash.
    // Its generic security strength is 512 bits against preimage attacks,
    // and 256 bits against collision attacks.
    func New512() hash.Hash {
    	return new512()
    }
    
    func new224Generic() *state {
    	return &state{rate: 144, outputLen: 28, dsbyte: 0x06}
    }
    
    func new256Generic() *state {
    	return &state{rate: 136, outputLen: 32, dsbyte: 0x06}
    }
    
    func new384Generic() *state {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    // new224 returns an assembly implementation of SHA3-224 if available,
    // otherwise it returns a generic implementation.
    func new224() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_224)
    	}
    	return new224Generic()
    }
    
    // new256 returns an assembly implementation of SHA3-256 if available,
    // otherwise it returns a generic implementation.
    func new256() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_256)
    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