@ -2552,6 +2552,8 @@ func (s3a *S3ApiServer) detectPrimarySSEType(entry *filer_pb.Entry) string {
}
// createMultipartSSECDecryptedReaderDirect creates a reader that decrypts each chunk independently for multipart SSE-C objects (direct volume path)
// Note: encryptedStream parameter is unused (always nil) as this function fetches chunks directly to avoid double I/O.
// It's kept in the signature for API consistency with non-Direct versions.
func ( s3a * S3ApiServer ) createMultipartSSECDecryptedReaderDirect ( ctx context . Context , encryptedStream io . ReadCloser , customerKey * SSECustomerKey , entry * filer_pb . Entry ) ( io . Reader , error ) {
// Sort chunks by offset to ensure correct order
chunks := entry . GetChunks ( )
@ -2627,6 +2629,8 @@ func (s3a *S3ApiServer) createMultipartSSECDecryptedReaderDirect(ctx context.Con
}
// createMultipartSSEKMSDecryptedReaderDirect creates a reader that decrypts each chunk independently for multipart SSE-KMS objects (direct volume path)
// Note: encryptedStream parameter is unused (always nil) as this function fetches chunks directly to avoid double I/O.
// It's kept in the signature for API consistency with non-Direct versions.
func ( s3a * S3ApiServer ) createMultipartSSEKMSDecryptedReaderDirect ( ctx context . Context , encryptedStream io . ReadCloser , entry * filer_pb . Entry ) ( io . Reader , error ) {
// Sort chunks by offset to ensure correct order
chunks := entry . GetChunks ( )