api: refactor: move checksum algorithms to common

This commit is contained in:
Alex Auvolat
2025-02-16 16:44:34 +01:00
parent 2f0c5ca220
commit cee7560fc1
14 changed files with 215 additions and 171 deletions
+1 -1
View File
@@ -29,8 +29,8 @@ use garage_model::garage::Garage;
use garage_model::s3::object_table::{ObjectVersionEncryption, ObjectVersionMetaInner};
use garage_api_common::common_error::*;
use garage_api_common::signature::checksum::Md5Checksum;
use crate::checksum::Md5Checksum;
use crate::error::Error;
const X_AMZ_SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM: HeaderName =