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§
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-coreandpoulpy-haloperations, the default dispatch target of theimpl_<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 throughmhe_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-mhetest against$backend. - mhe_
parity_ test_ suite - Declares the
poulpy-mheparity suite ofbackend_testagainstbackend_ref.