Crate sunscreen_fhe_program

Source
Expand description

This crate contains the types for manipulating the intermediate representation for Sunscreen’s compiler backend.

Enums§

Error
Represents an error that can occur in this crate.
IRError
An error in an FheProgram.
Literal
Represents a literal value in an expression.
NodeError
An error on a node in an FheProgram.
Operation
An operation in the execution graph.
OutputType
The type of output from an Fhe Program’s graph node.
SchemeType
Sunscreen supports the BFV scheme.
SecurityLevel
Represents a standard security level according to the HomomorphicEncryption.org security standard. The value SecLevelType.None signals that no standard security level should be imposed. The value SecLevelType.TC128 provides a very high level of security and is the default security level enforced by Microsoft SEAL when constructing a SEALContext object. Normal users should not have to specify the security level explicitly anywhere.

Traits§

FheProgramTrait
Extension methods for FheProgram.
OutputTypeTrait
A trait for getting whether a node produces plaintext or ciphertext values.

Type Aliases§

FheProgram
The intermediate representation for an FHE program used in the compiler back-end.
OpName
The name of an Operation
Result
Wrapper around Result with this crate’s error type.