From e69a1eef3bebd933587486dad8c40283a447dd73 Mon Sep 17 00:00:00 2001 From: Thomas James Yurek Date: Tue, 10 Dec 2024 16:46:20 -0800 Subject: [PATCH] last bit --- ipa-core/src/report/hybrid.rs | 3 +-- ipa-core/src/test_fixture/hybrid.rs | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/ipa-core/src/report/hybrid.rs b/ipa-core/src/report/hybrid.rs index 0ccf815ff..c8cccd184 100644 --- a/ipa-core/src/report/hybrid.rs +++ b/ipa-core/src/report/hybrid.rs @@ -153,7 +153,6 @@ where let breakdown_key = Replicated::::deserialize(GenericArray::from_slice(&buf[mk_sz..mk_sz + bk_sz])) .map_err(|e| InvalidHybridReportError::DeserializationError("breakdown_key", e.into()))?; - //let info = HybridImpressionInfo::from_bytes(&buf[mk_sz + bk_sz..])?; Ok(Self { match_key, breakdown_key }) } @@ -183,7 +182,7 @@ where /// # Panics /// If report length does not fit in `u16`. pub fn encrypted_len(&self) -> u16 { - self.ciphertext_len() //+ u16::try_from(self.info.byte_len()).unwrap() + self.ciphertext_len() } /// # Errors diff --git a/ipa-core/src/test_fixture/hybrid.rs b/ipa-core/src/test_fixture/hybrid.rs index 2868524a2..466fa4a4c 100644 --- a/ipa-core/src/test_fixture/hybrid.rs +++ b/ipa-core/src/test_fixture/hybrid.rs @@ -171,14 +171,6 @@ where HybridReport::Conversion::(HybridConversionReport { match_key: match_key_share, value: value_share, - /*info: HybridConversionInfo::new( - key_id, - &conversion_site_domain, - timestamp, - epsilon, - sensitivity, - ) - .unwrap(),*/ }) }) .collect::>()