Skip to content

Sending an array of CipherTexts should allow sending [encrypt(1), encrypt(2)] rather than encrypt([1,2]) #261

Description

@nsingal

pub enum FheProgramInput {
/**
* The argument is a ciphertext.
*/
Ciphertext(Ciphertext),

/**
 * The argument is a plaintext.
 */
Plaintext(Box<dyn FheProgramInputTrait>),

}

The issue is this enum here. We need to change Ciphertext(Ciphertext) to something like Ciphertext(Box). We can then impl this trait for Ciphertext and [Ciphertext; N] and I think we'll be in business. Open an issue for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions