Skip to main content

Module api

Module api 

Source
Expand description

Safe, user-facing trait definitions for Module-LWE operations.

Traits are organized by operation family:

  • automorphism – Galois automorphisms on ciphertexts and automorphism keys.
  • conversion – conversions between ciphertext representations.
  • decryption – secret-key decryption operations.
  • encryption – secret/public-key encryption and evaluation-key generation.
  • external_product – GLWE/GGLWE/GGSW external products.
  • keyswitching – LWE/GLWE/GGLWE/GGSW key-switching.
  • noise – runtime noise measurement helpers for ciphertexts.
  • operations – arithmetic helpers, packing, trace, and tensoring.

Scheme authors can program against these traits directly. Execution is dispatched through the crate::oep backend extension points by blanket implementations in the (private) delegates module.

Traits§

DeclaredK
EncryptionInfos
GGLWECompressedEncryptSk
GGLWEEncryptSk
GGLWEExternalProduct
GGLWEKeyswitch
GGLWENoise
GGLWEToGGSWKeyCompressedEncryptSk
GGLWEToGGSWKeyEncryptSk
GGSWAutomorphism
GGSWCompressedEncryptSk
GGSWEncryptSk
GGSWExpandRows
GGSWExternalProduct
GGSWFromGGLWE
GGSWKeyswitch
GGSWNoise
GGSWRotate
GLWEAdd
GLWEAutomorphism
GLWEAutomorphismKeyAutomorphism
GLWEAutomorphismKeyCompressedEncryptSk
GLWEAutomorphismKeyEncryptPk
GLWEAutomorphismKeyEncryptSk
GLWECompressedEncryptSk
GLWECopy
GLWEDecrypt
GLWEEncryptPk
GLWEEncryptSk
GLWEExpandLWE
GLWEExternalProduct
GLWEExternalProductInternal
GLWEFromLWE
GLWEKeyswitch
GLWEMulConst
GLWEMulPlain
GLWEMulXpMinusOne
GLWENegate
GLWENoise
GLWENormalize
GLWEPacking
GLWEPublicKeyGenerate
GLWERotate
GLWEShift
GLWESub
GLWESwitchingKeyCompressedEncryptSk
GLWESwitchingKeyEncryptPk
GLWESwitchingKeyEncryptSk
GLWETensorDecrypt
GLWETensorKeyCompressedEncryptSk
GLWETensorKeyEncryptSk
GLWETensoring
GLWEToLWESwitchingKeyEncryptSk
GLWETrace
GLWEZero
LWEDecrypt
LWEEncryptSk
LWEFromGLWE
LWEKeyswitch
LWESampleExtract
LWESwitchingKeyEncrypt
LWEToGLWESwitchingKeyEncryptSk
ModuleTransfer