Skip to main content

Module privacy

Module privacy 

Source
Expand description

Privacy-preserving linear algebra.

Differential-privacy releases use caller-owned output buffers. BFV keys and ciphertexts deliberately live outside the 48-byte semantic datum ABI; a HeCiphertextRef is the fixed-size reference that crosses that boundary.

Structs§

BfvCiphertext
Ciphertext object owned at the crypto boundary.
BfvEngine
One BFV key/evaluation context using parameters selected for ~128-bit security.
DifferentialPrivacy
Differential-privacy release engine with explicit total budget.
HeCiphertextRef
Fixed-size ABI reference to a ciphertext held in an external bounded store.
HomomorphicKey
Heap-free key metadata. Secret/public/evaluation key bytes stay in the HE backend.
HomomorphicKeyManager
Fixed-capacity metadata registry. Key material is never copied into this table.
HomomorphicOperations
HE capability facade. Construct BfvEngine explicitly when the feature is enabled; key generation is intentionally not hidden inside LinearAlgebraLibrary::new().
KeyRotationPolicy
Rotation policy for externally managed HE keys.
OsNoise
Operating-system cryptographic entropy.
PrivacyAccountant
Stateful accountant. Fields remain scalar so charging performs no allocation.
PrivacyBudget
A total and remaining (ε,δ) budget.
PrivacyEngine
Privacy engine for secure linear algebra.
SecureAggregation

Enums§

AggregationProtocol
Secure aggregation protocols supported by BFV packed arithmetic.
CompositionMethod
Privacy-loss composition used by PrivacyAccountant.
HeError
HeScheme
HomomorphicKeyType
Homomorphic scheme selected for exact linear algebra.
HomomorphicOperation
Operations implemented by the configured HE backend.
NoiseMechanism
Noise mechanisms with implemented calibration and sampling.
PrivacyError

Constants§

MAX_BFV_PACKED_SLOTS
MAX_SERIALIZED_HE_CONTEXT_BYTES

Traits§

NoiseSource
Source of cryptographic noise bytes.

Functions§

decode_fixed_point_into
Decode fixed-point integers into a caller-owned floating-point buffer.
encode_fixed_point_into
Quantize finite floating-point values into a caller-owned fixed-point buffer.