private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
42 stars 25 forks source link

add hybrid_protocol function, unimplemented #1375

Closed eriktaubeneck closed 1 month ago

eriktaubeneck commented 1 month ago

This creates a new function that will take in the indistinguishable reports and compute the hybrid protocol. This PR is just plumming.

It includes a bunch of trait bounds that we also have for the OPRF protocol. Given that we will be using most of the same sub-protocols, I think we'll need them all, but certainly open to feedback here if we think we should add them at a different point.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.56%. Comparing base (82f08b2) to head (a87875a). Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
ipa-core/src/protocol/hybrid/mod.rs 88.23% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1375 +/- ## ========================================== + Coverage 93.55% 93.56% +0.01% ========================================== Files 222 223 +1 Lines 36936 37003 +67 ========================================== + Hits 34554 34622 +68 + Misses 2382 2381 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.