Skip to content

Commit

Permalink
last bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tyurek committed Dec 11, 2024
1 parent 9f62a4a commit e69a1ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions ipa-core/src/report/hybrid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ where
let breakdown_key =
Replicated::<BK>::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 })
}
Expand Down Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions ipa-core/src/test_fixture/hybrid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,6 @@ where
HybridReport::Conversion::<BK, V>(HybridConversionReport {
match_key: match_key_share,
value: value_share,
/*info: HybridConversionInfo::new(
key_id,
&conversion_site_domain,
timestamp,
epsilon,
sensitivity,
)
.unwrap(),*/
})
})
.collect::<Vec<_>>()
Expand Down

0 comments on commit e69a1ee

Please sign in to comment.