Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for derive (0.19 sec)

  1. internal/crypto/sse.go

    	"github.com/minio/sio"
    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    	SealAlgorithm = "DAREv2-HMAC-SHA256"
    
    	// InsecureSealAlgorithm is the legacy encryption/sealing algorithm used
    	// to derive & seal the key-encryption-key and to en/decrypt the object data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  2. internal/kms/single-key.go

    }
    
    // New returns a single-key KMS that derives new DEKs from the
    // given key.
    func New(keyID string, key []byte) (KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return secretKey{
    		keyID: keyID,
    		key:   key,
    	}, nil
    }
    
    // secretKey is a KMS implementation that derives new DEKs
    // from a single key.
    type secretKey struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. internal/crypto/doc.go

    //
    // SSE-S3 can use either a master key or a KMS as root-of-trust.
    // The en/decryption slightly depens upon which root-of-trust is used.
    //
    // ### SSE-S3 and single master key
    //
    // The master key is used to derive unique object- and key-encryption-keys.
    // SSE-S3 with a single master key works as SSE-C where the master key is
    // used as the client-provided key.
    //
    //  1. Encrypt:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Viewed (0)
  4. internal/crypto/metadata.go

    	// MetaIV is the random initialization vector (IV) used for
    	// the MinIO-internal key derivation.
    	MetaIV = "X-Minio-Internal-Server-Side-Encryption-Iv"
    
    	// MetaAlgorithm is the algorithm used to derive internal keys
    	// and encrypt the objects.
    	MetaAlgorithm = "X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm"
    
    	// MetaSealedKeySSEC is the sealed object encryption key in case of SSE-C.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. internal/config/drive/help.go

    package drive
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	// MaxTimeout is the max timeout for drive
    	MaxTimeout = "max_timeout"
    	// HelpDrive is help for drive
    	HelpDrive = config.HelpKVS{
    		config.HelpKV{
    			Key:         MaxTimeout,
    			Type:        "string",
    			Description: "set per call max_timeout for the drive, defaults to 2 minutes",
    			Optional:    true,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 27 17:15:06 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    const (
    	Bitrot       = "bitrotscan"
    	Sleep        = "max_sleep"
    	IOCount      = "max_io"
    	DriveWorkers = "drive_workers"
    
    	EnvBitrot       = "MINIO_HEAL_BITROTSCAN"
    	EnvSleep        = "MINIO_HEAL_MAX_SLEEP"
    	EnvIOCount      = "MINIO_HEAL_MAX_IO"
    	EnvDriveWorkers = "MINIO_HEAL_DRIVE_WORKERS"
    )
    
    var configMutex sync.RWMutex
    
    // Config represents the heal settings.
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/disk/stat_bsd.go

    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. internal/logger/utils.go

    	}
    }
    
    // logIgnoreError if true,the error will ignore.
    func logIgnoreError(err error) bool {
    	return err == nil || errors.Is(err, context.Canceled) || errors.Is(err, http.ErrServerClosed) || err.Error() == "drive not found"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 04 23:10:08 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. internal/disk/type_windows.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"path/filepath"
    	"syscall"
    	"unsafe"
    )
    
    // GetVolumeInformation provides windows drive volume information.
    var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW")
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(path string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    		t.Fatal("addr2line output must have 2 lines")
    	}
    	funcname = f[0]
    	pathAndLineNo := f[1]
    	f = strings.Split(pathAndLineNo, ":")
    	if runtime.GOOS == "windows" && len(f) == 3 {
    		// Reattach drive letter.
    		f = []string{f[0] + ":" + f[1], f[2]}
    	}
    	if len(f) != 2 {
    		t.Fatalf("no line number found in %q", pathAndLineNo)
    	}
    	return funcname, f[0], f[1]
    }
    
    const symName = "cmd/addr2line.TestAddr2Line"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top