Struct sda_protocol::Aggregation [] [src]

pub struct Aggregation {
    pub id: AggregationId,
    pub title: String,
    pub vector_dimension: usize,
    pub modulus: i64,
    pub recipient: AgentId,
    pub recipient_key: EncryptionKeyId,
    pub masking_scheme: LinearMaskingScheme,
    pub committee_sharing_scheme: LinearSecretSharingScheme,
    pub recipient_encryption_scheme: AdditiveEncryptionScheme,
    pub committee_encryption_scheme: AdditiveEncryptionScheme,
}

Description of an aggregation.

Fields

Unique identifier of aggregation.

Title, e.g. explaining purpose of the aggregation.

Fixed dimension of input and output vectors.

The group in which all operations are performed.

Cryptographic primitives must be compatible with this value.

Recipient of output vector.

Encryption key to be used for encryptions intended for the recipient.

Scheme and parameters used for masking secrets between the recipient and the committee.

Scheme and parameters used for sharing masked secrets between the clerks in the committee.

Scheme and parameters used for encrypting masks for the recipient.

Scheme and parameters used for encrypting shares of masked secrets for the committee.

Trait Implementations

impl Clone for Aggregation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Aggregation
[src]

Formats the value using the given formatter.

impl PartialEq for Aggregation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Identified for Aggregation
[src]