Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for new512 (0.21 sec)

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

    // and 192 bits against collision attacks.
    func New384() hash.Hash {
    	return new384()
    }
    
    // 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}
    }
    
    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/hashes_noasm.go

    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)
  3. src/vendor/golang.org/x/crypto/sha3/register.go

    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)
  4. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    func new384() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_384)
    	}
    	return new384Generic()
    }
    
    // new512 returns an assembly implementation of SHA3-512 if available,
    // otherwise it returns a generic implementation.
    func new512() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_512)
    	}
    	return new512Generic()
    }
    
    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. cmd/bitrot.go

    }
    
    // New returns a new hash.Hash calculating the given bitrot algorithm.
    func (a BitrotAlgorithm) New() hash.Hash {
    	switch a {
    	case SHA256:
    		return sha256.New()
    	case BLAKE2b512:
    		b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
    		return b2
    	case HighwayHash256:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	case HighwayHash256S:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768.go

    func kemEncaps(cc *[CiphertextSize]byte, ek []byte, m *[messageSize]byte) (c, K []byte, err error) {
    	if cc == nil {
    		cc = &[CiphertextSize]byte{}
    	}
    
    	H := sha3.Sum256(ek[:])
    	g := sha3.New512()
    	g.Write(m[:])
    	g.Write(H[:])
    	G := g.Sum(nil)
    	K, r := G[:SharedKeySize], G[SharedKeySize:]
    	var ex encryptionKey
    	if err := parseEK(&ex, ek[:]); err != nil {
    		return nil, nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. src/hash/fnv/fnv.go

    // Its Sum method will lay the value out in big-endian byte order.
    func New64a() hash.Hash64 {
    	var s sum64a = offset64
    	return &s
    }
    
    // New128 returns a new 128-bit FNV-1 [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New128() hash.Hash {
    	var s sum128
    	s[0] = offset128Higher
    	s[1] = offset128Lower
    	return &s
    }
    
    // New128a returns a new 128-bit FNV-1a [hash.Hash].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. 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)
  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. internal/config/identity/openid/jwt.go

    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    		"ES256", "ES384", "ES512",
    		"HS256", "HS384", "HS512",
    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top