Class RingGSWAccumulator
Defined in File rgsw-acc.h
Page Contents
Inheritance Relationships
Derived Types
public lbcrypto::RingGSWAccumulatorCGGI
(Class RingGSWAccumulatorCGGI)public lbcrypto::RingGSWAccumulatorDM
(Class RingGSWAccumulatorDM)public lbcrypto::RingGSWAccumulatorLMKCDEY
(Class RingGSWAccumulatorLMKCDEY)
Class Documentation
-
class lbcrypto::RingGSWAccumulator
Inheritence diagram for lbcrypto::RingGSWAccumulator:
Ring GSW accumulator schemes described in https://eprint.iacr.org/2014/816, https://eprint.iacr.org/2020/086 and https://eprint.iacr.org/2022/198.
Subclassed by lbcrypto::RingGSWAccumulatorCGGI, lbcrypto::RingGSWAccumulatorDM, lbcrypto::RingGSWAccumulatorLMKCDEY
Public Functions
-
RingGSWAccumulator() = default
Key generation for internal Ring GSW
- Parameters
params – a shared pointer to RingGSW scheme parameters
skNTT – secret key polynomial in the EVALUATION representation
LWEsk – the secret key
- Returns
a shared pointer to the resulting keys
Main accumulator function used in bootstrapping
- Parameters
params – a shared pointer to RingGSW scheme parameters
ek – the accumulator key
acc – previous value of the accumulator
a – value to update the accumulator with
The signed digit decomposition which takes an RLWE ciphertext input and outputs a vector of its digits, i.e., an RLWE’ ciphertext
- Parameters
params – a shared pointer to RingGSW scheme parameters
input – input RLWE ciphertext
output – output RLWE’ ciphertext
The signed digit decomposition which takes a ring element input and outputs a vector of its digits, i.e., decompose(a) = (a_0, …, a_{d-1}) = R^d. Only for automorphism key switching LMKCDEY
- Parameters
params – a shared pointer to RingGSW scheme parameters
input – input ring element
output – decomposed value
-
RingGSWAccumulator() = default