- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetDecryptedRange (0.13 sec)
-
cmd/encryption-v1_test.go
}, { Number: 2, Size: 297580380, ActualSize: 297435132, }, }, } encOff, encLength, skipLen, seqNumber, partStart, err := objInfo.GetDecryptedRange(rs) if err != nil { t.Fatalf("Test: failed %s", err) } if encOff != 595127964 { t.Fatalf("Test: expected %d, got %d", 595127964, encOff) } if encLength != 32796 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
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) -
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)