Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for new224 (0.15 sec)

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

    import (
    	"hash"
    )
    
    // New224 creates a new SHA3-224 hash.
    // Its generic security strength is 224 bits against preimage attacks,
    // and 112 bits against collision attacks.
    func New224() hash.Hash {
    	return new224()
    }
    
    // New256 creates a new SHA3-256 hash.
    // Its generic security strength is 256 bits against preimage attacks,
    // and 128 bits against collision attacks.
    func New256() hash.Hash {
    	return new256()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/register.go

    // license that can be found in the LICENSE file.
    
    //go:build go1.4
    
    package sha3
    
    import (
    	"crypto"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.SHA3_224, New224)
    	crypto.RegisterHash(crypto.SHA3_256, New256)
    	crypto.RegisterHash(crypto.SHA3_384, New384)
    	crypto.RegisterHash(crypto.SHA3_512, New512)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 414 bytes
    - Viewed (0)
  3. 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)
  4. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    func (s *asmState) Clone() ShakeHash {
    	return s.clone()
    }
    
    // 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,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/crypto/sha256/sha256.go

    // state of the hash.
    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA256()
    	}
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    // New224 returns a new hash.Hash computing the SHA224 checksum.
    func New224() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA224()
    	}
    	d := new(digest)
    	d.is224 = true
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/hash/fnv/fnv.go

    	prime128Lower   = 0x13b
    	prime128Shift   = 24
    )
    
    // New32 returns a new 32-bit FNV-1 [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32() hash.Hash32 {
    	var s sum32 = offset32
    	return &s
    }
    
    // New32a returns a new 32-bit FNV-1a [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32a() hash.Hash32 {
    	var s sum32a = offset32
    	return &s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go

    }
    
    // New returns an instance of Checkpoint - must be an alias for the most recent version
    func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint {
    	return newV2(devEntries, devices)
    }
    
    func newV2(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint {
    	return &Data{
    		Data: checkpointData{
    			PodDeviceEntries:  devEntries,
    			RegisteredDevices: devices,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/crypto/sha512/sha512.go

    // New512_256 returns a new hash.Hash computing the SHA-512/256 checksum.
    func New512_256() hash.Hash {
    	d := &digest{function: crypto.SHA512_256}
    	d.Reset()
    	return d
    }
    
    // New384 returns a new hash.Hash computing the SHA-384 checksum.
    func New384() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA384()
    	}
    	d := &digest{function: crypto.SHA384}
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/runtime/gc_test.go

    	// further move the stack.
    	new2 := uintptr(unsafe.Pointer(new))
    
    	t.Logf("old stack pointer %x, new stack pointer %x", old, new2)
    	if new2 == old {
    		// Check that we didn't screw up the test's escape analysis.
    		if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" {
    			t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls)
    		}
    		// This was a real failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"MakeTable", Func, 0},
    		{"New", Func, 0},
    		{"Size", Const, 0},
    		{"Table", Type, 0},
    		{"Update", Func, 0},
    	},
    	"hash/fnv": {
    		{"New128", Func, 9},
    		{"New128a", Func, 9},
    		{"New32", Func, 0},
    		{"New32a", Func, 0},
    		{"New64", Func, 0},
    		{"New64a", Func, 0},
    	},
    	"hash/maphash": {
    		{"(*Hash).BlockSize", Method, 14},
    		{"(*Hash).Reset", Method, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top