xanderbailey commented on code in PR #3700:
URL: https://github.com/apache/iceberg-rust/pull/3700#discussion_r4692736938
##########
crates/iceberg/src/encryption/stream.rs:
##########
@@ -144,14 +145,15 @@ pub struct AesGcmFileRead {
num_blocks: u64,
/// Size of the last cipher block (may be smaller than
`CIPHER_BLOCK_SIZE`).
last_cipher_block_size: u32,
+ /// Whether a read has checked the AGS1 header, which no block
authenticates.
+ header_checked: AtomicBool,
Review Comment:
Might get Claude to run a quick benchmark to see if this costs us
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]