diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-23 16:49:50 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-07 15:43:47 +0100 |
commit | 57acc60082089e1a24fd47588f6ff3cb20ed4eef (patch) | |
tree | d616a16a2225d81da6996386d19417bc04d785ac /src/model/s3/version_table.rs | |
parent | fe2dc5d51c206c21ab15d9cc93fa1d1c52d95c46 (diff) | |
download | garage-57acc60082089e1a24fd47588f6ff3cb20ed4eef.tar.gz garage-57acc60082089e1a24fd47588f6ff3cb20ed4eef.zip |
[sse-c] Implement SSE-C encryption
Diffstat (limited to 'src/model/s3/version_table.rs')
-rw-r--r-- | src/model/s3/version_table.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/model/s3/version_table.rs b/src/model/s3/version_table.rs index 5c032f9f..b4662a55 100644 --- a/src/model/s3/version_table.rs +++ b/src/model/s3/version_table.rs @@ -44,7 +44,8 @@ mod v05 { pub struct VersionBlockKey { /// Number of the part pub part_number: u64, - /// Offset of this sub-segment in its part + /// Offset of this sub-segment in its part as sent by the client + /// (before any kind of compression or encryption) pub offset: u64, } @@ -53,7 +54,7 @@ mod v05 { pub struct VersionBlock { /// Blake2 sum of the block pub hash: Hash, - /// Size of the block + /// Size of the block, before any kind of compression or encryption pub size: u64, } |