Skip to content

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

@nsingal

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions