Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Asha (0.16 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump.go

    	const (
    		istioVersionKey  = "ISTIO_VERSION"
    		istioProxyShaKey = "ISTIO_PROXY_SHA"
    	)
    
    	md := bootstrapDump.GetBootstrap().GetNode().GetMetadata().GetFields()
    
    	if versionPB, ok := md[istioVersionKey]; ok {
    		version = versionPB.GetStringValue()
    	}
    	if shaPB, ok := md[istioProxyShaKey]; ok {
    		sha = shaPB.GetStringValue()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    			return false
    		}
    	}
    	return true
    }
    
    // BitrotAlgorithm specifies a algorithm used for bitrot protection.
    type BitrotAlgorithm uint
    
    const (
    	// SHA256 represents the SHA-256 hash function
    	SHA256 BitrotAlgorithm = 1 + iota
    	// HighwayHash256 represents the HighwayHash-256 hash function
    	HighwayHash256
    	// HighwayHash256S represents the Streaming HighwayHash-256 hash function
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. internal/fips/api.go

    			tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, // TLS 1.2 ECDHE CBC
    			tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
    			tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
    			tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
    			tls.TLS_RSA_WITH_AES_128_GCM_SHA256, // TLS 1.2 non-ECDHE
    			tls.TLS_RSA_WITH_AES_256_GCM_SHA384,
    			tls.TLS_RSA_WITH_AES_128_CBC_SHA,
    			tls.TLS_RSA_WITH_AES_256_CBC_SHA,
    		}
    	}
    	return []uint16{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/rsa-sha3_contrib.go

    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for RS256 and company
    var (
    	SigningMethodRS3256 *jwt.SigningMethodRSA
    	SigningMethodRS3384 *jwt.SigningMethodRSA
    	SigningMethodRS3512 *jwt.SigningMethodRSA
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  5. internal/config/identity/openid/ecdsa-sha3_contrib.go

    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for EC256 and company
    var (
    	SigningMethodES3256 *jwt.SigningMethodECDSA
    	SigningMethodES3384 *jwt.SigningMethodECDSA
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  6. internal/event/target/kafka_scram_client_contrib.go

    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    // to create Client objects configured for SHA-256 hashing.
    var KafkaSHA256 scram.HashGeneratorFcn = sha256.New
    
    // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used
    // to create Client objects configured for SHA-512 hashing.
    var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. internal/crypto/key.go

    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    		unsealConfig = sio.Config{MinVersion: sio.Version10, Key: sha.Sum(nil), CipherSuites: fips.DARECiphers()}
    	}
    
    	if out, err := sio.DecryptBuffer(key[:0], sealedKey.Key[:], unsealConfig); len(out) != 32 || err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/hasher.go

    package cmd
    
    import (
    	"crypto/md5"
    	"encoding/hex"
    
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 13:00:19 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. internal/kms/single-key.go

    type secretKey struct {
    	keyID string
    	key   []byte
    }
    
    var _ KMS = secretKey{} // compiler check
    
    const ( // algorithms used to derive and encrypt DEKs
    	algorithmAESGCM           = "AES-256-GCM-HMAC-SHA-256"
    	algorithmChaCha20Poly1305 = "ChaCha20Poly1305"
    )
    
    func (kms secretKey) Stat(context.Context) (Status, error) {
    	return Status{
    		Name:       "SecretKey",
    		DefaultKey: kms.keyID,
    	}, nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    		return n, cr.err
    	}
    
    	if cap(cr.buffer) < size {
    		cr.buffer = make([]byte, size)
    	} else {
    		cr.buffer = cr.buffer[:size]
    	}
    
    	// Now, we read the payload and compute its SHA-256 hash.
    	_, err = io.ReadFull(cr.reader, cr.buffer)
    	if err == io.EOF && size != 0 {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top