Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDecryptedRange (0.14 sec)

  1. cmd/encryption-v1.go

    	if err != nil {
    		return encryptedETag
    	}
    	etagBytes, err := objectKey.UnsealETag(encBytes)
    	if err != nil {
    		return encryptedETag
    	}
    	return hex.EncodeToString(etagBytes)
    }
    
    // GetDecryptedRange - To decrypt the range (off, length) of the
    // decrypted object stream, we need to read the range (encOff,
    // encLength) of the encrypted object stream to decrypt it, and
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    				cleanUpFns: cFns,
    			}
    			return r, nil
    		}
    
    	case isEncrypted:
    		var seqNumber uint32
    		var partStart int
    		var skipLen int64
    
    		off, length, skipLen, seqNumber, partStart, err = oi.GetDecryptedRange(rs)
    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decSize int64
    		decSize, err = oi.DecryptedSize()
    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decRangeLength int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top