Skip to main content

Crate poulpy_mhe

Crate poulpy_mhe 

Source
Expand description

§poulpy-mhe

Backend-agnostic multiparty homomorphic encryption, built from poulpy-core and poulpy-hal.

Parties exchange public aggregatable transcripts (PATs): shares any party can sum, then finalize into a key or ciphertext under the ideal secret, the sum of every party’s secret. layouts holds one type per transcript shape, api the operations on them. Every operation follows API -> delegate -> OEP; reference is the default implementation.

Re-exports§

pub use api::*;
pub use layouts::*;

Modules§

api
User-facing multiparty operation contracts.
layouts
Public aggregatable transcript (PAT) layouts, one per transcript shape, and the protocol shares built on them.
oep
Backend extension points for multiparty operations.
reference
Portable multiparty implementations composed from poulpy-core and poulpy-hal operations, the default dispatch target of the impl_<family>_reference_full! opt-ins. A backend replacing one family may keep calling these for the others.
test_suite
Backend-generic tests of poulpy-mhe, instantiated by backend crates through mhe_backend_test_suite! and, against a comparison backend, mhe_parity_test_suite!.

Macros§

impl_mhe_gglwe_pat_compressed_reference_full
Selects the reference aggregation and finalization of MHEGGLWEPatCompressed.
impl_mhe_gglwe_pat_reference_full
Selects the reference aggregation and finalization of MHEGGLWEPat.
impl_mhe_ggsw_protocol_reference_full
Selects the reference share generation and finalization; aggregation keeps its derived default.
impl_mhe_glwe_automorphism_key_protocol_reference_full
Selects the reference automorphism key share generation; aggregation and finalization keep their derived defaults.
impl_mhe_glwe_enc_to_share_protocol_reference_full
Selects the reference encryption-to-shares share generation, aggregation and finalization.
impl_mhe_glwe_pat_compressed_reference_full
Selects the reference aggregation and finalization of MHEGLWEPatCompressed.
impl_mhe_glwe_private_keyswitch_protocol_reference_full
Selects the reference private key switching share generation, aggregation and finalization.
impl_mhe_glwe_public_key_protocol_reference_full
Selects the reference share generation; aggregation and finalization keep their derived defaults.
impl_mhe_glwe_public_keyswitch_protocol_reference_full
Selects the reference public key switching share generation, aggregation and finalization.
impl_mhe_glwe_share_to_enc_protocol_reference_full
Selects the reference shares-to-encryption share generation; aggregation and finalization keep their derived defaults.
impl_mhe_glwe_switching_key_protocol_reference_full
Selects the reference switching key share generation; aggregation and finalization keep their derived defaults.
impl_mhe_glwe_tensor_key_protocol_reference_full
Selects the reference share generation; aggregation and finalization keep their derived defaults.
impl_mhe_reference_full
Selects every reference multiparty implementation for $be.
mhe_backend_test_suite
Runs every poulpy-mhe test against $backend.
mhe_parity_test_suite
Declares the poulpy-mhe parity suite of backend_test against backend_ref.